Docs / video / Seedance 2.0 Mini
Seedance 2.0 Mini online
The most affordable Seedance 2.0 variant. Quick social-ready clips with start/end frames and reference guidance.
Rp Mulai Rp3.080 / video
Rp5.180 −40.5%
bytedance/seedance-2-mini model id
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://run.getcore.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-mini",
"input": {
"prompt": "First-person kitchen baking vlog, slight wide-angle, immersive handheld feel, no faces shown throughout, only hands and arms visible, perspective reference @Image 1. Shot 1: Overhead view, two hands open a cookbook on the kitchen island, the page content is @Image 2, morning light streams in, slight shaky documentary feel. Shot 2: Camera pointing straight down, two hands knead, press, and fold dough on a floured countertop, flour scattering, close-up textured details. Shot 3: Two hands lift the prepared unbaked apple pie up to the camera for display, apple pie reference @Image 3. Shot 4: Black screen with countdown text: “200°C 30mins”. Shot 5: Return to first-person perspective, two hands pick up the freshly baked steaming apple pie, golden flaky crust, warm lighting atmosphere.",
"resolution": "720p",
"aspect_ratio": "16:9"
}
}'const res = await fetch('https://run.getcore.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-mini",
"input": {
"prompt": "First-person kitchen baking vlog, slight wide-angle, immersive handheld feel, no faces shown throughout, only hands and arms visible, perspective reference @Image 1. Shot 1: Overhead view, two hands open a cookbook on the kitchen island, the page content is @Image 2, morning light streams in, slight shaky documentary feel. Shot 2: Camera pointing straight down, two hands knead, press, and fold dough on a floured countertop, flour scattering, close-up textured details. Shot 3: Two hands lift the prepared unbaked apple pie up to the camera for display, apple pie reference @Image 3. Shot 4: Black screen with countdown text: “200°C 30mins”. Shot 5: Return to first-person perspective, two hands pick up the freshly baked steaming apple pie, golden flaky crust, warm lighting atmosphere.",
"resolution": "720p",
"aspect_ratio": "16:9"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://run.getcore.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "bytedance/seedance-2-mini",
"input": {
"prompt": "First-person kitchen baking vlog, slight wide-angle, immersive handheld feel, no faces shown throughout, only hands and arms visible, perspective reference @Image 1. Shot 1: Overhead view, two hands open a cookbook on the kitchen island, the page content is @Image 2, morning light streams in, slight shaky documentary feel. Shot 2: Camera pointing straight down, two hands knead, press, and fold dough on a floured countertop, flour scattering, close-up textured details. Shot 3: Two hands lift the prepared unbaked apple pie up to the camera for display, apple pie reference @Image 3. Shot 4: Black screen with countdown text: “200°C 30mins”. Shot 5: Return to first-person perspective, two hands pick up the freshly baked steaming apple pie, golden flaky crust, warm lighting atmosphere.",
"resolution": "720p",
"aspect_ratio": "16:9"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
prompt |
string | No | The text prompt or description for the video. (max 20000 chars) | First-person kitchen baking vlog, slight wide- |
duration |
integer | No | Video duration in seconds. (min 4, max 15) | 15 |
resolution |
string | No | The output video resolution. Opsi: 480p 720p |
720p |
web_search |
boolean | No | Use online search | false |
aspect_ratio |
string | No | The aspect ratio of the generated video. Opsi: 16:9 4:3 1:1 3:4 9:16 21:9 adaptive |
16:9 |
nsfw_checker |
boolean | No | A configurable parameter. Defaults to true in the Playground. | true |
generate_audio |
boolean | No | Whether to generate AI audio synchronized with the video. | true |
last_frame_url |
string | No | End frame image (file URL) | — |
first_frame_url |
string | No | Start frame image (file URL) | — |
reference_audio_urls |
array | No | A list of input audio URLs. Furthermore, the total length of the three audios must not exceed 15 seconds. (array of file URLs) | — |
reference_image_urls |
array | No | A list of input image URLs. (array of file URLs) | — |
reference_video_urls |
array | No | A list of input video URLs. Furthermore, the total length of the three videos must not exceed 15 seconds. (array of file URLs) | — |
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-mini",
"price": {
"currency": "IDR",
"estimated": 3080,
"reserved": 3080,
"final": 3080
},
"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.
