Output resolution
Supports 480p, 720p from the published endpoint schema.
480p/720p Flash video with frame control, audio-only references, and explicit reference task types
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5-flash",
"prompt": "Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass."
}'
import { SeedanceClient } from "@runapi.ai/seedance";
const client = new SeedanceClient();
const result = await client.textToVideo.run({
model: "seedance-2.5-flash",
prompt: "Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/seedance/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"seedance-2.5-flash","prompt":"Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/seedance/text_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'seedance-2.5-flash',
'prompt' => 'Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.textToVideo().run({"model":"seedance-2.5-flash","prompt":"Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass."});
task.waitForResult();
require "runapi/seedance"
client = RunApi::Seedance::Client.new
result = client.text_to_video.run(
model: "seedance-2.5-flash",
prompt: "Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.textToVideo.Run({"model":"seedance-2.5-flash","prompt":"Generate a 10-second product reveal video: a smartphone emerges from smoke with cinematic lighting and ambient bass."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model seedance-2.5-flash \
--endpoint text_to_video \
--wait
8 versions available
Pick any model and generate in seconds.
No models are available right now.
| Provider | Bytedance |
| Model ID | seedance-2.5-flash |
| Modality | Video |
| Task types | Asynchronous |
| API endpoint | /api/v1/seedance/text_to_video |
| Billing unit | call |
| Input parameters | aspect_ratio, callback_url, duration_seconds, enable_safety_checker, first_frame_image_url, generate_audio, last_frame_image_url, model, omni_reference_task_type, output_format, output_resolution, prompt, reference_audio_urls, reference_image_urls, reference_video_urls, return_last_frame, web_search |
| Max duration | -1s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s, 16s, 17s, 18s, 19s, 20s, 21s, 22s, 23s, 24s, 25s, 26s, 27s, 28s, 29s, 30s |
| Max resolution | 480p, 720p |
| Aspect ratios | 1:1, 4:3, 3:4, 16:9, 9:16, 21:9, auto |
| Output format | mp4, mov |
| Catalog status | Operational |
Sign up for free and create an API key for seedance-2.5-flash from the dashboard.
POST to /api/v1/seedance/text_to_video with the seedance-2.5-flash model slug and your parameters.
Poll the task or follow the callback to retrieve the completed seedance-2.5-flash result.
Supports 480p, 720p from the published endpoint schema.
Configure 15 documented parameters, including aspect_ratio, duration_seconds, enable_safety_checker, first_frame_image_url, generate_audio.
Exposes 1 public endpoint(s): text_to_video.
Asynchronous tasks accept a callback URL for completion notifications.
promptVideo generation prompt; required only for pure text-to-video requests.
web_searchWhether to enrich the prompt with web search.
aspect_ratioOutput aspect ratio; frame, edit, and extend requests require auto. (1:1, 4:3, 3:4, 16:9, 9:16, 21:9, auto)
callback_urlWebhook URL for asynchronous task updates.
output_formatOutput video container format. (mp4, mov)
generate_audioWhether to generate synchronized audio.
duration_secondsVideo duration in seconds; -1 selects duration automatically. (-1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
output_resolutionOutput video resolution. (480p, 720p)
return_last_frameWhether to return the generated video's last frame.
last_frame_image_urlPublic last-frame image URL; requires first_frame_image_url.
reference_audio_urlsPublic reference audio URLs; up to 5 audio files. Audio-only references are supported.
reference_image_urlsPublic reference image URLs; up to 10 images.
reference_video_urlsPublic reference video URLs; up to 5 videos.
enable_safety_checkerWhether RunAPI checks generated content for safety.
first_frame_image_urlPublic first-frame image URL; cannot be combined with reference inputs.
omni_reference_task_typeReference mode task type. Omit for automatic detection. edit requires a reference video, auto aspect ratio, and duration_seconds -1; extend requires a reference video and auto aspect ratio. (auto, reference, edit, extend)
Generate product launch clips and short-form ads from a text brief, cutting production from weeks to hours.
Convert lesson scripts into animated explainer videos at scale without a camera or crew.
Produce viral short-form content for social platforms directly from a prompt.
Pass the model ID shown in the quickstart.
Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.
Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.
Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.
Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.
No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.
We're here to help with enterprise setup, integrations, and technical questions.
Contact Us