图像编辑
POST
/v1/images/edits
本文档只展示出了一些常用的参数,如需进阶使用请参考官方文档
https://platform.openai.com/docs/api-reference/images/createEdit
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Body 参数multipart/form-data
image
file
必需
prompt
string
必需
model
string
可选
示例值:
gpt-image-1
size
string
可选
示例值:
1024x1024