画像のバリエーションを作ります
POST
https://api.openai.com/v1/images/variations
Request
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
image
file
required
Example:
cmMtdXBsb2FkLTE2ODc4MzMzNDc3NTEtMjc=/31225951_59371037e9_small.png
n
string
optional
Example:
2
size
string
optional
256x256
、512x512
或 之一1024x1024
。Example:
1024x1024
response_format
string
optional
url
之一b64_json
。Example:
url
user
string
optional
Request samples
Responses
Modified at 2024-12-17 03:34:00