1921 1921
1922 - `input_fidelity: optional "high" or "low" or null`1922 - `input_fidelity: optional "high" or "low" or null`
1923 1923
1924 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.1924 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
1925 1925
1926 - `"high"`1926 - `"high"`
1927 1927
2989 2989
2990 - `input_fidelity: optional "high" or "low" or null`2990 - `input_fidelity: optional "high" or "low" or null`
2991 2991
2992 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.2992 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
2993 2993
2994 - `"high"`2994 - `"high"`
2995 2995
5799 5799
5800 - `input_fidelity: optional "high" or "low" or null`5800 - `input_fidelity: optional "high" or "low" or null`
5801 5801
5802 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.5802 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
5803 5803
5804 - `"high"`5804 - `"high"`
5805 5805
6232 6232
6233### Returns6233### Returns
6234 6234
6235- `Response object { id, access_programs, created_at, 34 more }`6235- `Response object { id, access_programs, created_at, 35 more }`
6236 6236
6237 - `id: string`6237 - `id: string`
6238 6238
8198 8198
8199 - `input_fidelity: optional "high" or "low" or null`8199 - `input_fidelity: optional "high" or "low" or null`
8200 8200
8201 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.8201 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
8202 8202
8203 - `"high"`8203 - `"high"`
8204 8204
9266 9266
9267 - `input_fidelity: optional "high" or "low" or null`9267 - `input_fidelity: optional "high" or "low" or null`
9268 9268
9269 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.9269 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
9270 9270
9271 - `"high"`9271 - `"high"`
9272 9272
12152 12152
12153 - `input_fidelity: optional "high" or "low" or null`12153 - `input_fidelity: optional "high" or "low" or null`
12154 12154
12155 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.12155 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
12156 12156
12157 - `"high"`12157 - `"high"`
12158 12158
13064 13064
13065 - `input_fidelity: optional "high" or "low" or null`13065 - `input_fidelity: optional "high" or "low" or null`
13066 13066
13067 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.13067 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
13068 13068
13069 - `"high"`13069 - `"high"`
13070 13070
15083 15083
15084 - `input_fidelity: optional "high" or "low" or null`15084 - `input_fidelity: optional "high" or "low" or null`
15085 15085
15086 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1` and `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.15086 Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.
15087 15087
15088 - `"high"`15088 - `"high"`
15089 15089
15997 15997
15998 - `"high"`15998 - `"high"`
15999 15999
16000 - `tool_usage: optional object { image_gen, web_search }`
16001
16002 Usage reported by hosted tools, separate from base model `usage`. The field
16003 can be omitted when tool usage is unavailable. When present, tool families
16004 with no recorded usage have zero counts.
16005
16006 `image_gen` sums available token counts across image generation calls.
16007 Calls with missing or incomplete usage records may be skipped. Output
16008 token details and cached input counts can be omitted. An omitted cache
16009 count means cache usage is unknown.
16010
16011 `web_search.num_requests` counts billable searches. Discounted searches
16012 and actions such as opening a page are excluded. Use billing records to
16013 reconcile final charges.
16014
16015 - `image_gen: object { input_tokens, input_tokens_details, output_tokens, 4 more }`
16016
16017 Aggregated usage statistics for image generation tool calls.
16018
16019 - `input_tokens: number`
16020
16021 The number of tokens (images and text) in the input prompt.
16022
16023 - `input_tokens_details: object { image_tokens, text_tokens }`
16024
16025 The input tokens detailed information for the image generation.
16026
16027 - `image_tokens: number`
16028
16029 The number of image tokens in the input prompt.
16030
16031 - `text_tokens: number`
16032
16033 The number of text tokens in the input prompt.
16034
16035 - `output_tokens: number`
16036
16037 The number of output tokens generated by the model.
16038
16039 - `total_tokens: number`
16040
16041 The total number of tokens (images and text) used for the image generation.
16042
16043 - `cached_tokens: optional number`
16044
16045 - `cached_tokens_details: optional object { cached_image_tokens, cached_text_tokens }`
16046
16047 - `cached_image_tokens: number`
16048
16049 - `cached_text_tokens: number`
16050
16051 - `output_tokens_details: optional object { image_tokens, text_tokens }`
16052
16053 The output token details for the image generation.
16054
16055 - `image_tokens: number`
16056
16057 The number of image output tokens generated by the model.
16058
16059 - `text_tokens: number`
16060
16061 The number of text output tokens generated by the model.
16062
16063 - `web_search: object { num_requests }`
16064
16065 Aggregated billable usage statistics for web search tool calls.
16066
16067 - `num_requests: number`
16068
16069 The number of billable web search requests issued.
16070
16000 - `top_logprobs: optional number or null`16071 - `top_logprobs: optional number or null`
16001 16072
16002 An integer between 0 and 20 specifying the maximum number of most likely16073 An integer between 0 and 20 specifying the maximum number of most likely
16132 },16203 },
16133 "total_tokens": 38016204 "total_tokens": 380
16134 },16205 },
16206 "tool_usage": {
16207 "image_gen": {
16208 "input_tokens": 0,
16209 "input_tokens_details": {
16210 "text_tokens": 0,
16211 "image_tokens": 0
16212 },
16213 "output_tokens": 0,
16214 "output_tokens_details": {
16215 "text_tokens": 0,
16216 "image_tokens": 0
16217 },
16218 "total_tokens": 0
16219 },
16220 "web_search": {
16221 "num_requests": 0
16222 }
16223 },
16135 "user": null,16224 "user": null,
16136 "metadata": {},16225 "metadata": {},
16137 "conversation": {16226 "conversation": {