Seedance 2.5
Ringkasan
Pengenal model: seedence-2.5 · Keluaran: video · Mode: Text to video, Reference images, Video references
Autentikasi dan endpoint
Semua permintaan dikirim ke https://genjutsu.top. Kirim kunci API Genjutsu sebagai bearer token. POST https://genjutsu.top/v1/media/generate · Authorization: Bearer $GENJUTSU_API_KEY · Scope yang diperlukan: generate, read, assets
Mode dan parameter
Text to video t2v
| Parameter | Tipe | Wajib | Default | Detail |
|---|---|---|---|---|
prompt | string | Wajib | - | Describe the scene, action and camera. Address reference images as @Image1, @Image2, etc. |
duration | salah satu dari | Opsional | 5 |
|
resolution | salah satu dari | Opsional | 720 | Output shorter-edge resolution.
|
Permintaan minimal
curl -X POST "https://genjutsu.top/v1/media/generate" \
-H "Authorization: Bearer $GENJUTSU_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "seedence-2.5",
"mode": "t2v",
"params": {
"prompt": "A lighthouse on a rocky cliff at golden hour, soft clouds, cinematic light"
}
}'Permintaan dengan parameter opsional
curl -X POST "https://genjutsu.top/v1/media/generate" \
-H "Authorization: Bearer $GENJUTSU_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "seedence-2.5",
"mode": "t2v",
"params": {
"audio": true,
"prompt": "A lighthouse on a rocky cliff at golden hour, soft clouds, cinematic light",
"duration": 5,
"resolution": 720,
"aspect_ratio": "9:16"
}
}'Reference images i2v
| Parameter | Tipe | Wajib | Default | Detail |
|---|---|---|---|---|
prompt | string | Wajib | - | Describe the scene, action and camera. Address reference images as @Image1, @Image2, etc. |
images_list | daftar ID aset image | Wajib | - | Up to 30 JPG/PNG/WEBP images, at most 20 MB each. Real human faces may be automatically redrawn as pencil sketches. |
reference_videos | daftar ID aset video | Opsional | - | Up to 3 video references; each 2–15 seconds and at most 50 MB. Used for reference conditioning, not a promised edit or extension mode. |
reference_audios | daftar ID aset audio |
Video references v2v
| Parameter | Tipe | Wajib | Default | Detail |
|---|---|---|---|---|
prompt | string | Wajib | - | Describe the scene, action and camera. Address reference images as @Image1, @Image2, etc. |
images_list | daftar ID aset image | Opsional | - | Up to 30 JPG/PNG/WEBP images, at most 20 MB each. Real human faces may be automatically redrawn as pencil sketches. |
reference_videos | daftar ID aset video | Wajib | - | Up to 3 video references; each 2–15 seconds and at most 50 MB. Used for reference conditioning, not a promised edit or extension mode. |
reference_audios | daftar ID aset audio |
Siklus tugas
Kirim permintaan ke POST /v1/media/generate. Server membalas 202 dengan task_id. Polling GET /v1/media/tasks/{task_id} setiap 5 detik sampai is_final bernilai true: statusnya lalu succeeded, failed, atau cancelled dan task yang sama memuat hasil (outputs) atau galat (error_code dan error_message). Mengirim ulang dengan Idempotency-Key yang sama mengembalikan task asli. ID dan URL pada respons hanya ilustrasi.
# Needs curl and jq.
# 1. Submit. The response is 202 with task_id, state and credits_held.
ID=$(curl -s -X POST "https://genjutsu.top/v1/media/generate" \
-H "Authorization: Bearer $GENJUTSU_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "seedence-2.5",
"mode": "t2v",
"params": {
"prompt": "A lighthouse on a rocky cliff at golden hour, soft clouds, cinematic light"
}
}' | jq -r .task_id)
echo "task: $ID"
# 2. Poll every 5 seconds until is_final is true (state is then succeeded, failed or cancelled).
while true; do
TASK=$(curl -s "https://genjutsu.top/v1/media/tasks/$ID" -H "Authorization: Bearer $GENJUTSU_API_KEY")
echo "state: $(echo "$TASK" | jq -r .state)"
[ "$(echo "$TASK" | jq -r .is_final)" = "true" ] && break
sleep 5
done
# 3. The final task carries the result: outputs[].url when succeeded, error_code and error_message when failed.
echo "$TASK" | jq '{state, outputs, error_code, error_message, credits}'Harga
Text to video
| Opsi | Total |
|---|---|
Resolution: 480p | 8.000000 kredit per permintaan |
Resolution: 720p | 12.000000 kredit per permintaan |
Resolution: 1080p | 20.000000 kredit per permintaan |
Reference images
| Opsi | Total |
|---|---|
Resolution: 480p | 8.000000 kredit per permintaan |
Resolution: 720p | 12.000000 kredit per permintaan |
Resolution: 1080p | 20.000000 kredit per permintaan |
Video references
| Opsi | Total |
|---|---|
Resolution: 480p | 8.000000 kredit per permintaan |
Resolution: 720p | 12.000000 kredit per permintaan |
Resolution: 1080p | 20.000000 kredit per permintaan |
Untuk total pasti, gunakan Studio atau POST /v1/quotes.
Versi dan catatan
Versi dokumentasi 5, diterbitkan 2026-11-27.