Generate Video
Generate AI videos from text prompts or images using 40+ models including Veo 3.1, Kling 3.0, Sora 2, Hailuo, and more.
Video generation is asynchronous — the response returns a video ID immediately. Use the Get Video endpoint to poll for the result.
Input types:
- Text-to-video — Provide only a
prompt - Image-to-video — Provide both
promptandimageURL
Note: Video generation requires a paid plan.
Workflow
Video generation is asynchronous. Here’s the typical flow:- Submit a video generation request using this endpoint
- Save the
idfrom the response - Poll the Get Video endpoint every 15–30 seconds until
statusiscompleted - Download the video from the
urlfield
Input types
- Text-to-video — Provide only a
prompt(noimagefield) - Image-to-video — Provide both
promptandimageURL. Use models with “Image” in the name (e.g.,Veo 3.1 Fast Image,Kling 3.0 Pro Image)
Polling example
Authorizations
API key for authentication. Get yours at https://easy-peasy.ai/settings/api
Headers
Your API key
Body
Text prompt describing the video to generate.
"A cat walking on the beach at sunset, cinematic lighting"
URL of an image for image-to-video generation. If omitted, text-to-video mode is used.
The video model to use.
Veo 3.1 Fast, Grok Imagine, Kling 2.6 Pro, Veo 3.1 Fast Image, Grok Imagine Image, Kling 2.6 Pro Image, Kling 3.0 Pro, Kling 3.0 Pro Image, Kling 3.0 Standard, Kling 3.0 Standard Image, Seedance 1.5 Pro, Seedance 1.5 Pro Image, Kling Motion Control Pro, Kling Motion Control, Kling O1 Image, Kling O1 Reference, Kling 2.5 Turbo Pro Image, Kling 2.5 Turbo Pro, Kling 2.5 Turbo Standard, Seedance 1.5 Pro First-Last Frame, Veo 3.1, LTX-2 Pro, LTX-2 Fast, Veo 3.1 Image, Veo 3.1 First-Last Frame, Veo 3.1 Fast First-Last Frame, LTX-2 Pro Image, LTX-2 Fast Image, Sora 2, Sora 2 Pro, Hailuo 2.0, Hailuo 2.0 Pro, Hailuo 2.3, Hailuo 2.3 Pro, Hailuo 2.3 Image, Hailuo 2.3 Pro Image, Hailuo 2.3-Fast Pro Image, Seedance v1 Pro Fast, Pixverse v5.5, Wan 2.5, Wan v2.2 Turbo, Wan v2.2, Sora 2 Image, Sora 2 Pro Image, Hailuo 2.0 Image, Hailuo 2.0 Pro Image, Seedance 1.0 Pro Fast, Pixverse v5.5 Image, Wan 2.5 Image, Wan v2.2 Turbo Image, Wan-2.2 Image, Seedance 2.0 Duration of the video in seconds. Available values depend on the model.
"5"
Aspect ratio of the video.
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21, 3:2, 2:3 Video resolution (supported by some models like Veo 3.1).
720p, 1080p, 4k Whether to generate audio along with the video (supported by some models like Veo 3.1, Kling 3.0).
