seedinteger
Random seed for reproducible results. Omit or use -1 for a random seed.
Minimum: -1
Maksimum: 4294967295
bytedance/seedance/2.0/text-to-videoByteDance's most advanced text-to-video model delivering cinematic output, native audio, multi-shot editing, and director-level camera control for professional-grade video creation.
Coba model ini
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Preferensi manusia
Peringkat Elo dari voting buta berdampingan, dibandingkan dengan model gambar dan video lainnya.
Peringkat bersumber dari Artificial Analysis Arena
Arena teks-ke-video (tanpa suara): pengguna memilih yang lebih baik dari dua klip dari prompt yang sama, tanpa melihat nama model; audio tidak dinilai.
Seedance 2.0 text-to-video, ByteDance's flagship video model with native audio, multi-shot storytelling, and precise camera control. Write the scene, including dialogue and sound, and get back a 4β15 second clip.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | β | Up to 50,000 characters. |
duration | auto / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 | 5 | Output length in seconds (4β15), or auto to let the model choose. |
aspect_ratio | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 21:9 | 16:9 | Output frame shape. |
resolution | 480p / 720p / 1080p / 4k | 720p | Sets the per-second rate. |
generate_audio | boolean | true | Native dialogue, music, and effects. Same price on or off. |
seed | integer -1β4294967295 | random | Fix it to compare prompt changes; -1 is random. |
You pay for output seconds: $0.12 at 480p, $0.24 at 720p, $0.60 at 1080p, $1.20 at 4k. Audio is included. With duration: "auto" the quote assumes 15 seconds and the final charge uses the generated length.
| Output | 480p | 720p | 1080p | 4k |
|---|---|---|---|---|
| 4s | $0.48 | $0.96 | $2.40 | $4.80 |
| 5s (default) | $0.60 | $1.20 | $3.00 | $6.00 |
| 10s | $1.20 | $2.40 | $6.00 | $12.00 |
| 15s | $1.80 | $3.60 | $9.00 | $18.00 |
Failed runs are not charged.
Other Seedance 2.0 endpoints and tiers: bytedance/seedance/2.0/image-to-video, bytedance/seedance/2.0/reference-to-video, bytedance/seedance/2.5/text-to-video, bytedance/seedance/2.0/fast/text-to-video, bytedance/seedance/2.0/mini/text-to-video.
Mulai membangun
Kirim model ini melalui SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "bytedance/seedance/2.0/text-to-video",
"prompt": "Photorealistic style: Under a clear blue sky, a vast expanse of white daisy fields stretches out. The camera gradually zooms in and finally fixates on a close-up of a single daisy, with several glistening dewdrops resting on its petals.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
seedintegerRandom seed for reproducible results. Omit or use -1 for a random seed.
Minimum: -1
Maksimum: 4294967295
promptstringwajibThe text prompt to generate a video from.
Default: "Photorealistic style: Under a clear blue sky, a vast expanse of white daisy fields stretches out. The camera gradually zooms in and finally fixates on a close-up of a single daisy, with several glistening dewdrops resting on its petals."
durationnilaiOutput duration in seconds (4-15), or `auto` to let the model pick a length from the prompt and inputs. `auto` is pre-authorized at 15 seconds and billed on the actual output length.
Default: 5
Nilai yang mungkin: "auto", 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
resolutionstringThe resolution of the video to generate.
Default: "720p"
Nilai yang mungkin: "480p", "720p", "1080p", "4k"
aspect_ratiostringOutput aspect ratio. Defaults to 16:9.
Default: "16:9"
Nilai yang mungkin: "16:9", "9:16", "1:1", "4:3", "3:4", "21:9"
generate_audiobooleanGenerate a synchronized audio track. Pricing is the same either way.
Default: true
{
"model": "bytedance/seedance/2.0/text-to-video",
"prompt": "Photorealistic style: Under a clear blue sky, a vast expanse of white daisy fields stretches out. The camera gradually zooms in and finally fixates on a close-up of a single daisy, with several glistening dewdrops resting on its petals.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
Belum ada contoh output yang dipublikasikan. Gunakan Playground β Result β JSON setelah run selesai untuk melihat respons Anda.