Skip to main content
POST
图片编辑任务创建

Authorizations

Authorization
string
header
required

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

Headers

Authorization
string
required

Body

multipart/form-data
model
string

模型名称

Example:

""

prompt
string

所需图像的文本描述。最大长度为 1000 个字符。

Example:

""

size
string

生成图像的大小。目前支持 1024x1024之一。

Example:

""

image
file

Response

200 - application/json

The response is of type object.