seedance-2-5-flash API
Generate up to 30 seconds of video with text, image, video, or audio references using Seedance on APISea.
seedance-2-5-flashHarga API seedance-2-5-flash
Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.
| Opsi | APISea | Resmi | Hemat |
|---|---|---|---|
| 480P | $0.06943 | $0.06312 | — |
| 480P · dengan video input | $0.04224 | $0.0384 | — |
| 720PDefault | $0.1561 | $0.1419 | — |
| 720P · dengan video input | $0.09504 | $0.0864 | — |
Harga dalam per detik.
Perhitungan token
| Jenis token | APISea | Resmi |
|---|---|---|
| Token output per 1 juta token | $7.23 | $6.57 |
| Token input per 1 juta token | $4.40 | $4.00 |
Apa itu seedance-2-5-flash?
ByteDance’s seedance-2-5-flash brings Seedance video generation to APISea for text-driven clips, multimodal reference workflows, editing, and extension. Generate 480p or 720p video up to 30 seconds long, using image, video, or audio references when needed. First- and last-frame inputs support frame-guided workflows, while controls cover aspect ratio, duration, generated audio, watermarking, and MP4 or MOV output. Audio-only references are also supported, without requiring images or videos.
Submit requests through APISea’s video generation endpoint and poll the returned task ID for completion. APISea provides one API key with pay-as-you-go billing only for successful requests. Listed rates vary by resolution and whether input video is supplied: 480P costs $0.06943 per second, while 720P costs $0.1561 per second. Token settlement rates are $7.23 per 1M tokens for output tokens and $4.40 per 1M tokens for input tokens.
Keunggulan seedance-2-5-flash
Multiple Generation Workflows
Generate from text or media references, edit source video, or extend existing footage. Reference task types include auto, reference, edit, and extend.
Frame-Guided Video
Supply a first frame and an optional paired last frame through image_with_roles. Enable return_last_frame to receive a last-frame image after successful generation.
Audio Input And Output
Use audio references alone or alongside other media. Generated output audio is controlled separately and is enabled by default.
Output Format Controls
Choose 480p or 720p resolution and MP4 or MOV output. Ordinary generation supports several aspect ratios, including 16:9, 1:1, and 9:16.
Cara memanggil API seedance-2-5-flash dalam 4 langkah
- 01
Dapatkan API key
Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.
- 02
Atur base URL
Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.
- 03
Kirim permintaan
Panggil POST /v1/videos/generations dengan "model": "seedance-2-5-flash" dan parameter berikut.
- 04
Tangani respons
Respons berisi task_id. Lakukan polling ke GET /v1/tasks/{task_id} sampai statusnya completed, lalu unduh URL hasilnya.
Contoh permintaan
Dokumentasi: Seedance 2.5 Flash Video Generationcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2-5-flash",
"prompt": "A cinematic shot of a fox walking through a sunlit forest, with a slow tracking camera",
"resolution": "720p",
"size": "16:9",
"duration": 8,
"generate_audio": true,
"nsfw_check": true,
"return_last_frame": true
}'Parameter
| Parameter | Jenis | Wajib | Default | Deskripsi |
|---|---|---|---|---|
model | string | Wajib | — | Use `seedance-2-5-flash`. The alias `doubao-seedance-2-5-flash` is also accepted. The dotted name `seedance-2.5-flash` is not supported. |
nsfw_check | boolean | Opsional | false | Whether to run content moderation before submitting the video task. |
prompt | string | Wajib | — | Required prompt. Refer to media with `@图片1` / `@视频1` / `@音频1`; indices start at 1 and follow the order within each media array. |
resolution | string | Opsional | 720p | Only `480p` / `720p`; default `720p`. Values such as `1080p`, `2k`, or `4k` return HTTP 400 at submission. |
size | string | Opsional | adaptive | Accepts `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `21:9`, and `adaptive` (default). Alias: `aspect_ratio`. First/last-frame, edit, and extend tasks require `adaptive`. |
duration | integer | Opsional | — | Integer seconds `4`–`30`; ordinary requests default to `5`. Use `-1` for automatic duration. Explicit `edit` only accepts `-1` or omission; omission becomes `-1` and output duration follows the source. Automatic duration reserves 30 seconds, then settles on actual token usage. |
generate_audio | boolean | Opsional | true | Generate audio; defaults to `true`. Alias: `audio`. This controls output sound, separately from reference input `audio_urls`. |
watermark | boolean | Opsional | false | Add an AI-generated watermark; default `false`. |
seed | integer | Opsional | — | Optional random seed. Reusing a seed does not guarantee identical output. |
output_format | string | Opsional | mp4 | Output container: `mp4` (default) or `mov`. |
omni_reference_task_type | string | Opsional | auto | Accepts `auto` (default), `reference`, `edit`, or `extend`; only for requests with reference media. Explicit types trigger submission-time checks described below. |
image_urls | string[] | Opsional | — | Reference image array, all treated as `reference_image`. At most 10 images combined with `image_with_roles`. Use `image_with_roles` for first and last frames. |
image_with_roles | object[] | Opsional | — | Each item has `url` and `role`. Roles: `reference_image`, `first_frame` (at most 1), or `last_frame` (at most 1, paired with a first frame). At most 10 images combined with `image_urls`; avoid conflicting roles. When `video_urls` / `audio_urls` are present, first/last frames become reference images for the multimodal task. |
video_urls | string[] | Opsional | — | At most 5 reference videos, 2–30 seconds each and at most 30 seconds combined. Source videos for editing must be 4–30 seconds. |
audio_urls | string[] | Opsional | — | At most 5 audio references, 2–30 seconds each and at most 30 seconds combined. Audio-only reference is supported; images or videos are not required. |
return_last_frame | boolean | Opsional | false | Set `true` to return a last-frame image after success at `data.result.videos[].last_frame_url`. |
web_search | boolean | Opsional | false | Allow the model to search the web as needed; default `false`. |
tools | object[] | Opsional | — | Optional tools, for example `[{"type":"web_search"}]` for web search. |
Yang bisa Anda buat dengan seedance-2-5-flash
Text-to-Video Prototypes
Build a prompt-driven interface for generating short video concepts, with selectable duration, resolution, and output format.
Reference-Based Creative Tools
Let creative teams submit image, video, and audio references together with a prompt describing the desired clip.
Video Editing Workflows
Build an editing interface around source videos and explicit edit requests. Output duration follows the source when duration is omitted or set to -1.
Frame-to-Clip Generation
Turn a supplied starting image into a video, optionally adding a target last frame. Retrieve the generated last-frame image for review or a subsequent workflow.
Tips untuk hasil yang lebih baik
- 01
Submit, Then Poll
Send POST /v1/videos/generations with your APISea Bearer key and model set to
seedance-2-5-flash. Read data[0].task_id, then poll GET /v1/tasks/{task_id}. - 02
Choose Resolution Deliberately
Resolution defaults to 720p; set it to 480p when that output size meets your needs. The listed 480P rate is $0.06943 per second, compared with $0.1561 per second for 720P.
- 03
Match Workflow Parameters
Use adaptive size for first/last-frame, edit, and extend tasks. Explicit edit requests accept only duration -1 or omission; automatic duration reserves 30 seconds before settling on actual token usage.
- 04
Identify Reference Media
Refer to media in your prompt using @图片1, @视频1, and @音频1, with indices starting at 1 in each media array. Use publicly accessible HTTP(S) URLs or approved asset:// IDs.
Batasan dan hal yang perlu diketahui
Only 480p and 720p output are supported; 1080p, 2k, 4k, and draft fields return HTTP 400.
Ordinary explicit durations must be integer seconds from 4–30; reusing a seed does not guarantee identical output.
Inputs are limited to 10 images, 5 videos, and 5 audio references, with video and audio references each capped at 30 seconds combined.
FAQ API seedance-2-5-flash
How much does seedance-2-5-flash cost on APISea?
APISea lists 480P at $0.06943 per second and 720P at $0.1561 per second; with input video, the rates are $0.04224 per second for 480P and $0.09504 per second for 720P. Token settlement rates are $7.23 per 1M tokens for output tokens and $4.40 per 1M tokens for input tokens. Billing is pay-as-you-go and only for successful requests; these prices do not represent savings against provider list prices.
How do I call seedance-2-5-flash through APISea?
Submit POST https://api.apisea.ai/v1/videos/generations with your APISea Bearer key, a required prompt, and model seedance-2-5-flash. Read data[0].task_id and poll GET https://api.apisea.ai/v1/tasks/{task_id} for completion.
Which output parameters can I control?
You can control resolution, size, duration, generated audio, watermarking, and output format. Resolution defaults to 720p, output format defaults to MP4, and generated audio defaults to enabled.
What are the video duration and reference limits?
Explicit ordinary durations range from 4–30 seconds; use -1 for automatic duration. You can supply up to 10 images across both image fields, up to 5 reference videos, and up to 5 audio references. Video and audio references must each be 2–30 seconds long, with no more than 30 seconds combined per media type.
Can I use generated videos commercially?
Commercial use is subject to the provider's terms. Check the applicable ByteDance terms and any rights or permissions associated with your input media before publishing or distributing outputs.
How does seedance-2-5-flash differ from Seedance 2.5?
The Flash name positions this model as a lighter, faster tier, but the supplied facts do not establish measured speed or quality differences. This model does not support draft or draft_task_id; the documentation directs draft-mode workflows to Seedance 2.5.
Model terkait
seedance-1-0-pro-fast
seedance-1-0-pro-quality
seedance-2.0
seedance-2.0-face
seedance-2.0-fast
seedance-2.0-fast-face
seedance-2.0-mini
seedance-2.5
Mulai berkarya dengan seedance-2-5-flash
Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.