Skip to main content
POST
绘图

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

所需图像的文本描述

model
string
required

模型名称

size
string
required

生成图像的大小,格式为“长x宽”

Response

200 - application/json

成功响应

created
integer
data
object[]