Skip to main content
POST
/
v3
/
async
/
pixverse-c1-text-to-video
PixVerse C1 Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/pixverse-c1-text-to-video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "duration": 123,
  "resolution": "<string>",
  "aspect_ratio": "<string>",
  "generate_audio_switch": true
}
'
{
  "task_id": "<string>"
}
PixVerse C1 text-to-video model supports generating high-quality videos from text descriptions, with multiple resolutions and aspect ratios, optional synchronized audio generation, and video durations from 1 to 15 seconds.
This is an asynchronous API and will only return the asynchronous task’s task_id. 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

prompt
string
required
The text description for video generation, including information such as the scene, motion, camera style, and atmosphere.Length limit: 0 - 2048
duration
integer
default:5
The duration of the generated video (in seconds), ranging from 1 to 15 seconds.Value range: [1, 15]
resolution
string
default:"720p"
The resolution of the generated video.Allowed values: 360p, 540p, 720p, 1080p
aspect_ratio
string
default:"16:9"
The aspect ratio of the generated video.Allowed values: 16:9, 9:16, 4:3, 3:4, 1:1, 2:3, 3:2, 21:9
generate_audio_switch
boolean
default:false
Whether to generate audio at the same time when generating the video.

Response

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