Skip to main content

Create an AI Video

Generate high-quality AI videos from text, topics, or blog URLs.

Tutorial

Endpoint

Method: POST
URL: https://aiapi.vadoo.tv/api/generate_video

Request Headers

HeaderTypeRequiredDescription
X-Api-KeystringYesYour API key

Request Body

ParameterTypeRequiredDefaultDescription
topicstringNoRandom AI StoryTopic of the video. See Video Topics
durationstringNo30-60Duration code: "30-60", "60-90", "90-120", "120-180", "5 min", "10 min"
promptstringConditional-Required if topic is "Custom". Details of the story to generate.
voicestringNoOnyxAI Voice name. See Available Voices
languagestringNoEnglishVideo language. See Supported Languages
aspect_ratiostringNo9:16"9:16", "1:1", or "16:9"
stylestringNoNoneVisual style theme. See AI Image Styles
themestringNoHormozi_1Subtitle theme name. See Caption Themes
bg_musicstringNo-Background music name. See Background Music
bg_music_volumenumberNo100Volume for background music (0-100)
speednumberNo1.0Voiceover playback speed (0.5 to 2.0)
use_ainumberNo1Set to 0 to provide a complete script manually in the prompt.
include_voiceovernumberNo1Set to 0 to disable voiceover.
custom_instructionsstringNo-Additional creative instructions for the AI.
urlstringNo-Blog/Article URL if converting a web page to video.

Script Character Limits

If you are providing a custom script (using topic="Custom" and use_ai=0), please ensure the prompt (your script) does not exceed these character limits based on the selected duration:

DurationMax Characters
30-601000
60-901500
90-1202000
120-1802500
5 min5000
10 min10000

Response

{
"vid": "123456789012"
}

Notes

  • Returns a vid for status tracking via Get Video URL.
  • If topic is "Custom" and use_ai_script is 1, the prompt will be used as a guideline for the AI to write a script.
  • If topic is "Custom" and use_ai_script is 0, the prompt will be used as the exact script for the voiceover.