Skip to content

PixVerse V6 Fusion / Reference-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/reference-to-video"。 Allowed values:pixverse-v6/reference-to-video。 Example:pixverse-v6/reference-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.。
image_referencesarray&lt;object&gt;YesFusion multi-reference image list.
ref_name must be unique within the same list. You can reference the reference object in the prompt via @ref_name. minItems: 1. maxItems: 7.
  image_references[].image_urlstringYesReference image URL. Example:https://your-domain.com/images/reference.png。
  image_references[].typestringNoReference image type. subject means subject, background means background. Default:"subject"。 Allowed values:subject / background。 Example:subject。
  image_references[].ref_namestringNoReference image name, maximum 30 characters. Can be referenced in the prompt using @name. minLength: 1. maxLength: 30. Example:dog。
aspect_ratiostringYesRequired. Output video aspect ratio. 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, 1–15. minimum: 1. maximum: 15. Example:5。
generate_audio_switchbooleanNoWhether to generate audio synchronized with the video content. Default:false。 Example:false。
seedintegerNoRandom seed, value range is 0-2147483647. Using the same parameters and seed helps improve the reproducibility of the results. 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/reference-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.",
  "image_references": [
    {
      "image_url": "https://your-domain.com/images/reference.png"
    }
  ],
  "aspect_ratio": "16:9",
  "quality": "720p",
  "duration": 5,
  "generate_audio_switch": false
}'
json
{
  "model": "pixverse-v6/reference-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.",
  "image_references": [
    {
      "image_url": "https://your-domain.com/images/reference.png"
    }
  ],
  "aspect_ratio": "16:9",
  "quality": "720p",
  "duration": 5,
  "generate_audio_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.