Skip to main content
POST
/
v3
/
async
/
pixverse-pixverse-c1-reference-to-video
Pixverse C1 Reference Image to Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/pixverse-pixverse-c1-reference-to-video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "images": [
    {
      "type": "<string>",
      "ref_name": "<string>",
      "image_url": "<string>"
    }
  ],
  "prompt": "<string>",
  "duration": 123,
  "resolution": "<string>",
  "aspect_ratio": "<string>",
  "generate_audio_switch": true
}
'
{
  "task_id": "<string>"
}
The Pixverse C1 reference image-to-video tool can generate cinematic videos from 1-7 reference images. It uses the @ref_name syntax to reference images in the prompt, and supports multi-character/object consistency, multiple resolutions (360p-1080p), variable durations (1-15 seconds), and audio generation.
This is an asynchronous API and will only return the task_id of the async task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

images
array
required
List of reference images (1-7 images)Array length: 1 - 7
prompt
string
required
Scene description text. Use the @ref_name syntax to reference uploaded reference images (for example, “@hero running through @city”). @ref_name must be followed by a space, and the reference name must match the ref_name in images
duration
integer
default:5
Duration of the generated video (seconds), range 1-15Value range: [1, 15]
resolution
string
default:"720p"
Resolution of the output videoAllowed values: 360p, 540p, 720p, 1080p
aspect_ratio
string
default:"16:9"
Aspect ratio of the output videoAllowed values: 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9
generate_audio_switch
boolean
default:false
Whether to also generate native video audio

Response

task_id
string
required
Use the task_id to request the Get Task Result API to retrieve the generated output.