Bytedance Seedance 2.0 Mini Image To Video API Documentation
Playground
Try it on WaveSpeedAI!Seedance 2.0 Mini Image to Video is ByteDance’s faster, lower-cost image-to-video model for cinematic multi-shot videos. It turns reference images and optional text prompts into narrative sequences with AI camera control, consistent characters across scenes, 480P / 720P / 1080P / 4K output, 4-15s duration, and flexible aspect ratios. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
ByteDance Seedance 2.0 Mini Image-to-Video generates a video from a start image and a text prompt. Upload an image, describe the scene, action, camera movement, and mood, then choose resolution, duration, aspect ratio, and optional audio generation settings.
Why Choose This?
-
Image-to-video generation
Turn a start image into a video guided by your prompt. -
Prompt-guided motion control
Describe the scene, action, camera movement, and mood for the generated video. -
Optional last-frame guidance
Providelast_imageto guide the final frame or video continuation direction. -
Native audio generation
Generate synchronized audio together with the output video usinggenerate_audio. -
Flexible aspect ratios
Choose from16:9,9:16,4:3,3:4,1:1, and21:9, or let the output adapt to the input image. -
Resolution options
Generate videos in480p,720p,1080p, or4k.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Describe the scene, action, camera movement, and mood for the video. |
| image | Yes | Start image URL to guide the video generation. |
| last_image | No | Last frame image URL for video continuation. |
| aspect_ratio | No | Output aspect ratio: 16:9, 9:16, 4:3, 3:4, 1:1, or 21:9. If not specified, adapts to the input image. |
| resolution | No | Output video resolution: 480p, 720p, 1080p, or 4k. Default: 720p. |
| duration | No | Duration of the generated video in seconds. Range: 4–15. Default: 5. |
| enable_web_search | No | Enable web search for real-time information. Default: false. |
| generate_audio | No | Whether to generate native audio synchronized with the output video. Default: true. |
How to Use
- Write your prompt — Describe the scene, subject, action, camera movement, and mood.
- Upload the start image — Provide the image that should guide the first frame and visual direction.
- Add a last image optional — Use
last_imagewhen you want to guide the final frame or continuation target. - Choose aspect ratio optional — Select a supported aspect ratio, or leave it empty to adapt to the input image.
- Choose resolution — Select
480p,720p,1080p, or4k. - Set duration — Choose a duration between
4and15seconds. - Configure audio optional — Keep
generate_audioenabled for synchronized native audio, or disable it if audio is not needed. - Submit — Generate the final video.
Example Prompt
A cinematic shot of the character slowly walking through a neon-lit street at night, soft rain falling, reflections on the wet pavement, gentle handheld camera movement, atmospheric lighting, calm but dramatic mood.
Writing Effective Prompts
The input image sets the first frame — your prompt directs what happens from there. The clearer the motion and camera direction, the better the result.
1. Start from the frame
Describe the action that begins from your image: what the subject does, where it goes, how the camera moves. Don’t re-describe what’s already visible in the image — build on it.
The woman in the photo turns from the window and walks toward the camera; slow push-in, warm interior light.
2. Shot-by-shot timeline
For longer clips, break the motion into timed segments (1-second granularity), continuous, no gaps.
> 0-2s: She turns from the window, a faint smile forming. Camera holds. > 2-5s: She walks toward the lens and stops mid-frame; slow push-in, shallow focus. > 5-8s: She glances off-screen as light shifts from warm to cool. Handheld drift.
3. Consistency notes
Lock the look for the whole clip: camera style, lighting, palette, atmosphere, audio.
Camera language
Write these directly; the model understands them:
- Shot size — extreme wide, wide, medium, medium close-up, close-up
- Movement — push in, pull out, pan, track, follow, orbit, tilt up, handheld shake
- Angle — low angle, overhead, eye-level, first-person
- Techniques — one-shot / long take, dolly zoom, bullet time, speed ramp
For a niche term, add a plain-language gloss: “rack focus: the sharp foreground softens as the background comes into focus.”
Referencing uploaded assets
When you attach images, videos, or audio, bind each one explicitly in the prompt by its upload order — @image1, @video1, @audio1 — and say what it’s for. Don’t rely on labels drawn inside the image itself.
- “The knight in @image1 walks through the castle in @image2.”
- “Refer to @video1 for the camera movement only; keep its shot order.”
- “@image1 and @image2 are Character 1, voiced by @audio1.”
When a reference is already accurate, just point to it — no need to re-describe it in detail.
Negative control
Positive descriptions work best, but you can suppress subtitles and audio:
- “No subtitles.”
- “No BGM — ambient and action sounds only.”
- “No audio.”
Weak vs. strong
| prompt | |
|---|---|
| weak | make it move |
| strong | The parked car in the image pulls out and drives down the wet street. 0-3s: headlights flick on, the car eases forward, reflections rippling on the asphalt. 3-6s: it accelerates past the camera, which pans to follow. Low angle, neon reflections, light rain, cinematic night mood. Engine and rain sounds, no music. |
Pricing
Per 5 Seconds
| Resolution | Cost |
|---|---|
| 480p | $0.30 |
| 720p | $0.60 |
| 1080p | $1.50 |
| 4k | $3.00 |
Per Second
| Resolution | Cost |
|---|---|
| 480p | $0.06 |
| 720p | $0.12 |
| 1080p | $0.30 |
| 4k | $0.60 |
Example Costs
| Resolution | 4s | 5s | 10s | 15s |
|---|---|---|---|---|
| 480p | $0.24 | $0.30 | $0.60 | $0.90 |
| 720p | $0.48 | $0.60 | $1.20 | $1.80 |
| 1080p | $1.20 | $1.50 | $3.00 | $4.50 |
| 4k | $2.40 | $3.00 | $6.00 | $9.00 |
Best Use Cases
- Image-to-video animation — Generate motion from a single start image.
- Cinematic short clips — Create short video scenes with camera movement, mood, and synchronized audio.
- Start-and-end-frame guidance — Use
imageandlast_imageto guide the beginning and ending of the video. - Social media content — Generate vertical, square, landscape, or ultra-wide video formats.
- Creative prototyping — Test scene ideas, motion concepts, and visual directions from a reference image.
Pro Tips
- Use a clear start image with the main subject visible.
- Use
last_imagewhen the final frame or ending direction matters. - Keep prompts focused on visible motion, camera behavior, lighting, and mood.
- Use
480pfor quick testing,720pfor standard output,1080pfor higher-resolution results, and4kfor maximum-resolution output. - Keep
generate_audioenabled when you want the video to include synchronized native audio. - Choose an aspect ratio that matches your final format, such as
9:16for vertical content or16:9for widescreen video.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"enable_web_search": false,
"generate_audio": true
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/bytedance/seedance-2.0-mini/image-to-video" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Describe the scene, action, camera movement, and mood for the video. | |
| image | string | Yes | - | Start image URL to guide the video generation. | |
| last_image | string | No | - | - | Last frame image URL for video continuation. |
| aspect_ratio | string | No | - | 16:9, 9:16, 4:3, 3:4, 1:1, 21:9 | The aspect ratio of the generated video. If not specified, adapts to the input image. |
| resolution | string | No | 720p | 480p, 720p, 1080p, 4k | The output video resolution. |
| duration | integer | No | 5 | 4 ~ 15 | The duration of the generated video in seconds (4-15s). |
| enable_web_search | boolean | No | false | - | Enable web search for real-time information. |
| generate_audio | boolean | No | true | - | Whether to generate native audio synchronized with the output video. Defaults to true. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Task status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses. |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Status: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |