Sand AI/magi-2-reference-to-video
magi-2-reference-to-video

Create videos from references with the Magi 2 API by Sand AI on Flaq AI. Combine images for appearance, clips for motion, and audio for sound in 4–30s scenes.

Reference to Video

Related Magi 2 Models

Magi 2 Reference to Video
Add audio

Total Audio duration must not exceed 30 seconds.

Upload from device
wav, mp3
0/5 Audio
Upload Images
Click or drag to upload
Supported formats: jpg, png, webp, gif
0/10 images
Add video
Upload from device
Supported formats: mp4, mov
0/5 Video
prompt
Translate
s
Try the AI Video Generator now

Try an example

Magi 2 Reference to Video Pricing

ParametersPriceOriginal PriceDiscount
Base
$0.0800 per second-Standard

README

Sand AI Magi 2 Reference-to-Video API (Multimodal Video Generation with Audio)

Sand AI Magi 2 Reference-to-Video API lets developers and creative teams steer new video generation with optional reference images, video clips, and audio tracks on Flaq AI. Mix and match visual, motion, and sound references in a single prompt—or use any reference type on its own—while controlling clip duration, aspect ratio, and native audio output.

Key Features of Magi 2 Reference-to-Video API

  • Multimodal Reference Guidance: Combine optional reference images, video clips, and audio files in one request, or supply only the reference types your scene needs.
  • Visual Identity from Images: Provide multiple reference images to carry forward character appearance, products, wardrobe, props, or setting details.
  • Motion & Pacing from Video: Supply reference video clips to inform movement, choreography, camera framing, or action timing across the generated shot.
  • Sound & Rhythm from Audio: Add reference audio files so voice characteristics, music cues, or ambient pacing help shape the output.
  • Prompt-Directed Reference Roles: Explain how each uploaded image, clip, or audio track contributes to the new scene within your written prompt.
  • Flexible Framing & Extended Duration: Choose widescreen, vertical, square, standard, or ultrawide framing, set explicit clip lengths, and toggle generated audio.

How to Use Magi 2 Reference-to-Video API on Flaq AI

  • Input: A required text prompt describing the scene and specifying how each supplied reference asset should be used.
  • Reference Media: Optionally supply reference images, video clips, or audio files as publicly accessible HTTPS URLs in supported formats within the model's per-file size and separate total-duration limits.
  • Output: Reference-guided video clips delivered via secure URLs upon completion.
  • Duration: Specify a whole number from 4 to 30 seconds for every request.
  • Aspect Ratios: Select widescreen, vertical, square, standard, or ultrawide framing, or omit to use widescreen by default.
  • Sound: Keep generated sound enabled or turn it off when producing a silent video.
  • Capabilities: Mixed-media reference synthesis, ordered prompt citation of assets, selectable framing, explicit duration control, and optional native audio.

Best Use Cases for Magi 2 Reference-to-Video API Integration

  • Character & IP Continuity: Keep a recurring character, costume, or prop consistent across new actions and locations using reference images and motion clips.
  • Product Storytelling & Demos: Pair still product photography with reference footage showing handling, angles, or lighting transitions.
  • Motion & Camera Transfer: Adapt camera movement, blocking, or performance pacing from reference clips into an original setting.
  • Audio-Informed Scenes: Use spoken clips, music snippets, or ambient recordings alongside visual references to coordinate timing and mood.
  • Scalable Multimodal Pipelines: Build customizable video workflows where users upload varied combinations of images, clips, and audio tracks.

Note Reference images, video clips, and audio files are all optional and can be combined freely. If you omit all reference media, Magi 2 generates the video from your prompt alone. Check supported file formats, size caps, and separate total duration limits for reference videos and audio before submitting. Usage is billed per second based on the requested output duration, and all prompts and assets must comply with Sand AI's content safety guidelines.

Magi 2 Reference-to-Video vs Competitors: Comparative Analysis

  • Magi 2 Reference-to-Video vs. Magi 2 Text-to-Video
    Text-to-Video generates directly from written instructions, while Reference-to-Video adds optional image, video, and audio inputs for concrete visual, motion, and sound guidance.

  • Magi 2 Reference-to-Video vs. Magi 2 Image-to-Video
    Image-to-Video animates a required first frame with an optional end frame. Reference-to-Video allows multiple optional image, video, and audio references to shape an entirely new shot.

  • Magi 2 Reference-to-Video vs. Seedance 2.5 Reference-to-Video
    Both models support mixing optional image, video, and audio references with prompt direction. Seedance 2.5 Reference-to-Video exposes selectable output resolution tiers, while Magi 2 Reference-to-Video provides Sand AI's reference workflow with explicit clip-duration control and per-second output billing.

  • Magi 2 Reference-to-Video vs. Wan Reference-to-Video
    Wan Reference-to-Video guides generation with uploaded visual references. Magi 2 Reference-to-Video supports combining images, video clips, and audio tracks in a single request alongside broad aspect ratio selection on Flaq AI.

Model Specifications for Magi 2 Reference to Video

Live parameters, supported inputs, and capabilities for Magi 2 Reference to Video on Flaq AI.

Specification
Developer
Sand AI
Model ID
magi-2-reference-to-video
Modalities & Tasks
Reference To Video
Billing Model
Per secondView pricing table ↑
Duration
4s-30s
Aspect Ratio
16:99:161:14:33:421:9
Reference image
Optionalmax: 10
Reference Video
Optionalmax: 5minDurationSeconds: 2maxDurationSeconds: 30
referenceAudios
Optionalmax: 5minDurationSeconds: 2maxDurationSeconds: 30
referenceSubjects
min: 0
Supported Features
Enable Sound

Quick Start with Magi 2 Reference to Video

  1. 1

    Step 1: Validate Inputs & Parameters in the Magi 2 Reference to Video Playground

    Try the model in the Playground before making an API request.

  2. 2

    Step 2: Prepare Your Flaq AI API Key & Pay-As-You-Go Balance

    Use one credit balance across video, image, LLM, voice, and 3D models. Purchased credits never expire. If a task fails due to a system error, your balance is not deducted.

  3. 3

    Step 3: Call the Unified Endpoint with magi-2-reference-to-video

    Copy the model ID below into your API request for Magi 2 Reference to Video.

    Read API Docs
  4. 4

    Step 4: Explore Related Models

    Explore other models from Sand AI and check their supported inputs and pricing.

Frequently Asked Questions

Everything you need to know about capabilities, pricing, failed tasks, and API usage.

What is Magi 2 Reference to Video?

Create videos from references with the Magi 2 API by Sand AI on Flaq AI. Combine images for appearance, clips for motion, and audio for sound in 4–30s scenes.

What inputs and parameters does Magi 2 Reference to Video support?

Supported tasks: Reference To Video. Available inputs and settings include Duration, Aspect Ratio, Reference image, Reference Video, referenceAudios, referenceSubjects. See the specifications for their supported values.

How is Magi 2 Reference to Video priced on Flaq AI?

Billing model: Per second. The pricing table above lists rates and the settings that determine which rate applies.

Am I charged if a generation fails?

If a task fails due to a system error, your balance will not be deducted.

How do I call Magi 2 Reference to Video through the API?

Use magi-2-reference-to-video as the model ID in your request. Refer to the API documentation for authentication and request details.

Where can I find alternatives to Magi 2 Reference to Video?

Other models include Magi 2 Text to Video, Magi 2 Image to Video. Compare their supported inputs, output settings, and pricing on their model pages.

Do credits expire and can I use outputs commercially?

Purchased credits do not expire. Commercial use of outputs is subject to Flaq AI’s terms of service and the applicable model provider’s terms.

Use the Magi 2 Reference to Video Model Directly in Powerful AI Tools

Explore several AI creation tools for quick image and video workflows in your browser, then scale successful ideas with Flaq AI's production-ready model APIs. Flaq AI provides a unified API layer for all models, making it easy to use and scale your workflows.

More Articles for Magi 2 Reference to Video