Bytedance Seedance 2.5 Video Extend API Documentation
Playground
Try it on WaveSpeedAI!Seedance 2.5 (Video-Extend) extends an input video with a new cinematic continuation generated from its last frame and a natural-language prompt. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Features
Seedance 2.5 Video Extend appends a new cinematic continuation to an existing video. The model continues from the ending of the input video, using the recent motion and audio context to generate a coherent new segment that preserves movement, subject continuity, and sound flow.
Why Choose This?
-
Seamless video continuation
Generate a new segment that continues naturally from the end of the source video. -
Motion and scene continuity
Use the input video’s ending context to preserve subject movement, camera direction, and scene flow. -
Prompt-guided extension
Describe what should happen next, including action, lighting, camera movement, mood, and atmosphere. -
Native audio synchronization
Generate synchronized audio for the extended segment while preserving the original video’s audio. -
Flexible resolution options
Choose480p,720p,1080p, or4kdepending on quality and cost needs.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Describe the cinematic continuation, including action, camera movement, lighting, mood, and scene progression. |
| video | Yes | Input video URL. The model continues from the ending of the video, using up to the last 30 seconds as context. |
| duration | No | Length in seconds of the new segment. Range: 4–30. Default: 5. |
| resolution | No | Output resolution: 480p, 720p, 1080p, or 4k. Default: 720p. |
| generate_audio | No | Generate synchronized audio for the output video. Default: true. |
How to Use
- Upload the input video — Provide the source video you want to extend.
- Write the continuation prompt — Describe what should happen after the original ending.
- Set duration — Choose the length of the new segment from
4to30seconds. - Choose resolution — Select
480p,720p,1080p, or4k. - Configure audio optional — Keep
generate_audioenabled when synchronized audio is needed. - Submit — Generate the final output with the original video and new segment joined together.
Writing Effective Prompts
Extension continues your source video forward or backward. Your prompt describes what happens in the new footage — the model matches the existing look and motion.
Direct the continuation
Use a continuation trigger (continue, extend forward, extend backward) and describe the new action.
- “Continue the video: the character walks off-screen to the right as the camera pans to follow.”
- “Extend backward: before the scene begins, show the same character entering the room and sitting down.”
Keep it continuous
Describe motion, camera, and pacing that flow naturally from where the source leaves off — abrupt changes break the seam. For longer extensions, use a timed shot list.
> 0-3s: The bee lifts off the flower, the camera following in a slow macro pull-back. > 3-5s: It drifts to a second flower and lands; pollen catches the light as it settles.
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.”
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 longer |
| strong | Continue the video for 5 more seconds: the surfer rides the wave to shore, then steps off the board onto wet sand as the camera pulls back to a wide shot. Match the existing golden-hour light and handheld motion. Ocean and wind sounds, no music. |
Pricing
Pricing is based on the combined duration of reference duration + new segment duration.
The reference duration is calculated from the input video context, clamped to 2–30 seconds. The new segment duration is controlled by the duration parameter.
| Resolution | Per second |
|---|---|
| 480p | $0.11 |
| 720p | $0.22 |
| 1080p | $0.55 |
| 4k | $1.10 |
Example Costs: 10s Source + 5s Extension
| Resolution | Cost |
|---|---|
| 480p | $1.65 |
| 720p | $3.30 |
| 1080p | $8.25 |
| 4k | $16.50 |
Example Costs: 30s Source + 10s Extension
| Resolution | Cost |
|---|---|
| 480p | $4.40 |
| 720p | $8.80 |
| 1080p | $22.00 |
| 4k | $44.00 |
Best Use Cases
- Scene continuation — Extend an existing clip with a coherent new segment.
- Story progression — Continue character action, camera movement, and atmosphere from the original ending.
- Ad creative extension — Expand short campaign clips into longer variants.
- Social media content — Generate longer versions of short videos for different platforms.
- Creative prototyping — Test alternate continuations from the same source video.
Pro Tips
- Use a source video with a clear ending frame and stable final motion.
- Describe what should happen next instead of restating the full original video.
- Mention subject action, camera direction, lighting, atmosphere, and sound cues.
- Use
480por720pfor iteration and1080por4kfor higher-quality output. - Keep the input video focused on the part you want to continue from.
- Native audio generation is included for the new segment, and the original video’s audio is preserved.
Related Models
- Seedance 2.5 Image-to-Video — Generate video from a start image and prompt.
- Seedance 2.5 Video Edit — Edit an existing video with a prompt.
- Seedance 2.0 Video Extend — Previous-generation Seedance video extension model.
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",
"video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
"resolution": "720p",
"duration": 5,
"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.5/video-extend" \
-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 cinematic continuation - action, camera movement, lighting, mood. | |
| video | string | Yes | - | URL of the input video to extend. The native extension uses the last 30 seconds as context; generation continues seamlessly from the ending. | |
| resolution | string | No | 720p | 480p, 720p, 1080p, 4k | Output resolution of the new segment. |
| duration | integer | No | 5 | 4 ~ 30 | Length in seconds of the new segment to append (4-30). |
| 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 |