AI Headshot
Generate AI Headshot
Request Headers
Parameter | Required | Type | Description |
---|---|---|---|
Content-Type | true | string | Data Tranmission Type: multipart/form-data |
Request Attributes
Parameter | Required | Type | Description |
---|---|---|---|
file | false | file | Original image uploaded (priority is given to this field). There are two methods supported to upload images. |
file_url | false | string | Original image address. There are two methods supported to upload images. |
Response Attributes
Parameter | Type | Description |
---|---|---|
code | int | 200 |
message | string | Task Remark |
data | obj | Task Object |
data.task_id | string | Task ID |
Example
Request Attributes
Response
Remarks
Remarks for more returned error codes, please check the error code descriptions on the home page.