Pixverse Pixverse V6 Extend API Documentation

Pixverse Pixverse V6 Extend API Documentation

Playground

Try it on WaveSpeedAI!

PixVerse V6 Extend continues and enhances existing video content by analyzing the ending segment and generating new frames forward. Supports 360p to 1080p resolutions, 1-15 second extension duration, optional audio generation, and multiple styles. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

PixVerse V6 Video Extend continues an existing video clip with new AI-generated footage, seamlessly picking up where the original ends. Describe where the scene should go next — the model generates a natural, motion-consistent extension with optional style control, negative prompting, and synchronized audio.


Why Choose This?

  • Seamless video continuation Extends your existing clip with new AI-generated footage that matches the original motion, style, and scene context.

  • Prompt-guided extension Describe what should happen next — direct the action, camera movement, and atmosphere of the extended segment.

  • Style control Apply a specific visual style to the extension for creative or consistent branded output.

  • Optional audio generation Enable generate_audio_switch to produce synchronized ambient sound alongside the extended video.

  • Negative prompt support Specify what to avoid in the extension for more precise control over the output.

  • Multiple resolution tiers Generate extensions at 360p, 540p, 720p, or 1080p to match your delivery requirements.


Parameters

ParameterRequiredDescription
promptYesText description of what should happen in the extended segment.
videoYesSource video to extend (URL or file upload).
resolutionNoOutput resolution: 360p, 540p, 720p (default), or 1080p.
durationNoLength of the extension in seconds. Default: 5.
generate_audio_switchNoWhether to generate synchronized audio for the video. Default: off.
negative_promptNoElements to exclude from the extended footage.
styleNoVisual style to apply to the extension.
seedNoRandom seed for reproducible results.

How to Use

  1. Upload your video — provide the source clip to extend via URL or drag-and-drop.
  2. Write your prompt — describe what should happen next in the scene.
  3. Select resolution — 360p for drafts, 720p for standard output, 1080p for final production.
  4. Set duration — choose how many seconds to extend the video by.
  5. Enable audio (optional) — check generate_audio_switch to generate synchronized sound.
  6. Add negative prompt (optional) — specify elements you want to avoid in the extension.
  7. Set style (optional) — apply a specific visual style to the extended footage.
  8. Set seed (optional) — fix the seed to reproduce a specific result in future runs.
  9. Submit — generate, preview, and download your extended video.

Pricing

Price per second of extension:

ResolutionWithout AudioWith Audio
360p$0.025/s$0.035/s
540p$0.035/s$0.045/s
720p$0.045/s$0.06/s
1080p$0.09/s$0.115/s

Total price without audio:

Resolution5 s10 s15 s
360p$0.125$0.25$0.375
540p$0.175$0.35$0.525
720p$0.225$0.45$0.675
1080p$0.45$0.90$1.35

Total price with audio:

Resolution5 s10 s15 s
360p$0.175$0.35$0.525
540p$0.225$0.45$0.675
720p$0.30$0.60$0.90
1080p$0.575$1.15$1.725

Billing Rules

  • Billing is calculated per second of extension generated, for extensions of 1 to 15 seconds
  • Audio generation increases cost per second at each resolution tier
  • A default request (5 s, 720p, no audio) costs $0.225
  • Examples: 10s extension at 720p (no audio) = $0.45 — 10s at 1080p (no audio) = $0.90

Best Use Cases

  • Short Film & Narrative — Extend key scenes to develop story beats without reshooting.
  • Social Media Content — Lengthen clips to hit optimal duration for Reels, TikTok, and Shorts.
  • Marketing & Advertising — Extend product or campaign videos to fill longer ad slots.
  • Creative Exploration — Explore alternate continuations of the same source clip with different prompts.
  • Loop & Ambient Video — Generate extended atmospheric footage from a short seed clip.

Pro Tips

  • Be specific about what should happen next — camera movement, subject action, and environmental changes.
  • Use negative_prompt to prevent the extension from repeating or contradicting the source footage.
  • Use 360p at short durations to test your prompt direction before committing to a high-resolution extension.
  • Fix the seed once you find a direction you like to iterate consistently across different durations.

Notes

  • Both prompt and video are required fields; all other parameters are optional.
  • Ensure video URLs are publicly accessible if using a link rather than a direct upload.
  • Please follow PixVerse’s content usage policies when crafting prompts.

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_switch": false
}
JSON
)

# 1. Submit the prediction once. Never retry this request automatically:
# a retry after an unclear failure can create a second, billed task.
CHECK='The task may already exist. Check History or the predictions list before submitting again.'
if ! SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
  --connect-timeout 10 --max-time 60 \
  -X POST "https://api.wavespeed.ai/api/v3/pixverse/pixverse-v6/extend" \
  -H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
  -H "Content-Type: application/json" \
  -d "${REQUEST_BODY}"); then
  printf 'Submit failed. %s\n' "${CHECK}" >&2
  exit 1
fi

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. %s\n' "${CHECK}" >&2
  exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"

# 2. Poll until the prediction reaches a final status.
BODY_FILE=$(mktemp)
trap 'rm -f "${BODY_FILE}"' EXIT
while true; do
  # Transient errors (429, 5xx) are retried, honoring Retry-After.
  HTTP_CODE=$(curl --silent --show-error --fail-with-body \
    --connect-timeout 10 --max-time 60 --retry 5 --retry-delay 2 \
    --output "${BODY_FILE}" --write-out '%{http_code}' \
    "${RESULT_URL}" \
    -H "Authorization: Bearer ${WAVESPEED_API_KEY}" || true)
  case "${HTTP_CODE}" in
    2??) ;;
    000|429|5??)  # dropped connection or temporary error: keep polling
      printf 'Task %s: HTTP %s, polling again in 10s\n' "${PREDICTION_ID}" "${HTTP_CODE}" >&2
      sleep 10; continue ;;
    *) printf 'Task %s: HTTP %s\n' "${PREDICTION_ID}" "${HTTP_CODE}" >&2
      cat "${BODY_FILE}" >&2; exit 1 ;;
  esac
  RESULT=$(jq 'if type == "object" and has("data") then .data else . end' "${BODY_FILE}")
  STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')

  case "${STATUS}" in
    completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
    failed|cancelled|timeout|deleted)
      printf 'Task %s ended with status %s\n' "${PREDICTION_ID}" "${STATUS}" >&2
      printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
    *) sleep 2 ;;
  esac
done

Retry temporary errors only while polling, never the submit request. Errors, retries and timeouts

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-Text description of the desired video.
videostringYes-URL of the input video to extend
resolutionstringNo720p360p, 540p, 720p, 1080pThe resolution of the generated video
durationintegerNo51 ~ 15The duration of the generated video in seconds. v6 supports values from 1 to 15 seconds
generate_audio_switchbooleanNofalse-Enable audio generation for the video.
negative_promptstringNo-Advanced option. The negative prompt for the generation.
stylestringNo-anime, 3d_animation, clay, comic, cyberpunkAdvanced option. The style of the extended video
seedintegerNo--Advanced option. Random seed for generation.

Every model also accepts the global request options enable_sync_mode and enable_base64_output; see their pages for details.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayOutput values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.statusstringTask status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses.
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction
data.modelstringModel ID used for the prediction
data.outputsarray<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.detailsobjectOptional. Additional information about the outputs, returned by some models; omitted otherwise
data.urlsobjectObject containing related API endpoints
data.statusstringStatus: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses
data.created_atstringISO timestamp of when the request was created
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2026 WaveSpeedAI. All rights reserved.