Pixverse V5

pixverse-v5-text-to-video

post

Generate high quality video clips from text and image prompts using PixVerse v5

Header parameters
AuthorizationstringRequiredExample: sk-yOm1Vc3raDjQluBttyAwSdbVxtWFEAPCbtAZ2uF3yST1xNCY
Body
modelstringRequired

model is the model name

Example: pixverse-v5-text-to-video
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
aspect_ratiostring · enumOptional

The aspect ratio of the generated video Default value: "16:9"

Possible enum values: 16:9, 4:3, 1:1, 3:4, 9:16

Default: 16:9Example: 16:9Possible values:
resolutionstring · enumOptional

The resolution of the generated video Default value: "720p"

Possible enum values: 360p, 540p, 720p, 1080p

Default: 720pExample: 720pPossible values:
durationstring · enumOptional

The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds Default value: "5"

Possible enum values: 5, 8

Default: 5Example: 5Possible values:
negative_promptstringOptional

Negative prompt to be used for the generation Default value: ""

stylestring · enumOptional

The style of the generated video

Possible enum values: anime, 3d_animation, clay, comic, cyberpunk

Possible values:
seedintegerOptional

Random seed for reproducibility. If None, a random seed is chosen.

output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/videos/generations
POST /v1/videos/generations HTTP/1.1
Host: video.onerouter.pro
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 201

{
  "model": "pixverse-v5-text-to-video",
  "prompt": "A cute baby sea otter.",
  "aspect_ratio": "16:9",
  "resolution": "720p",
  "duration": "5",
  "negative_prompt": "",
  "style": "cyberpunk",
  "seed": 47,
  "output_format": "url"
}
200Success
{
  "data": [
    {
      "url": "https://resource.onerouter.pro/video/generated%2Fonerouter_87d622f3-6f5e-4239-a3a9-6f3fd1d968d8.mp4",
      "revised_prompt": ""
    }
  ],
  "created": 1760778280
}

Last updated