Skip to content
Halaman ini belum tersedia dalam bahasa anda, jadi kandungannya dipaparkan dalam bahasa Inggeris.
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.

Penjanaan videoVideoTugas tak segerak
ID model
seedance-2-5-flash

Harga API seedance-2-5-flash

Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.

PilihanAPISeaRasmiJimat
480P$0.06943$0.06312—
480P · dengan video input$0.04224$0.0384—
720PLalai$0.1561$0.1419—
720P · dengan video input$0.09504$0.0864—

Harga dinyatakan dalam bagi setiap saat.

Pengiraan token

Jenis tokenAPISeaRasmi
Token output bagi setiap 1M token$7.23$6.57
Token input bagi setiap 1M token$4.40$4.00

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

Sorotan 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

  1. 01

    Dapatkan API key

    Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.

  2. 02

    Tetapkan base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.

  3. 03

    Hantar permintaan

    Panggil POST /v1/videos/generations dengan "model": "seedance-2-5-flash" dan parameter di bawah.

  4. 04

    Urus respons

    Respons mengandungi task_id. Lakukan tinjauan berkala menggunakan GET /v1/tasks/{task_id} sehingga status menjadi completed, kemudian muat turun URL hasil.

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

Parameter

ParameterJenisWajibLalaiPenerangan
modelstringWajib—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_checkbooleanPilihanfalseWhether to run content moderation before submitting the video task.
promptstringWajib—Required prompt. Refer to media with `@图片1` / `@视频1` / `@音频1`; indices start at 1 and follow the order within each media array.
resolutionstringPilihan720pOnly `480p` / `720p`; default `720p`. Values such as `1080p`, `2k`, or `4k` return HTTP 400 at submission.
sizestringPilihanadaptiveAccepts `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`.
durationintegerPilihan—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_audiobooleanPilihantrueGenerate audio; defaults to `true`. Alias: `audio`. This controls output sound, separately from reference input `audio_urls`.
watermarkbooleanPilihanfalseAdd an AI-generated watermark; default `false`.
seedintegerPilihan—Optional random seed. Reusing a seed does not guarantee identical output.
output_formatstringPilihanmp4Output container: `mp4` (default) or `mov`.
omni_reference_task_typestringPilihanautoAccepts `auto` (default), `reference`, `edit`, or `extend`; only for requests with reference media. Explicit types trigger submission-time checks described below.
image_urlsstring[]Pilihan—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[]Pilihan—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[]Pilihan—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[]Pilihan—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_framebooleanPilihanfalseSet `true` to return a last-frame image after success at `data.result.videos[].last_frame_url`.
web_searchbooleanPilihanfalseAllow the model to search the web as needed; default `false`.
toolsobject[]Pilihan—Optional tools, for example `[{"type":"web_search"}]` for web search.

Perkara yang boleh anda bina 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.

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

Had dan perkara 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.

Soalan lazim 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 berkaitan

Pilihan: 250+ model · Tambah nilai minimum $50

Mula membina dengan seedance-2-5-flash

Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.