AI video answer
What is a video generation API?
It lets software create video from text, images, references, or existing footage through structured requests. The API accepts the prompt and output settings, creates a job, reports status, and returns the final video and cost data.
Send a structured generation request
The request names the input mode, model or routing goal, prompt, duration, resolution, aspect ratio, audio setting, references, callback, and spending limit. The server validates the combination before submitting it.
Text-to-video describes the opening scene and motion. Image-to-video supplies the opening frame and focuses the prompt on what changes.
Track a long-running job
Video creation normally takes longer than one HTTP request. The create endpoint returns a job ID and accepted settings, then a status endpoint reports queued, running, completed, failed, or cancelled.
A callback or webhook can notify the application when the state changes so it does not need to poll continuously.
Read the final result
A completed result should include the output URL or resource, poster frame, duration, resolution, route, normalized settings, estimated cost, and final cost.
A stable result shape lets the application store, display, download, or send the video to another workflow without provider-specific parsing.
Related guide
Get the full context.
AI video generation API: five model routes
Generate AI video through one API with text-to-video, image-to-video, model routing, cost estimates, spending limits, normalized jobs, and fallback rules.
Read the video generation API guideCurrent prices
Compare each video route.
| Model | Compared rate | Cre8vid price | 5 sec | 10 sec | Savings |
|---|---|---|---|---|---|
| MiniMax H3MiniMax | $0.065 | $0.029 | $0.145 | $0.29 | 55% less |
| Wan 3.0Alibaba | $0.050 | $0.025 | $0.125 | $0.25 | 50% less |
| Kling 3.0Kuaishou | $0.084 | $0.039 | $0.195 | $0.39 | 54% less |
| Seedance 2.5ByteDance | $0.144 | $0.069 | $0.35 | $0.69 | 52% less |
| Veo 3.1 Fast + audioGoogle | $0.100 | $0.049 | $0.24 | $0.49 | 51% less |
Source notes