- Model ID:
magi-2 - Endpoint:
POST https://refillapi.com/v1/videos(async task) - Price
Request
Reference media, in Sand AI’s format. Each item is one of:
{"type": "reference_image", "image": {"url": "https://..."}}— up to 10{"type": "reference_video", "video": {"url": "https://..."}}— up to 5; each 2–30 s, 30 s in total{"type": "reference_audio", "audio": {"url": "https://..."}}— up to 5
{"type": "text", "text": "..."} item instead of the top-level prompt — but not both.metadata use Sand AI’s spelling (aspectRatio, generateAudio). Any other metadata field, and size, are rejected.
Text to video
First frame to video
Reference images and video
MAGI-2 is slower than most video models: plan on 10–30 minutes per task. Poll every 30 seconds or so.