Head Swap
Swap a head onto a body image. Each image costs 10 credits. Output resolution depends on your subscription; you may set max_resolution lower than your plan maximum if desired.
Request body
Example request
{
"name": "My Head Swap image",
"max_resolution": 1024,
"assets": {
"body_file_path": "api-assets/id/1234.png",
"head_file_path": "api-assets/id/5678.png"
}
}Response
Success
Example response
{
"id": "cuid-example",
"credits_charged": 10
}Changes
Changed in 2 of the 58 revisions of this API.9
- ○
added the non-success response with the status
response-non-success-status-added
- ○
removed the
Not Foundenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
Unauthorizedenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○