Pixverse Pixverse V5 T2V API Documentation

Pixverse Pixverse V5 T2V API Documentation

Playground

Try it on WaveSpeedAI!

PixVerse V5 Text-to-Video generates smooth, natural 5s videos from text prompts in seconds, with 720p output available ($0.20 per 5s). Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

PixVerse V5 Text-to-Video is PixVerse’s latest text-to-video generation model with support for resolutions up to Full HD 1080p. Generate stunning, detailed videos from text descriptions with flexible aspect ratios and multiple resolution tiers.


Why It Stands Out

  • Up to 1080p Full HD: Generate crisp, high-resolution videos for professional use.
  • Multiple resolutions: Choose from 360p, 540p, 720p, or 1080p based on your needs.
  • Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
  • Flexible aspect ratios: Wide range from 16:9 widescreen to 9:16 vertical.
  • Negative prompt support: Exclude unwanted elements for cleaner outputs.
  • Reproducibility: Use the seed parameter to recreate exact results.

Parameters

ParameterRequiredDescription
promptYesText description of the video you want to generate.
resolutionNoOutput resolution: 360p, 540p, 720p, 1080p (default: 1080p).
aspect_ratioNoOutput aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16 (default: 9:16).
durationNoVideo length: 5 or 8 seconds (default: 5).
negative_promptNoElements to avoid in the output.
seedNoSet for reproducibility; leave empty for random.

Supported Resolutions

ResolutionBest For
360pQuick previews, drafts, low-bandwidth use
540pSocial media, balanced quality and speed
720pHD output, general professional use
1080pFull HD, premium quality, final delivery

Supported Aspect Ratios

Aspect RatioBest For
16:9YouTube, widescreen displays
4:3Classic format, presentations
1:1Instagram posts, social media squares
3:4Portrait photos, Pinterest
9:16TikTok, Instagram Stories, Reels

How to Use

  1. Write a prompt describing the scene, action, and style you want. Use the Prompt Enhancer for AI-assisted optimization.
  2. Select resolution — choose 360p for drafts, 1080p for premium output.
  3. Select aspect ratio — choose the format that fits your platform.
  4. Set duration — choose 5 or 8 seconds.
  5. Add a negative prompt (optional) — specify elements to exclude.
  6. Click Run and wait for your video to generate.
  7. Preview and download the result.

Best Use Cases

  • Premium Content Creation — Generate broadcast-quality 1080p videos.
  • Social Media Content — Create platform-optimized videos for any channel.
  • Marketing & Advertising — Produce high-quality promotional videos.
  • Storytelling & Film — Generate detailed, cinematic scenes.
  • Rapid Prototyping — Use lower resolutions for quick concept testing.

Pricing

Resolution5 seconds8 seconds
360p$0.15$0.30
540p$0.15$0.30
720p$0.20$0.40
1080p$0.40$0.80

Pro Tips for Best Quality

  • Be detailed in your prompt — describe subject, action, environment, lighting, and style.
  • Include style keywords like “realism,” “cinematic,” or specific aesthetic descriptions.
  • Use 360p or 540p for quick iterations, then generate final version at 1080p.
  • Use negative prompts to reduce artifacts like blur or distortion.
  • Match aspect ratio to your target platform before generating.

Notes

  • Processing time varies based on resolution, duration, and current queue load.
  • Please ensure your prompts comply with content guidelines.

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",
  "resolution": "540p",
  "aspect_ratio": "16:9",
  "duration": 5
}
JSON
)

# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
  -X POST "https://api.wavespeed.ai/api/v3/pixverse/pixverse-v5-t2v" \
  -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=$(printf '%s' "${TASK}" | jq -r '.urls.get // empty')
if [ -z "${RESULT_URL}" ]; then RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"; fi

# 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) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
    created|processing) sleep 2 ;;
    *) printf 'Unexpected status: %s
' "${STATUS}" >&2; exit 1 ;;
  esac
done

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The positive prompt for the generation.
resolutionstringNo540p360p, 540p, 720p, 1080pVideo quality (360p/540p/720p/1080p).
aspect_ratiostringNo16:916:9, 4:3, 1:1, 3:4, 9:16The aspect ratio of the generated media.
durationintegerNo55, 8Video duration in seconds.
negative_promptstringNo-The negative prompt for the generation.
seedintegerNo--The random seed to use for the generation.

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.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
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.urlsobjectObject containing related API endpoints
data.urls.getstringURL to poll for the prediction result
data.statusstringStatus: created, processing, completed, or failed
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.