seedance-2-5-flash API 定價
所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。
| 選項 | APISea | 官方 | 節省 |
|---|---|---|---|
| 480P | $0.06943 | $0.06312 | — |
| 480P · 含輸入影片 | $0.04224 | $0.0384 | — |
| 720P預設 | $0.1561 | $0.1419 | — |
| 720P · 含輸入影片 | $0.09504 | $0.0864 | — |
價格單位為 每秒。
Token 結算
| Token 類型 | APISea | 官方 |
|---|---|---|
| 輸出 token 每 1M tokens | $7.23 | $6.57 |
| 輸入 token 每 1M tokens | $4.40 | $4.00 |
什麼是 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.
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.
4 個步驟呼叫 seedance-2-5-flash API
- 01
取得 API key
登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。
- 02
設定 base URL
在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。
- 03
傳送請求
呼叫 POST /v1/videos/generations,並使用下方的參數及 "model": "seedance-2-5-flash"。
- 04
處理回應
回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。
curl --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
}'參數
| 參數 | 類型 | 必填 | 預設 | 說明 |
|---|---|---|---|---|
model | string | 必填 | — | 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 | 選填 | false | Whether to run content moderation before submitting the video task. |
prompt | string | 必填 | — | Required prompt. Refer to media with `@图片1` / `@视频1` / `@音频1`; indices start at 1 and follow the order within each media array. |
resolution | string | 選填 | 720p | Only `480p` / `720p`; default `720p`. Values such as `1080p`, `2k`, or `4k` return HTTP 400 at submission. |
size | string | 選填 | 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 | 選填 | — | 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 | 選填 | true | Generate audio; defaults to `true`. Alias: `audio`. This controls output sound, separately from reference input `audio_urls`. |
watermark | boolean | 選填 | false | Add an AI-generated watermark; default `false`. |
seed | integer | 選填 | — | Optional random seed. Reusing a seed does not guarantee identical output. |
output_format | string | 選填 | mp4 | Output container: `mp4` (default) or `mov`. |
omni_reference_task_type | string | 選填 | 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[] | 選填 | — | 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[] | 選填 | — | 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[] | 選填 | — | 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[] | 選填 | — | 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 | 選填 | false | Set `true` to return a last-frame image after success at `data.result.videos[].last_frame_url`. |
web_search | boolean | 選填 | false | Allow the model to search the web as needed; default `false`. |
tools | object[] | 選填 | — | Optional tools, for example `[{"type":"web_search"}]` for web search. |
使用 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.
提升結果品質的技巧
- 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.
限制與須知
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.
seedance-2-5-flash API 常見問題
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.