Ovi
A unified paradigm for audio-video generation
Header parameters
AuthorizationstringRequiredExample:
sk-yOm1Vc3raDjQluBttyAwSdbVxtWFEAPCbtAZ2uF3yST1xNCYBody
modelstringRequiredExample:
model is the model name
ovi-text-to-videopromptstringRequiredExample:
prompt is the prompt.
A cute baby sea otter.resolutionstring · enumOptionalDefault:
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
992x512Example: 992x512Possible values: negative_promptstringOptionalDefault:
Negative prompt for video generation. Default value: "jitter, bad hands, blur, distortion"
jitter, bad hands, blur, distortionExample: jitter, bad hands, blur, distortionnum_inference_stepsintegerOptionalDefault:
The number of inference steps. Default value: 30
30Example: 30audio_negative_promptstringOptionalDefault:
Negative prompt for audio generation. Default value: "robotic, muffled, echo, distorted"
robotic, muffled, echo, distortedExample: robotic, muffled, echo, distortedseedintegerOptional
Random seed for reproducibility. If None, a random seed is chosen.
output_formatstring · enumOptionalDefault:
output_format indicate the output format, default value is url.
urlExample: urlPossible values: Responses
200Success
application/json
post
/v1/videos/generationsPOST /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