Skip to content
Trang này chưa có bản dịch sang ngôn ngữ của bạn, nên hiện đang được hiển thị bằng tiếng Anh.
ByteDance · Seedance

seedance-2-5-flash API

Generate up to 30 seconds of video with text, image, video, or audio references using Seedance on APISea.

Tạo videoVideoTác vụ bất đồng bộ
ID model
seedance-2-5-flash

Bảng giá API seedance-2-5-flash

Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.

Tùy chọnAPISeaChính thứcTiết kiệm
480P$0.06943$0.06312—
480P · có video đầu vào$0.04224$0.0384—
720PMặc định$0.1561$0.1419—
720P · có video đầu vào$0.09504$0.0864—

Giá tính theo mỗi giây.

Cách tính token

Loại tokenAPISeaChính thức
Token đầu ra mỗi 1M token$7.23$6.57
Token đầu vào mỗi 1M token$4.40$4.00

seedance-2-5-flash là gì?

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.

Điểm nổi bật của 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.

Cách gọi API seedance-2-5-flash trong 4 bước

  1. 01

    Tạo API key

    Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.

  2. 02

    Đặt base URL

    Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.

  3. 03

    Gửi request

    Gọi POST /v1/videos/generations với "model": "seedance-2-5-flash" và các tham số bên dưới.

  4. 04

    Xử lý phản hồi

    Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.

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
}'

Tham số

Tham sốLoạiBắt buộcMặc địnhMô tả
modelstringBắt buộc—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_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the video task.
promptstringBắt buộc—Required prompt. Refer to media with `@图片1` / `@视频1` / `@音频1`; indices start at 1 and follow the order within each media array.
resolutionstringTùy chọn720pOnly `480p` / `720p`; default `720p`. Values such as `1080p`, `2k`, or `4k` return HTTP 400 at submission.
sizestringTùy chọnadaptiveAccepts `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`.
durationintegerTùy chọn—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_audiobooleanTùy chọntrueGenerate audio; defaults to `true`. Alias: `audio`. This controls output sound, separately from reference input `audio_urls`.
watermarkbooleanTùy chọnfalseAdd an AI-generated watermark; default `false`.
seedintegerTùy chọn—Optional random seed. Reusing a seed does not guarantee identical output.
output_formatstringTùy chọnmp4Output container: `mp4` (default) or `mov`.
omni_reference_task_typestringTùy chọnautoAccepts `auto` (default), `reference`, `edit`, or `extend`; only for requests with reference media. Explicit types trigger submission-time checks described below.
image_urlsstring[]Tùy chọn—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_rolesobject[]Tùy chọn—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_urlsstring[]Tùy chọn—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_urlsstring[]Tùy chọn—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_framebooleanTùy chọnfalseSet `true` to return a last-frame image after success at `data.result.videos[].last_frame_url`.
web_searchbooleanTùy chọnfalseAllow the model to search the web as needed; default `false`.
toolsobject[]Tùy chọn—Optional tools, for example `[{"type":"web_search"}]` for web search.

Bạn có thể xây dựng gì với 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.

Mẹo để có kết quả tốt hơn

  • 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.

Giới hạn và những điều cần biết

  • 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.

Câu hỏi thường gặp về 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 liên quan

Hệ sinh thái gồm 250+ mô hình · Nạp tối thiểu $50

Bắt đầu xây dựng với seedance-2-5-flash

Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.