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

sandbase-ai modelsvideo generation api

sandbase-ai/magi-distilled-extend-video

Magi Distilled Extend Video is sandbase-ai's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.

Input
The text prompt to guide video generation.
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.
URL of the input video to represent the beginning of the video. If the input video 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.
Random seed for reproducibility. If None, a random seed is chosen.
The frame to begin the generation from, with the remaining frames will be treated as the prefix video. The final video will contain the frames up until this number unchanged, followed by the generated frames. The default start frame is 32 frames before the end of the video, which gives optimal results. Minimum: 0.
Allowed values: 4, 8, 16, 32.
Idle

Example output — click Run to generate your own

API README

MAGI-1 (Distilled)

MAGI-1 (Distilled) occupies the video-transformation role in the model catalog for design-system owners. Its practical value is to turn a one-off creative request into a repeatable catalog operation: an upstream service can confirm that it has prompt, submit one well-scoped job, and receive a transformed video asset for downstream approval. This positioning explains when the exact sandbase-ai/magi-distilled-extend-video route belongs in an architecture without borrowing promises from another version, tier, or task variant.

A useful acceptance workflow begins by checking the source ownership, expected result, and release checklist. The caller records required values separately from optional choices such as seed, video, resolution, start_frame, 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-extend-video measurable business context while leaving the Highlights section to explain model behavior.

Highlights

  • Distilled clip continuation. A source video and start_frame establish where the lighter extension path begins.
  • Continuation-specific prompting. The written instruction covers action after the supplied boundary instead of redescribing an opening frame.
  • Dual-axis billing. Both seconds beyond four and inference steps beyond sixteen contribute documented incremental charges.
  • Resolution and framing control. The extension keeps explicit canvas choices while using the distilled generation profile.

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 extend video and the route’s documented input contract matches assets already available in your workflow.
Keep the request reproducibleUse the required 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-extend-video.

{
  "prompt": "",
  "resolution": "720p",
  "aspect_ratio": "21:9",
  "num_inference_steps": 16
}

Technical Specs

SpecificationDetails
Model IDsandbase-ai/magi-distilled-extend-video
Execution modeasync
Task typevideo
seedinteger · optional
videostring · optional
promptstring · required
resolutionstring · optional · choices: 480p, 720p
start_frameinteger · optional · min 0
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