Image Projects
AI Headshot Generator
Changed onCreate a 4:5 AI headshot. Each headshot costs 50 credits.
post/v1/ai-headshot-generator
Request
- Base URLhttps://api.magichour.ai
- AuthHTTP bearer
Request body
Example request
{
"name": "My Ai Headshot image",
"style": {
"prompt": "Professional studio headshot with soft lighting and a neutral background"
},
"assets": {
"image_file_path": "api-assets/id/1234.png"
}
}Response
Success
Example response
{
"id": "cuid-example",
"credits_charged": 50
}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
added the non-success response with the status
- info