cURL
curl --request POST \ --url https://api.magichour.ai/v1/ai-clothes-changer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Clothes Changer image", "assets": { "person_file_path": "api-assets/id/model.png", "garment_file_path": "api-assets/id/outfit.png", "garment_type": "upper_body" } }'
{ "id": "clx7uu86w0a5qp55yxz315r6r", "frame_cost": 25, "credits_charged": 25 }
Change outfits in photos in seconds with just a photo reference. Each photo costs 25 credits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Body
The body is of type object.
object
Success
Was this page helpful?