Skip to content

PixVerse V6 Text-to-Video ​

Endpoint ​

POST /videos/generations

Full URL: https://modelfold.ai/v1/videos/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe name of the model used for the generation task. Required field. Default:"pixverse-v6/text-to-video"。 Allowed values:pixverse-v6/text-to-video。 Example:pixverse-v6/text-to-video。
promptstringYesPrompt required by the ModelFold gateway; at most 2000 characters. Generate prompt, cannot be empty, length is limited to 3-5000 characters. minLength: 3. maxLength: 2000. Example:A cinematic sunrise illuminates a mist-shrouded mountain lake; the camera slowly sweeps across the water's surface as a flock of birds flies overhead.。
aspect_ratiostringYesRequired. Output video aspect ratio. This parameter is supported in text-to-video and Fusion multi-reference image-to-video modes. Allowed values:16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 2:3 / 3:2 / 21:9。 Example:16:9。
qualitystringYesRequired. Output video resolution. Supports 360p, 540p, 720p, and 1080p. Allowed values:360p / 540p / 720p / 1080p。 Example:720p。
durationintegerYesRequired. Output video duration in seconds. PixVerse V6 supports 1–15 seconds. minimum: 1. maximum: 15. Example:5。
generate_audio_switchbooleanNoWhether to generate audio synchronized with the video content. Default:false。 Example:false。
generate_multi_clip_switchbooleanNoWhether to generate a multi-clip video. Default:false。 Example:false。
seedintegerNoRandom seed, value range is 0–2147483647. Using the same parameters and seed helps improve result reproducibility. minimum: 0. maximum: 2147483647. Example:123456789。

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "pixverse-v6/text-to-video",
  "prompt": "A cinematic sunrise illuminates a mist-shrouded mountain lake; the camera slowly sweeps across the water'\''s surface as a flock of birds flies overhead.",
  "aspect_ratio": "16:9",
  "quality": "720p",
  "duration": 5,
  "generate_audio_switch": false,
  "generate_multi_clip_switch": false
}'
json
{
  "model": "pixverse-v6/text-to-video",
  "prompt": "A cinematic sunrise illuminates a mist-shrouded mountain lake; the camera slowly sweeps across the water's surface as a flock of birds flies overhead.",
  "aspect_ratio": "16:9",
  "quality": "720p",
  "duration": 5,
  "generate_audio_switch": false,
  "generate_multi_clip_switch": false
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.mp4"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.