Pixverse Pixverse V6 Max Text To Video API Documentation
Playground
Try it on WaveSpeedAI!PixVerse V6 Max Text-to-Video generates high-quality videos from text prompts with flexible duration, 360P to 1080P output, aspect ratio and seed controls, optional native audio generation, and multi-clip generation for creative, social, marketing, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
PixVerse V6 Max Text-to-Video generates videos directly from text prompts with flexible duration, resolution, framing, and optional generated audio. Describe the subject, action, camera movement, and visual style, then choose output settings up to 1080p.
Why Choose This?
- Text-to-video generation — Create videos directly from natural-language scene descriptions.
- Up to 1080p output — Choose
360p,540p,720p, or1080p. - Flexible framing — Generate landscape, portrait, square, and other supported formats.
- Optional generated audio — Add native audio to the generated video.
- Multi-clip generation — Enable multiple shots or scene changes within a generation.
- Seed control — Use a fixed seed when comparing prompt variations.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the scene, subject, action, camera movement, and style. Maximum 5000 characters. |
| aspect_ratio | No | Output aspect ratio: 16:9, 9:16, 4:3, 3:4, 1:1, 2:3, 3:2, or 21:9. Default: 16:9. |
| resolution | No | Output resolution: 360p, 540p, 720p, or 1080p. Default: 720p. |
| duration | No | Video duration from 1 to 15 seconds. Default: 5. |
| generate_audio_switch | No | Generate audio together with the video. Default: false. |
| generate_multi_clip_switch | No | Enable multi-clip generation for multiple shots or scene changes. Default: false. |
| seed | No | Random seed from 0 to 2147483647. Use 0 or omit for random generation. |
How to Use
- Write a prompt — Describe the subject, scene, action, camera movement, lighting, and style.
- Choose output settings — Set duration, resolution, and aspect ratio.
- Configure generated audio optional — Enable generated audio when needed.
- Enable multi-clip optional — Use multi-clip generation when the scene benefits from multiple shots.
- Set a seed optional — Use a fixed seed when reproducibility is useful.
- Submit — Generate and retrieve the completed video.
Pricing
Pricing is based on the selected resolution, duration, and whether generated audio is enabled.
| Resolution | Without Audio | With Generated Audio |
|---|---|---|
| 360p | $0.027/s | $0.040/s |
| 540p | $0.040/s | $0.049/s |
| 720p | $0.049/s | $0.067/s |
| 1080p | $0.098/s | $0.124/s |
Uploaded lip-sync audio adds $0.018 per audio second.
generate_multi_clip_switch, aspect ratio, and seed do not add separate charges.
Best Use Cases
- Cinematic storytelling — Turn scene descriptions into short narrative videos.
- Social media content — Create landscape, portrait, or square clips for different platforms.
- Marketing videos — Generate promotional, product, and campaign concepts.
- Creative exploration — Test different prompts, camera directions, and visual styles.
- Audio-visual content — Generate scenes with native audio.
- Multi-shot concepts — Create videos that benefit from several shots or scene changes.
Pro Tips
- Clearly describe the subject, action, camera movement, lighting, and visual style.
- Keep the main action focused and achievable within the selected duration.
- Use lower resolutions for quick iteration before moving to
720por1080p. - Enable generated audio when sound is important to the scene.
- Use uploaded audio when lip synchronization is required.
- Enable multi-clip generation when the prompt includes multiple shots or scene transitions.
- Use a fixed seed when comparing prompt or parameter changes.
Notes
promptis required.durationsupports1–15seconds and defaults to5.resolutiondefaults to720p.aspect_ratiodefaults to16:9.generate_audio_switchdefaults tofalse.generate_multi_clip_switchdefaults tofalse.- A fixed seed can help compare variations but does not guarantee identical results.
Related Models
- PixVerse V6 Max Image-to-Video — Animate a reference image into a video with PixVerse V6 Max.
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",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio_switch": false,
"generate_multi_clip_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-max/text-to-video" \
-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
doneRetry temporary errors only while polling, never the submit request. Errors, retries and timeouts
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | 0 ~ 5000 characters | Text prompt describing the video to generate, up to 5000 characters. | |
| aspect_ratio | string | No | 16:9 | 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9 | Aspect ratio of the generated video. PixVerse V6 Max supports 16:9, 9:16, 4:3, 3:4, 1:1, 2:3, 3:2, and 21:9. |
| resolution | string | No | 720p | 360p, 540p, 720p, 1080p | Output resolution: 360p, 540p, 720p, or 1080p. |
| duration | integer | No | 5 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | Video duration in seconds. PixVerse V6 Max supports 1 to 15 seconds. |
| generate_audio_switch | boolean | No | false | - | Whether to generate audio for the video. |
| generate_multi_clip_switch | boolean | No | false | - | Whether to enable multi-clip generation. |
| seed | integer | No | - | 0 ~ 2147483647 | Random seed, from 0 to 2147483647. Use 0 or omit the field for a random seed. |
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 |