Image Projects
Head Swap
Changed onSwap 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.
post/v1/head-swap
Request
- Base URLhttps://api.magichour.ai
- URLhttps://api.magichour.ai/v1/head-swap
- AuthHTTP bearer
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
- info
added the non-success response with the status
- info
removed the
Not Foundenum value from theresponse property for the response status - info
removed the
Unauthorizedenum value from theresponse property for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
endpoint added
- info