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
@@ -146,7 +147,7 @@ class ImageEditParams < OpenAI::Internal::Type::BaseModel
146
147
#
147
148
# @param mask [Pathname, StringIO, IO, String, OpenAI::FilePart] An additional image whose fully transparent areas (e.g. where alpha is zero) ind
148
149
#
149
-
# @param model [String, Symbol, OpenAI::Models::ImageModel, nil] The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are sup
150
+
# @param model [String, Symbol, OpenAI::Models::ImageModel, nil] The model to use for image generation. Only `dall-e-2` and the GPT image models
150
151
#
151
152
# @param n [Integer, nil] The number of images to generate. Must be between 1 and 10.
152
153
#
@@ -168,7 +169,8 @@ class ImageEditParams < OpenAI::Internal::Type::BaseModel
168
169
169
170
# The image(s) to edit. Must be a supported image file or an array of images.
170
171
#
171
-
# For `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less than
172
+
# For the GPT image models (`gpt-image-1`, `gpt-image-1-mini`, and
173
+
# `gpt-image-1.5`), each image should be a `png`, `webp`, or `jpg` file less than
172
174
# 50MB. You can provide up to 16 images.
173
175
#
174
176
# For `dall-e-2`, you can only provide one image, and it should be a square `png`
@@ -188,9 +190,9 @@ module Image
188
190
end
189
191
190
192
# Allows to set transparency for the background of the generated image(s). This
191
-
# parameter is only supported for `gpt-image-1`. Must be one of `transparent`,
192
-
# `opaque` or `auto` (default value). When `auto` is used, the model will
193
-
# automatically determine the best background for the image.
193
+
# parameter is only supported for the GPT image models. Must be one of
194
+
# `transparent`, `opaque` or `auto` (default value). When `auto` is used, the
195
+
# model will automatically determine the best background for the image.
194
196
#
195
197
# If `transparent`, the output format needs to support transparency, so it should
196
198
# be set to either `png` (default value) or `webp`.
@@ -219,23 +221,23 @@ module InputFidelity
219
221
# @return [Array<Symbol>]
220
222
end
221
223
222
-
# The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are
223
-
# supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1`
224
-
# is used.
224
+
# The model to use for image generation. Only `dall-e-2` and the GPT image models
225
+
# are supported. Defaults to `dall-e-2` unless a parameter specific to the GPT
226
+
# image models is used.
225
227
moduleModel
226
228
extendOpenAI::Internal::Type::Union
227
229
228
230
variantString
229
231
230
-
# The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.
232
+
# The model to use for image generation. Only `dall-e-2` and the GPT image models are supported. Defaults to `dall-e-2` unless a parameter specific to the GPT image models is used.
0 commit comments