Skip to main content
POST
图片生成任务创建

Authorizations

Authorization
string
header
required

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

Headers

Content-Type
string
required
Authorization
string
required

Body

application/json
model
string
required

模型名称

prompt
string
required

提示词

size
string
required

规格大小,目前支持: 1024x1024,

Response

200 - application/json

The response is of type object.