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
A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse. [Learn more](/docs/usage-policies/end-user-ids).
2026
+
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
2024
2027
required:
2025
2028
- model
2026
2029
@@ -2248,7 +2251,7 @@ components:
2248
2251
type: object
2249
2252
properties:
2250
2253
image:
2251
-
description: The image to edit. Must be a valid PNG file, less than 4MB, and square.
2254
+
description: The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
2252
2255
type: string
2253
2256
format: binary
2254
2257
mask:
@@ -2266,7 +2269,6 @@ components:
2266
2269
required:
2267
2270
- prompt
2268
2271
- image
2269
-
- mask
2270
2272
2271
2273
CreateImageVariationRequest:
2272
2274
type: object
@@ -2922,9 +2924,7 @@ components:
2922
2924
model: *model_configuration
2923
2925
input:
2924
2926
description: |
2925
-
Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 2048 tokens in length.
2926
-
2927
-
Unless you are embedding code, we suggest replacing newlines (`\n`) in your input with a single space, as we have observed inferior results when newlines are present.
2927
+
Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 8192 tokens in length.
2928
2928
example: "The quick brown fox jumped over the lazy dog"
2929
2929
oneOf:
2930
2930
- type: string
@@ -3143,6 +3143,8 @@ x-oaiMeta:
3143
3143
title: Images
3144
3144
description: |
3145
3145
Given a prompt and/or an input image, the model will generate a new image.
3146
+
3147
+
Related guide: [Image generation](/docs/guides/images)
0 commit comments