video-edit
Happy Horse 1.0 - Edit video
Edit an existing video with natural-language instructions using Happy Horse 1.0, Alibaba's AI video editing model, optionally guided by up to 5 reference images.
Editing modes:
- Instruction-based editing: Provide prompt with editing instructions (e.g., "change the sky to sunset")
- Reference-image editing: Provide prompt and image_urls, then reference images from the prompt using @Image1..@Image5 (1-based, in array order)
Key features:
- 720P and 1080P resolution support
- Up to 5 reference images
- Output is capped at 15 seconds
- Configurable audio handling: auto (regenerate when relevant) or origin (preserve input audio)
post/v1/ai/video-edit/happy-horse-1
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/video-edit/happy-horse-1
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"webhook_url": "https://www.example.com/webhook",
"video_url": "https://example.com/input-video.mp4",
"prompt": "Replace the background with a futuristic cityscape at night",
"image_urls": [
"https://example.com/reference1.jpg"
],
"seed": 12345
}Response
OK - The task exists and the status is returned
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.