Docs / video / Seedance 2.5 Flash
Seedance 2.5 Flash online
Video 4–30 detik dengan audio tersinkronisasi, keluaran 480p atau 720p. Dari teks, frame awal/akhir, atau hingga 10 gambar, 5 video, dan 5 audio referensi. Mendukung referensi audio saja dengan prompt.
Rp Mulai Rp5.400 / video
Rp6.650 −18.8%
⏱ ±30–420 detik perkiraan waktu
bytedance/seedance-2-5-flash model id
4–30 detik480p & 720pAudio tersinkronisasi10 gambar + 5 video + 5 audio
1 · Create a task
Kirim permintaan untuk membuat tugas generasi video. Wajib header Idempotency-Key. Saldo direservasi sebesar estimasi; task gagal tidak ditagih.
curl -X POST https://getrun.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedance-2-5-flash",
"input": {
"prompt": "A barista makes coffee in a sunlit Jakarta cafe, slow dolly-in, morning ambience.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}'const res = await fetch('https://getrun.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "bytedance/seedance-2-5-flash",
"input": {
"prompt": "A barista makes coffee in a sunlit Jakarta cafe, slow dolly-in, morning ambience.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://getrun.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "bytedance/seedance-2-5-flash",
"input": {
"prompt": "A barista makes coffee in a sunlit Jakarta cafe, slow dolly-in, morning ambience.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
prompt |
string | No | Describe the scene. Refer to files as @Image1, @Video1 and @Audio1. (max 20480 chars) | A barista makes coffee in a sunlit Jakarta caf |
duration |
integer | No | Output duration in seconds (4–30). (min 4, max 30) | 5 |
resolution |
string | No | Opsi: 480p 720p |
720p |
web_search |
boolean | No | Use online search for text-to-video. | false |
aspect_ratio |
string | No | Frame inputs use adaptive and follow the image aspect ratio. Opsi: 16:9 4:3 1:1 3:4 9:16 21:9 adaptive |
16:9 |
nsfw_checker |
boolean | No | true |
|
output_format |
string | No | Opsi: mp4 mov |
mp4 |
generate_audio |
boolean | No | true |
|
last_frame_url |
string | No | — | |
first_frame_url |
string | No | — | |
return_last_frame |
boolean | No | false |
|
reference_audio_urls |
array | No | Up to 5 audio clips, 2–30 seconds each and 30 seconds total. Audio-only references with a prompt are supported. Refer to clips as @Audio1, @Audio2, etc. | — |
reference_image_urls |
array | No | Up to 10 images. Refer to them as @Image1, @Image2, etc. | — |
reference_video_urls |
array | No | Up to 5 videos at 480p–720p, 2–30 seconds each and 30 seconds total. Input and output seconds are billed. Refer to clips as @Video1, @Video2, etc. | — |
2 · Poll the result
Ambil status tugas hingga selesai — poll tiap 2–5 detik.
Respons saat sukses:
{
"id": "task_9f2c…",
"status": "succeeded",
"model": "bytedance/seedance-2-5-flash",
"price": {
"currency": "IDR",
"estimated": 5400,
"reserved": 5400,
"final": 5400
},
"output": {
"urls": [
"https://storage.getcore.id/outputs/task_9f2c…/0.mp4"
],
"expires_at": "(7 hari setelah selesai)"
}
}
Status values
| Status | Keterangan |
|---|---|
queued | Tugas sedang diantrikan. |
processing | Sedang diproses. |
succeeded | Berhasil. |
failed | Gagal — lihat error detail, tidak ditagih. |
video/mp4, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.Best practices
Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.
Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.
