You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/openai/resources/images.py
+6-24Lines changed: 6 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -168,10 +168,7 @@ def edit(
168
168
If `transparent`, the output format needs to support transparency, so it should
169
169
be set to either `png` (default value) or `webp`.
170
170
171
-
input_fidelity: Control how much effort the model will exert to match the style and features,
172
-
especially facial features, of input images. This parameter is only supported
173
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
174
-
`low`. Defaults to `low`.
171
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
175
172
176
173
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
177
174
indicate where `image` should be edited. If there are multiple images provided,
@@ -285,10 +282,7 @@ def edit(
285
282
If `transparent`, the output format needs to support transparency, so it should
286
283
be set to either `png` (default value) or `webp`.
287
284
288
-
input_fidelity: Control how much effort the model will exert to match the style and features,
289
-
especially facial features, of input images. This parameter is only supported
290
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
291
-
`low`. Defaults to `low`.
285
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
292
286
293
287
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
294
288
indicate where `image` should be edited. If there are multiple images provided,
@@ -398,10 +392,7 @@ def edit(
398
392
If `transparent`, the output format needs to support transparency, so it should
399
393
be set to either `png` (default value) or `webp`.
400
394
401
-
input_fidelity: Control how much effort the model will exert to match the style and features,
402
-
especially facial features, of input images. This parameter is only supported
403
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
404
-
`low`. Defaults to `low`.
395
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
405
396
406
397
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
407
398
indicate where `image` should be edited. If there are multiple images provided,
@@ -1055,10 +1046,7 @@ async def edit(
1055
1046
If `transparent`, the output format needs to support transparency, so it should
1056
1047
be set to either `png` (default value) or `webp`.
1057
1048
1058
-
input_fidelity: Control how much effort the model will exert to match the style and features,
1059
-
especially facial features, of input images. This parameter is only supported
1060
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
1061
-
`low`. Defaults to `low`.
1049
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
1062
1050
1063
1051
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
1064
1052
indicate where `image` should be edited. If there are multiple images provided,
@@ -1172,10 +1160,7 @@ async def edit(
1172
1160
If `transparent`, the output format needs to support transparency, so it should
1173
1161
be set to either `png` (default value) or `webp`.
1174
1162
1175
-
input_fidelity: Control how much effort the model will exert to match the style and features,
1176
-
especially facial features, of input images. This parameter is only supported
1177
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
1178
-
`low`. Defaults to `low`.
1163
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
1179
1164
1180
1165
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
1181
1166
indicate where `image` should be edited. If there are multiple images provided,
@@ -1285,10 +1270,7 @@ async def edit(
1285
1270
If `transparent`, the output format needs to support transparency, so it should
1286
1271
be set to either `png` (default value) or `webp`.
1287
1272
1288
-
input_fidelity: Control how much effort the model will exert to match the style and features,
1289
-
especially facial features, of input images. This parameter is only supported
1290
-
for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
1291
-
`low`. Defaults to `low`.
1273
+
input_fidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
1292
1274
1293
1275
mask: An additional image whose fully transparent areas (e.g. where alpha is zero)
1294
1276
indicate where `image` should be edited. If there are multiple images provided,
0 commit comments