Ovi

ovi-text-to-video

post

A unified paradigm for audio-video generation

Header parameters
AuthorizationstringRequiredExample: sk-yOm1Vc3raDjQluBttyAwSdbVxtWFEAPCbtAZ2uF3yST1xNCY
Body
modelstringRequired

model is the model name

Example: ovi-text-to-video
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
resolutionstring · enumOptional

Resolution of the generated video in W:H format. One of (512x992, 992x512, 960x512, 512x960, 720x720, or 448x1120). Default value: "992x512"

Possible enum values: 512x992, 992x512, 960x512, 512x960, 720x720, 448x1120, 1120x448

Default: 992x512Example: 992x512Possible values:
negative_promptstringOptional

Negative prompt for video generation. Default value: "jitter, bad hands, blur, distortion"

Default: jitter, bad hands, blur, distortionExample: jitter, bad hands, blur, distortion
num_inference_stepsintegerOptional

The number of inference steps. Default value: 30

Default: 30Example: 30
audio_negative_promptstringOptional

Negative prompt for audio generation. Default value: "robotic, muffled, echo, distorted"

Default: robotic, muffled, echo, distortedExample: robotic, muffled, echo, distorted
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: 259

{
  "model": "ovi-text-to-video",
  "prompt": "A cute baby sea otter.",
  "resolution": "992x512",
  "negative_prompt": "jitter, bad hands, blur, distortion",
  "num_inference_steps": 30,
  "audio_negative_prompt": "robotic, muffled, echo, distorted",
  "seed": 96,
  "output_format": "url"
}
200Success
{
  "data": [
    {
      "url": "https://resource.onerouter.pro/video/generated%2Fonerouter_89456993-a158-4630-8974-b200bc5b5164.mp4",
      "revised_prompt": ""
    }
  ],
  "created": 1760777057
}

Last updated