Generate video

POST /api/v1/generate — the API picks text-to-video or image-to-video from the body.

  • Text-to-video: prompt only
  • Image-to-video: prompt + image_url
  • Multi-image (Veo 3.1 and models with reference mode): reference_image_urls
ParameterRequiredNotes
modelNosora-2, flux-3, higgsfield_v1, kling-3, seedance-25, gemini-omni, veo3, veo-31, grok-imagine-1-5, seedance-2, nanobanana-video, ltxv-2, ltxv-13b, veo2, hailuo-3, seedance-2-mini, wan-25
promptYesMax 1000 characters
image_urlNojpg, png, gif, webp — enables I2V
reference_image_urlsNo1–5 URLs for supported models
durationNoSeconds; model- and plan-dependent
resolutionNo480p, 720p, 1080p, 4K if supported
aspect_ratioNo16:9, 4:3, 1:1, 9:16 — T2V
seedNo-1 for random
camera_fixedNoboolean
add_audioNoAI SFX overlay when supported
audio_promptNoGuides SFX if add_audio is true
curl -X POST "https://videogenapi.com/api/v1/generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kling-3","prompt":"A cat playing with a ball in a sunny garden","duration":5}'

Poll status with the returned id. Hubs: text-to-video, image-to-video.

Reviewed by Enzo Lanne · Founder, VideoGenAPI ·