cURL
curl --request POST \ --url https://api.magichour.ai/v1/photo-colorizer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Photo Colorizer image", "assets": { "image_file_path": "api-assets/id/1234.png" } }'
{ "id": "clx7uu86w0a5qp55yxz315r6r", "frame_cost": 5, "credits_charged": 5 }
Colorize image. Each image costs 5 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?