ByteDance
Seedance 2.5 Flash
seedance-2.5-flash/reference-to-video
The ByteDance Seedance 2.5 series video model supports text-to-video, first-frame-based generation, and multimodal reference generation, producing 4 to 30 seconds per output with a choice of 480p or 720p and synchronized audio, making it ideal for rapidly producing short advertising clips and e-commerce product videos
Try seedance-2.5-flash/reference-to-video
Input
Showcases
View all showcasesOutput
videoPricing
seedance-2.5-flash/reference-to-video per second
Overview
This is a reference-driven video generation capability: provide reference images, reference videos, and reference audio along with a prompt to generate a short video clip with an audio track. Reference materials can be referenced in order as @image1, @video1, and @audio1; it supports 480p or 720p and multiple aspect ratios from 16:9 to 21:9, with mp4 or mov output. It is designed for creators and development teams who need to carry over characters, style, and visual language, and is used for series content, creative storyboards, and multi-version asset production.
Key Highlights
- Multimodal reference input in one request — Up to 10 images, 5 videos, and 5 audio clips can be used as references, and the prompt references them in order as @image1, @video1, and @audio1.
- Set the duration yourself from 4 to 30 seconds — duration accepts an integer from 4 to 30 seconds, or -1 to determine the duration automatically; the default output is 5 seconds.
- Aspect ratio follows the reference materials — aspect_ratio includes 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, and adaptive; adaptive produces video at the ratio of the reference materials.
- Produces video with an audio track in one pass — audio generation is enabled by default, yielding synchronized dialogue, sound effects, and background audio, so the video can go directly into subsequent steps.
Capabilities
- Joint image and video references: Pass reference images and reference videos, and reference each material in the prompt to generate a new clip that continues the visuals and camera language.
- Reference audio guides sound and picture: Up to 5 reference audio clips in wav or mp3, which can be used alone without images or videos and influence the sound direction of the generated clip.
- Controllable duration and aspect ratio: duration takes an integer from 4 to 30 seconds or automatic, resolution is 480p or 720p, and aspect_ratio can be a fixed ratio or follow the materials.
- Two container outputs: Choose mp4 in output_format for normal playback, or mov for professional post-production workflows.
Use Cases
- Consistent style continuity for series shorts — Operations and content teams use the same set of reference images and reference videos to constrain characters and visual language, producing batches of short video assets with a consistent style.
- Rapid visualization of creative storyboards — Advertising and film/TV pre-production teams use reference clips plus prompts to test shots, adjusting ratio and duration to review different versions.
- Shot derivatives for product demos — Marketers use product reference images as the main material to generate short videos in multiple aspect ratios for horizontal and vertical social media placements.
- mov delivery for post-production workflows — Production teams choose mov output to import generated clips into editing software and composite them with other materials.
Limitations and Selection Advice
Reference audio supports wav and mp3, 2 to 30 seconds per clip, up to 30 seconds total; reference video supports mp4 and mov, 2 to 30 seconds per clip, up to 30 seconds total, 24 to 60 frames per second, and no more than 200 MB per file. Reference images must be no more than 30 MB each, with each side from 300 to 6000 pixels; SVG, HEIC, and HEIF are not supported. Output resolution is only 480p or 720p. prompt is required and can be up to 5000 characters; this mode cannot start without reference materials. When audio generation is disabled, the output video contains no newly added audio track. mov is intended for professional post-production; mp4 is safer for regular delivery.
ByteDance reference-driven video generation
Seedance 2.5 Flash reference-to-video
Use reference images, reference videos, and reference audio to constrain the visuals, and combine them with a prompt to generate a short video clip with an audio track; duration, resolution, and aspect ratio can all be set according to delivery needs.
- Output typeVideo (audio included by default)
- Duration range4 to 30 seconds, or automatic
- Resolution480p / 720p
- Container formatmp4 / mov
In the prompt, reference materials as @image1, @video1, and @audio1 in order; descriptions that match the material order are easier to verify against the result.
01
Capabilities
How it performs: four verifiable capabilities
The following four items correspond to material input, audio reference, output specifications, and container format; you can check each against your own materials and delivery requirements.
Multimodal reference material input
You can provide image, video, and audio references at the same time, and the prompt references specific materials in order. This suits series content that needs to carry over characters, scenes, or camera language; when checking, first confirm that each reference corresponds to the intended material.
Reference audio guides the sound
You can upload wav or mp3 reference audio, and it can also be used alone without images or videos. This suits clips that need a specified musical character or ambient tone; listen to the audio track before finalizing to see whether it matches expectations.
Output specifications can be set as needed
Duration can be an integer from 4 to 30 seconds or automatic, resolution can be 480p or 720p, and aspect ratio can be fixed or follow the materials. Before producing, identify the distribution channel first, then standardize the ratio and duration for batch use.
Dual containers: mp4 and mov
mp4 is the default choice with better compatibility, while mov is intended for professional post-production. Choose the format according to the subsequent editing software and delivery platform; after export, extract frames to check whether the visuals and audio track are in sync.
Prepare all materials first and confirm that format and duration comply with the rules, reference the materials in the prompt in order, and finally select the ratio, duration, and container format according to the channel.
02
Getting started
From reference materials to a short video with an audio track
Try it →There are three steps from organizing materials to accepting the final video; change only one type of content at a time so you can locate the source of changes.
- Number of reference imagesUp to 10
- Number of reference videosUp to 5 clips
- Number of reference audio clipsUp to 5 clips
A compliant reference material list
01
Prepare and check reference materials
Organize reference images, reference videos, and reference audio by purpose, and first confirm that each file complies with the format, size, duration, and pixel range to avoid discovering non-compliant materials only after submission.
- Prompt limit5000 characters
- Material reference method@image1 / @video1 / @audio1
A prompt that can be matched to the materials
02
Write the prompt and reference the materials
Use a sentence or paragraph to describe the desired visuals and action; when you need to cite materials, write @image1, @video1, and @audio1 in order so that each material has a clear purpose.
- Resolution480p or 720p
- Aspect ratioFixed ratio or adaptive
- Duration4 to 30 seconds or automatic
An mp4 or mov clip with an audio track
03
Set specifications and accept the video
Choose the aspect ratio and resolution according to the distribution channel, and enter a duration or leave it to automatic; audio generation is enabled by default, so keep it or disable it as needed. After receiving the result, spot-check whether the visuals continue the reference style and whether the audio track is natural.
03
Scenarios
Where to use it: three typical short videos
Unified visual continuity for series content
Use the same set of reference images and reference videos to constrain character design and visual language, and generate short videos with a similar style in batches. Before publishing, spot-check whether the color tone and composition of multiple clips have drifted, and tighten the descriptions in the prompt if necessary.
Rapid test shots for early-stage shot plans
Use existing clips as reference videos, try different shot directions with prompts, and switch aspect ratio and duration as needed. This is suitable for comparing multiple plans before formal production, focusing on whether the action transitions and pacing hold up.
Asset production for multi-aspect-ratio distribution
Generate the same content separately in horizontal, vertical, square, and other ratios, and use reference audio to unify the sound tone. Before delivery, confirm for each version whether the subject is fully framed within the aspect ratio, so that cropping does not affect information delivery.
04
Integration
Integration: call seedance-2.5-flash in your product or AI tool
One HiAPI API Key is all you need; all methods share the same account and billing.
- Create an API Key
- Choose an integration method
Pick either option on the right and copy it
- AI coding tools Recommended
Connect via MCP with commands in Claude Code, Cursor, Codex, and more
- Direct API
Your own product, backend services, automation workflows
- Not sure which to choose
Copy a message to an AI and let it choose and give you the steps
Terminal · Claude Code
claude mcp add --transport http hiapi https://mcp.hiapi.ai/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Once connected, simply tell the AI your goal and let it call seedance-2.5-flash, check task progress, and retrieve results. For configuration steps in Cursor, Codex, and other tools, see the tutorial below.
View the Agent integration tutorial →Integrate into your product via API
Use the API Key to submit a task for the current model and query the status by the returned task ID. The request parameters use the same route data as the API documentation on this page; replace the input content in the examples with your actual materials.
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5-flash/reference-to-video",
"input": {
"prompt": "…",
"duration": 5,
"resolution": "480p",
"aspect_ratio": "adaptive",
"output_format": "mp4",
"generate_audio": true,
"omni_reference_task_type": "reference"
}
}'Let AI help you choose an integration method
Please read the HiAPI documentation index at https://hiapi.ai/llms.txt. I want to use seedance-2.5-flash in my project. First, based on my use case, determine whether Remote MCP, Agent Skills, or the direct API is suitable; if necessary, ask me one key question first, then give the simplest integration steps and the configuration I need to fill in.
Copy this message to the AI tool you use, then add the project language, input materials, and expected results. It can then explain the integration method and next steps.
What's new
View changelog →- New feature seedance-2.5-flash/reference-to-video now accepts reference videos
- New model seedance-2.5-flash/reference-to-video is live
- New model seedance-2.5-flash/image-to-video is live
Frequently asked questions
View all FAQs →-
How do I choose among the three modes of Seedance 2.5 Flash?
Choose text-to-video if you are describing everything in words alone. If you already have an image with the composition you want and want to animate it, choose image-to-video: upload the first frame, and optionally also upload a last frame; the output aspect ratio follows the first frame. To keep characters, products, actions or voices consistent throughout the finished video, choose reference-to-video: up to 10 reference images, 5 reference videos and 5 reference audio clips, referenced by name in the prompt with @image1, @video1, @audio1; reference videos are good for reusing the motion and camera work of the original clip.
-
How do I set the video duration, and how is it billed?
For duration, enter an integer number of seconds from 4 to 30; the default is 5 seconds. For reference-to-video, you can also enter -1 to let the model decide the duration automatically. Billing is per second, and the unit price differs for 480p and 720p. Text-to-video, image-to-video, and reference-to-video without a reference video are billed only by the seconds of the output video; reference images and reference audio do not add extra billed seconds. When reference-to-video includes a reference video, the billed seconds are the output seconds plus the actual seconds of the reference video, and the per-second unit price for this tier is lower than when no video is included. Fixed duration is billed by the number of seconds entered; -1 automatic duration is billed by the actual duration of the finished video, rounded, with a minimum of 4 seconds. To control your budget, enter a fixed number of seconds, and trim the reference video to only the segment you need.
-
What resolutions and aspect ratios are supported?
There are only two resolution tiers, 480p and 720p, with 480p as the default. For text-to-video and reference-to-video, you can choose 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive to let the model decide; image-to-video is fixed to adaptive, and the output aspect ratio follows the first-frame image, so if you want a 9:16 portrait screen, upload a portrait first frame. If you need 1080p, this model does not support it.
-
What are the requirements for uploaded images, videos, and audio?
The first and last frames for image-to-video support jpeg, png, webp, bmp, tiff, gif, heic, and heif; each file must be under 30 MB, with each side between 300 and 6000 pixels and an aspect ratio between 0.4 and 2.5. If the aspect ratio of the last frame differs from that of the first frame, it will be center-cropped. Reference-to-video supports up to 10 reference images, in the same formats as above but not heic, heif, or svg; up to 5 reference videos, mp4 or mov, each 2 to 30 seconds long with a combined total of no more than 30 seconds, 24 to 60 fps, under 200 MB, at least 409600 total pixels, with each side between 300 and 6000 pixels and an aspect ratio between 0.4 and 2.5; and up to 5 reference audio clips, wav or mp3, each under 15 MB and 2 to 30 seconds long with a combined total of no more than 30 seconds. You may provide audio only, without images or videos.
Create a generation task
https://api.hiapi.ai/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: seedance-2.5-flash/reference-to-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for seedance-2.5-flash/reference-to-video and route default — see the parameter table below.
promptstringRequiredminLength 1maxLength 5000Creative instructions for the reference materials; refer to the supplied reference items in order as @image1, @video1, @audio1.
durationintegerOptionalDefault: 5Output video duration (seconds). Use -1 for automatic duration, or an integer between 4 and 30; default 5.
-145678910Show all (20)Show less
1112131415161718192021222324252627282930resolutionstringOptionalDefault: "480p"Output resolution; this model supports 480p and 720p; default 480p.
480p720paspect_ratiostringOptionalDefault: "adaptive"Output aspect ratio; when set to adaptive, the model follows the aspect ratio of the reference materials; default adaptive.
16:94:31:13:49:1621:9adaptiveoutput_formatstringOptionalDefault: "mp4"Output video container format; mp4 is the default for compatibility, mov is intended for professional post-production; default mp4.
mp4movgenerate_audiobooleanOptionalDefault: trueWhether to generate dialogue, sound effects, and background audio synchronized with the visuals; enabled by default.
reference_audio_urlsarrayOptionalmaxItems 5Array of reference audio URLs, up to 5 clips; each clip must be wav or mp3, under 15 MB, 2-30 seconds long, with a cumulative duration of no more than 30 seconds; audio can be used independently of images or video.
Array [ string ]
reference_image_urlsarrayOptionalmaxItems 10Array of reference image URLs, up to 10 images; supports jpeg, png, webp, bmp, tiff, and gif, each under 30 MB, 300-6000 pixels per side, aspect ratio 0.4-2.5; SVG, HEIC, and HEIF are not supported.
Array [ string ]
reference_video_urlsarrayOptionalmaxItems 5Array of reference video URLs, up to 5 clips; each clip must be mp4 or mov, with total pixels of at least 409600, frame rate 24-60 fps, under 200 MB, 2-30 seconds long, 300-6000 pixels per side, aspect ratio 0.4-2.5, with a cumulative duration of no more than 30 seconds.
Array [ string ]
omni_reference_task_typestringOptionalDefault: "reference"Reference task type; currently only reference is supported, which means generating a new clip based on reference images, reference video, and reference audio; default reference.
referencecallbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5-flash/reference-to-video",
"input": {
"prompt": "…",
"duration": 5,
"resolution": "480p",
"aspect_ratio": "adaptive",
"output_format": "mp4",
"generate_audio": true,
"omni_reference_task_type": "reference"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "seedance-2.5-flash/reference-to-video",
input: {
"prompt": "…",
"duration": 5,
"resolution": "480p",
"aspect_ratio": "adaptive",
"output_format": "mp4",
"generate_audio": true,
"omni_reference_task_type": "reference"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "seedance-2.5-flash/reference-to-video",
"input": {
"prompt": "…",
"duration": 5,
"resolution": "480p",
"aspect_ratio": "adaptive",
"output_format": "mp4",
"generate_audio": True,
"omni_reference_task_type": "reference"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.ai/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Tutorial
How to Call seedance-2.5-flash Reference-to-Video via the HiAPI API (curl + Python)
A working request, a runnable Python script, and how to handle async job polling
11 min read -
Guide
Seedance 2.5 Flash Reference-to-Video: Reference Images, Videos, Audio and How the Bill Is Counted
9 min read -
Guide
Seedance 2.5 Flash Image-to-Video: First Frame, Last Frame and Per-Second Billing
Making a still image move: parameters, price and the usual failure modes
7 min read -
Guide
Seedance 2.5 Flash Text-to-Video: Parameters, Per-Second Billing and Production Practice
From the first request to a stable pipeline: how to set parameters and how the bill adds up
8 min read
Related Models
View all models →Same Type
-
Runway Gen 4.5 Runway $0.172 /second -
Kling 3.0 Turbo Kuaishou $0.144 /second -
Vidu Q4 Preview Vidu $0.051 /second -
FLUX 3 Max Black Forest Labs $0.243 /second -
Gemini Omni 1.2 Google $0.023 /second -
HappyHorse 1.0 Alibaba $0.168 /second -
Ray 3.2 Luma $0.214 /video -
Kandinsky 6.0 Pro $1.93 /video -
P-Video 2 Pro Avatar Pruna AI $0.029 /second -
FLUX 3 Video Black Forest Labs $0.090 /second -
Wan 2.6 Flash Alibaba $0.029 /second -
Veo 3.1 Lite Google $0.060 /second