reference-to-video
Happy Horse 1.0 - Create video from reference images
Generate a high-quality AI video guided by 1 to 9 reference images that define characters, objects or scenes using Happy Horse 1.0, Alibaba's reference-to-video model.
How to use references:
- Provide 1 to 9 reference images via image_urls
- Reference each image in the prompt by its 1-based positional index (character1, character2, ...)
- The order of image_urls matches the character index in the prompt
Key features:
- 720P and 1080P resolution support
- 5 aspect ratio options
- Duration range: 3-15 seconds
- Optional bottom-right "Happy Horse" watermark
- Prompt up to 5000 characters
post/v1/ai/reference-to-video/happy-horse-1
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/reference-to-video/happy-horse-1
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"webhook_url": "https://www.example.com/webhook",
"prompt": "character1 and character2 walk together through a sunlit forest path",
"image_urls": [
{
"url": "https://example.com/character1.jpg"
}
],
"duration": 5,
"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.