Video Projects
AI Talking Photo
Changed onCreate a talking photo video from an image and an audio file.
post/v1/ai-talking-photo
Request
- Base URLhttps://api.magichour.ai
- URLhttps://api.magichour.ai/v1/ai-talking-photo
- AuthHTTP bearer
Request body
Example request
{
"name": "My Talking Photo video",
"end_seconds": 5,
"assets": {
"image_file_path": "api-assets/id/1234.png",
"audio_file_path": "api-assets/id/1234.mp3"
},
"style": {
"generation_mode": "realistic",
"prompt": "A person smiling and speaking naturally to the camera"
},
"resolution": "480p"
}Response
Success
Example response
{
"id": "cuid-example",
"credits_charged": 450
}Changes
- warning
removed the request property
- info
added the new optional request property
- warning
- 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