Video Projects
AI UGC Ad Generator
Changed onCreate a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL.
post/v1/ai-ugc-ad
Request
- Base URLhttps://api.magichour.ai
- URLhttps://api.magichour.ai/v1/ai-ugc-ad
- AuthHTTP bearer
Request body
Example request
{
"assets": {
"image_file_path": "api-assets/id/image.jpg"
},
"script": "Meet your new everyday essential.",
"end_seconds": 4
}Response
Success
Example response
{
"id": "cuid-example",
"credits_charged": 450
}Changes
- info
endpoint added
- info