A video generation API lets you create finished videos programmatically. You send a request describing what you want (a prompt, a URL, a topic), the service renders a complete video with visuals, voiceover, and music, and you get back a file you can drop into your product, your pipeline, or your automated channel. No editor, no timeline, no human in the loop.
Wavemaker's HTTP API lives at `https://api.wavemaker.io`. You post a brief to its session API, and its hosted agent makes the video. This guide covers how that works, progress events, webhooks, limits, and credit costs.
What a video generation API is
Most APIs you work with move data around: a payload in, a JSON response out. A video generation API is the same idea, except the response is a rendered MP4. You describe the video you want in the request body, the service does the production work, and you retrieve the result when it's ready.
The key distinction is how much the API does for you. Some APIs generate a single silent clip from a text prompt and stop there. That's a building block, not a video. Others run a full pipeline: scripting, visuals, voiceover, music, and a quality pass, and hand you something you can publish as-is. Wavemaker sits in the second camp. One request produces a finished video, not a raw clip you still have to assemble.
Because rendering takes real time (a few minutes, not milliseconds), these APIs are almost always asynchronous. You kick off a job, then either poll for status or get notified by webhook when it's done. If you've built against transcoding or ML inference APIs before, the shape will feel familiar.
Use cases worth building for
You reach for a video generation API when you need videos at a volume or cadence that manual creation can't touch. A few patterns come up again and again.
Automated channels. Faceless YouTube channels, TikTok feeds, and news-recap accounts that publish daily or hourly. You feed the API a topic or a data source on a schedule and it produces the video. A cron job plus an API call replaces a whole content team.
Dynamic, personalized video. Generate a unique video per user, per account, or per segment. Onboarding videos that name the customer, listing videos built from each property's details, recap videos assembled from a user's activity. The input changes per request, and the output is one-to-one.
Batch production. You have 500 products, 200 locations, or a spreadsheet of blog posts, and each one needs a video. Loop over the rows, fire a request per item, collect the results. What would take months by hand runs overnight.
Agent and workflow pipelines. An AI agent or an automation tool like n8n or Zapier decides a video is needed and calls the API as one step in a larger flow. Video generation becomes just another tool the agent can reach for. (If you're working inside an AI assistant, the MCP option below is usually the cleaner path here.)

How Wavemaker's REST API works
The API lives at `https://api.wavemaker.io`. To get a finished video from a brief, you use the session API: create a session, post the brief as a turn, and collect the files the agent delivers. The Wavemaker API docs list every route and field.
Here's what you're working with:
A few of these deserve a closer look.
Limits. If you send requests too fast, the API answers 429 `rate_limited` with a `retry_after_s` value. Wait that long, then resend the same request with the same `request_id`, so nothing runs twice. Up to 24 agent turns run at once per workspace. If you're processing thousands of items, put a queue in front of your calls.
SSE progress streaming. A video takes a few minutes, so you'll want to see progress. Read `GET /v1/sessions/{id}/events` with `Accept: text/event-stream` and the session's events arrive as they happen: the turn starting, each tool call, job progress, and each finished delivery. Handy when you want to show a live progress bar in your own UI.
HMAC-signed webhooks. You register an endpoint once with `POST /v1/webhooks/endpoints`, and Wavemaker posts to it when a turn completes or a delivery lands. Each post carries a `Wavemaker-Signature` header: an HMAC-SHA256 of the timestamp and the raw body, signed with your endpoint's secret. Check it before you trust the payload. This is the pattern you want for production. Post the brief, move on, and let the webhook wake your system when the video's ready.
A realistic request-to-render flow
Here's the shape of a typical integration. It's trimmed to show the pattern, so check the Wavemaker API docs for every field before you build.
Step 1: Create a session and post the brief.
POST https://api.wavemaker.io/v1/sessions
Authorization: Bearer $WAVEMAKER_API_KEY
Content-Type: application/json
{"request_id": "product-42:session"}
POST https://api.wavemaker.io/v1/sessions/{session_id}/turns
Authorization: Bearer $WAVEMAKER_API_KEY
Content-Type: application/json
{
"request_id": "product-42:video-v1",
"controller": "{controller token from the session}",
"text": "A 30-second vertical ad for the product at https://example.com/product-page",
"deliverables": [{"id": "reel", "kind": "video", "aspect": "9:16", "duration_s": 30}]
}
Every reply comes in one envelope, `{ok, data, error, ...}`. When `ok` is true the result is in `data`: the session's ID is `data.id` and its controller token is `data.controller.token`. When `ok` is false, `data` is null and `error` says why.
The turn comes back right away (HTTP 202) with its id and a state of `queued` or `running`. You don't wait on the render here.
Step 2: Wait for the result. You've got two ways to find out when it's done.
Webhook (recommended for production): register your endpoint once, verify the signature on each incoming call, and read the turn when `turn.completed` arrives. A completed turn isn't always a finished video, so check that its `outcome.status` is `delivered` first.
// your webhook handler
verifySignature(rawBody, headers["wavemaker-signature"], signingSecret) // reject if invalid
const event = JSON.parse(rawBody)
if (event.type === "turn.completed") {
const turn = await get(`/v1/sessions/${event.session_id}/turns/${event.turn_id}`) // returns data
if (turn.outcome.status === "delivered") publish(turn.outcome.deliveries)
else alert(turn) // partial, needs_input, stopped...
}
Long polling (fine for scripts and one-offs): read the session's events with `wait_s` (up to 25 seconds per read) until the turn ends. The request waits for the next event, so you don't burn calls on an interval.
SSE (for live progress): read the same events as a stream and update your UI as they arrive.
Step 3: Use the video. Read the turn with `GET /v1/sessions/{id}/turns/{turn_id}` and check that `outcome.status` is `delivered`. Each finished file is in `outcome.deliveries` with a signed download link and its sha256. The link expires after an hour, so download the file, check the hash, then store it, publish it, or pass it to the next step in your pipeline. If the destination is a paid campaign, that's where the Adwave bridge comes in (more on that below).
That's the whole loop: describe, post, get notified, use. The same three steps whether you're rendering one video or ten thousand.

Credit costs
API usage draws from your credit balance, the same pool as the web app. There's no fixed price per video: cost depends on length, takes and models. A film made from narrated stills uses little GPU time, and finishing a take (a re-render or an upscale) is charged at its own price.
Pro plans run from $49 a month (850 credits) to $499 a month (10,000 credits). Credit packs start at $19.99 for 300 credits, and here's the part that matters for bursty workloads: credit packs never expire. Buy a pack ahead of a big batch, use it whenever, and don't lose what you don't spend. That's a real difference from tools that reset unused credits every month.
How it compares to clip-only APIs
This is the distinction that matters most when you're choosing what to build on. A lot of video APIs (the foundation-model kind like Runway or Sora) generate a single clip from a prompt: a few seconds of silent, generated footage. Powerful, but it's a raw ingredient. To ship an actual video you still have to write a script, stitch clips together, add voiceover, layer in music, and check the whole thing for quality. That orchestration is on you.
Wavemaker's API returns the finished product. One request runs the full pipeline: script, AI storyboard, generated visuals with subject consistency and multi-provider fallback, AI voiceover, BPM-aware music with audio ducking, and an AI vision QC review. The unit of work is a video, not a clip.
For a developer, that's the difference between calling one endpoint and building (then maintaining) an entire assembly pipeline around a clip generator. If your goal is finished videos at scale, a full-pipeline API is far less code to own.

The MCP option
If you're building inside an AI assistant or agent rather than a traditional backend, there's a cleaner path than raw REST. Wavemaker runs an MCP (Model Context Protocol) server at `https://api.wavemaker.io/mcp` with OAuth sign-in (PKCE) and the same twelve tools the HTTP API serves, including `search`, `generate`, `edit`, `compose` and `review`. It works in Claude, ChatGPT, Cursor, Windsurf, and any MCP client, so your agent can make video as a native tool call without you writing an HTTP client.
Use the REST API when you're building a backend service, a batch job, or a scheduled channel. Reach for MCP when an AI agent is the one deciding to make videos. For the full walkthrough, see our guide on how to generate videos from Claude with MCP.
From finished video to television
One thing sets Wavemaker apart once your video is rendered: publishing can mean actual streaming TV. A finished Wavemaker video can run as a real streaming TV commercial on 100+ networks through Adwave, starting from $30 a day, alongside Google, YouTube, Meta, Reddit, and display. So a batch job that produces 200 localized product videos isn't just filling a content feed; those videos can become 200 targeted TV campaigns. The API generates the creative; Adwave handles the distribution. No other video generation API's story extends past the file export.
Common questions answered
What does Wavemaker cost? Your first video is on us: new accounts get 300 starter credits (they expire after 14 days). After that, credit packs start at $19.99 for 300 credits (they never expire) and Pro plans at $49 a month for 850 credits, up to $499 a month for 10,000 credits.
Is the API synchronous or asynchronous? Asynchronous. Making a video takes a few minutes. You post the brief as a turn and get its id back at once, then wait for a webhook or read the session's events until the turn ends. Design your integration around a request-then-notify flow rather than a blocking call.
How do I know when a video is finished? Three ways. Register a signed webhook for `turn.completed` (the recommended production pattern) and Wavemaker posts to your URL. Long-poll the session's events for scripts and one-offs. Or read the same events as an SSE stream if you want to show a progress bar in your own UI.
What's the rate limit? Wavemaker doesn't publish a fixed requests-per-minute number. If you go too fast, the API answers 429 with a `retry_after_s` value; wait that long and resend the same request. Up to 24 agent turns run at once per workspace, so put a queue in front of large batches.
How much does each video cost in credits? It depends on length, takes and models, so there's no fixed per-video price. Finishing a take, such as a re-render or an upscale, is charged at its own price. Usage draws from your credit balance, and if you need more, credit packs start at $19.99 and never expire.
Should I use the REST API or the MCP server? Use the REST API for backend services, batch jobs, and scheduled channels where your own code drives generation. Use the MCP server when an AI agent or assistant is deciding to create videos, so it can call generation as a native tool without a custom HTTP client. Both draw from the same credit pool.
Start building
Ready to wire video generation into your product or pipeline? Make your first video on us (300 starter credits) to see the output quality, then head to the Wavemaker developer docs for the full API reference, authentication setup, and webhook details. Starter credits work in the app and in sign-in connections like MCP. API-key requests need a paid pack or plan.




