Skip to main content
POST
Seedance 2.5 Pro 480p - Create video from text or image

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
prompt
string
required

Text prompt describing the video to generate. To use references, mention them as @Image1, @Video1, @Audio1, ... matching the 1-indexed order of each reference array. Maximum 40000 characters. Prompts longer than 5,000 characters are accepted, but results may become less predictable.

Maximum string length: 40000
Example:

"A cinematic shot of a cat walking through a neon-lit alley at night"

webhook_url
string<uri>

URL to receive a webhook notification when the video generation task completes. The webhook payload includes the task ID and status.

image
string<byte>

Optional image to use as the first frame for image-to-video generation. Accepts a publicly accessible URL or a base64-encoded image. Mutually exclusive with reference_images and reference_videos.

image_end
string<byte>

Optional image to use as the last frame for image-to-video generation. Requires image. When provided together with image, the model generates a transition video between the first and last frame. Mutually exclusive with reference_images and reference_videos.

reference_images
string<byte>[]

Up to 30 reference images (subjects, characters, products or style references). Each item is a publicly accessible URL or a base64-encoded image. Reference them in the prompt using @Image1, @Image2, ... @Image30 (1-indexed to the array order). Mutually exclusive with image and image_end.

Maximum array length: 30
reference_videos
string[]

Up to 10 reference videos. Each item must be a publicly accessible HTTPS URL or a video upload file_id (upl_vid_...). Reference them in the prompt using @Video1, @Video2, ... @Video10 (1-indexed to the array order). Each video must be MP4 or MOV, 2 to 30 seconds, 24 to 60 fps, no larger than 200 MB, with 409600 to 8295044 pixels and an aspect ratio from 0.4 to 2.5. Combined duration must not exceed 30 seconds. Mutually exclusive with image and image_end.

Maximum array length: 10
Example:
reference_audios
string<uri>[]

Up to 10 reference audios (2-60s each, mp3 or wav). Each item is a publicly accessible URL: unlike reference_images, this field does not take upload file_ids. Reference them in the prompt using @Audio1, @Audio2, ... @Audio10 (1-indexed to the array order).

The audio is not copied into the video. The model composes its own soundtrack, guided by the rhythm and character of what you send: a 120 BPM reference produces a soundtrack at that tempo, but it is a new recording, not your file muxed into the result. A reference with a clear beat, music or speech gives the model something to follow; a flat tone or near-silence does not.

Maximum array length: 10
task_type
enum<string>

How the reference videos are used. Setting any value requires at least one reference video; without one the request is rejected with 400. When the field is omitted, a request WITH reference videos behaves as reference, and a request without them is plain generation (the field plays no part). reference generates a NEW video guided by the references. edit modifies the source video named in the prompt: the output keeps that video's aspect ratio and duration, so duration must be omitted and aspect_ratio must be omitted or adaptive; billing uses the measured duration of the longest reference video as the output seconds, plus the usual reference-video surcharge. extend continues the source video: the output is the generated continuation and lasts duration seconds (default 5) with the source video's aspect ratio, so aspect_ratio must be omitted or adaptive; billing uses duration plus the reference surcharge. auto lets the model infer the task from the prompt; the request is sent exactly as given, with no server-side defaults for duration or aspect_ratio, and when duration is omitted billing assumes the output follows the longest reference video. Requests that violate these constraints are rejected with 400 and the offending field named in invalid_params, before any credits are consumed.

Available options:
auto,
reference,
edit,
extend
duration
integer

Video duration in seconds. Any integer from 4 to 30. When omitted the server applies 5, with two exceptions: with task_type: edit the field must not be sent at all (the output keeps the source video's duration; sending it returns 400), and with task_type: auto no default is applied (nothing is dispatched and the model decides). The default is applied server-side, not declared in the schema, so generated clients no longer auto-fill it — the API behaviour for an omitted value is unchanged.

Required range: 4 <= x <= 30
aspect_ratio
enum<string>

Output video aspect ratio, per task. Text-to-video and reference-to-video generation: defaults to widescreen_16_9; adaptive pins no ratio and lets the model choose from the prompt and references. Image-to-video (image first frame): ignored — the output inherits the start frame's ratio. task_type: edit or extend: the output always follows the source video's ratio, so the field must be omitted or adaptive; any fixed value returns 400.

Available options:
adaptive,
film_horizontal_21_9,
widescreen_16_9,
classic_4_3,
square_1_1,
traditional_3_4,
social_story_9_16,
film_vertical_9_21
camera_fixed
boolean
default:false

When true, the camera position stays fixed (tripod shot). When false, the model may apply natural camera movements.

camera_motion
enum<string>

Optional camera movement to guide the shot. Each value is expanded into a descriptive instruction appended to the prompt.

Available options:
static,
moveLeft,
moveRight,
moveUp,
moveDown,
pushIn,
pullOut,
zoomIn,
zoomOut,
panLeft,
panRight,
tiltUp,
tiltDown,
truckLeft,
truckRight,
pedestalUp,
pedestalDown,
superDollyIn,
superDollyOut,
crashZoomIn,
crashZoomOut,
doubleDolly,
jibUp,
jibDown,
craneUp,
craneDown,
craneOverTheHead,
orbitLeft,
orbitRight,
360Orbit,
leftCircling,
rightCircling,
leftWalking,
rightWalking,
upwardTilt,
downwardTilt,
fisheye,
overhead,
objectPov,
whipPan,
dutchAngle,
dirtyLens,
lensCrack,
lensFlare,
focusChange,
lowShutter,
fpvDrone,
handheld,
headTracking,
snorricam,
stageLeft,
stageRight,
scenicShot,
carChasing,
throughObjectIn,
timelapseHuman,
timelapseLandscape
multishot
object[]

Optional multishot sequence of up to 6 shots. When provided, the shots drive the generation and replace the top-level prompt (which is still required). If any shot has a duration, all shots must have one and the durations must sum to duration.

Maximum array length: 6
seed
integer
default:-1

Random seed for reproducible video generation. Use -1 for a random seed.

Required range: -1 <= x <= 4294967295
sound_effects
boolean
default:true

Whether to generate native audio (sound effects and ambience) for the video.

no_music
boolean
default:false

Suppress background music in the generated native audio. Only applies when sound_effects is enabled.

output_format
enum<string>
default:mp4

Container format of the generated video. mov trades file size for colour fidelity; mp4 is the default.

Available options:
mp4,
mov
enable_safety_checker
boolean
default:true

Enable content safety filtering to ensure generated videos comply with safety guidelines.

Response

OK - The task exists and the status is returned

data
object
required
Example: