Skip to main content
POST
Generate

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Headshots Generate Param Accept

可用选项:
application/json

请求体

application/json
mode
enum<string>
默认值:fast
必填

Headshots Generate Mode

可用选项:
fast,
relax
template
enum<string>
必填

Headshots Generate Template

可用选项:
male_portrait,
male_portrait2,
kindergarten,
logo_tshirt,
wedding,
business_photo,
bob_suit,
female_portrait
image_urls
string[]
必填

Headshots Generate Image Urls

callback_url
string

Headshots Generate Callback Url

async
boolean

Headshots Generate Async

响应

Headshots Generate Response 200

data
object[]

Headshots Generate Response 200 Data

success
boolean

Headshots Generate Response 200 Success

task_id
string

Headshots Generate Response 200 Task Id