SandBase is live — $1 in free credits on signupStart free ›

sandbase-ai modelsvideo generation api

sandbase-ai/magi-distilled

Magi Distilled by sandbase-ai - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

Input
The text prompt to guide video generation.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of the input image to represent the first frame of the video. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit. Allowed values: 480p, 720p.
Number of inference steps for sampling. Higher values give better quality but take longer. Allowed values: 4, 8, 16, 32.
96192
Number of frames to generate. Must be between 96 and 192 (inclusive). Each additional 24 frames beyond 96 incurs an additional billing unit. Range: 96 to 192.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Random seed for reproducibility. If None, a random seed is chosen.
Idle

Example output — click Run to generate your own

API README

MAGI-1 (Distilled)

MAGI-1 (Distilled) occupies the generated-video role in the model catalog for design-system owners. Its practical value is to make endpoint selection explicit before implementation begins: an upstream service can confirm that it has prompt, image, submit one well-scoped job, and receive a rendered video asset for downstream approval. This positioning explains when the exact sandbase-ai/magi-distilled route belongs in an architecture without borrowing promises from another version, tier, or task variant.

A low-risk adoption path begins by checking the test fixture, quality bar, and delivery contract. The caller records required values separately from optional choices such as seed, num_frames, resolution, aspect_ratio, num_inference_steps, runs a small representative sample, and stores the route name with the resulting artifact. Reviewers then compare that artifact with the agreed acceptance criteria, document any rejected setup, and promote only a successful request shape into larger batches. This workflow gives sandbase-ai/magi-distilled measurable business context while leaving the Highlights section to explain model behavior.

Highlights

  • Distilled image animation. A required still anchors a streamlined MAGI sequence-generation path.
  • Lower base duration charge. Four seconds start at the distilled rate, with a smaller documented increment afterward.
  • Step-sensitive billing. Requests above sixteen inference steps add the precise surcharge recorded in the model card.
  • Frame and canvas controls. Frame count, aspect ratio, and resolution define the distilled render’s temporal and spatial shape.

Pricing

Billing optionPrice
Billing formula0.32 + Math.max(0, params.duration - 4) * 0.08 + Math.max(0, params.inference_steps - 16) * (0.32 / 16)
Catalog base price$0.320000

When to Use

ScenarioWhy it fits
Choose MAGI-1 (Distilled)Use it when the job specifically calls for magi distilled and the route’s documented input contract matches assets already available in your workflow.
Keep the request reproducibleUse the required image, prompt explicitly, then record optional choices alongside the prompt for repeatable reruns.
Build controlled creative variationsChange one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions.
Integrate asynchronous deliveryUse this endpoint when an application can submit work, track completion, and collect the returned media URL instead of requiring an immediate inline artifact.
Validate before a large batchRun representative prompts and source assets first, confirm the visual or audio behavior, then lock the successful request shape for scaled production.

Prompt Guide

Lead with the subject or transformation, then add the composition, environment, style, lighting, motion, voice, or fidelity details relevant to this route. Keep every parameter inside the documented schema; the example below uses only fields declared for sandbase-ai/magi-distilled.

{
  "image": "https://raw.githubusercontent.com/painebenjamin/pointy-seeds/refs/heads/main/captain-start.jpg",
  "prompt": "Close-up shot: the old sea captain stares intently, pipe in mouth, wisps of smoke curling around his weathered face. The camera begins to pull back out over the ocean. Finally, the camera sinks below the waves deeply, fading to dark blue and finally to black.",
  "resolution": "720p",
  "aspect_ratio": "21:9",
  "num_inference_steps": 16
}

Technical Specs

SpecificationDetails
Model IDsandbase-ai/magi-distilled
Execution modeasync
Task typevideo
seedinteger · optional
imagestring · required
promptstring · required
num_framesinteger · optional · min 96 · max 192
resolutionstring · optional · choices: 480p, 720p
aspect_ratiostring · optional · choices: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
num_inference_stepsinteger · optional · choices: 4, 8, 16, 32

Related Models

More Models by sandbase-ai