Skip to main content

1. Get an API key

Sign up at lavendly.ai and create an API key from your dashboard. You’ll use it in the Authorization header on every request.

2. Make a video from a prompt

Three calls: describe the video as shots, price it, render it. Creating and pricing are free. The render generates every scene (that is what spends credits) and stitches them; max_credits makes sure it never spends more than the price you saw.

3. Add a voiceover and a music bed

Tracks attach to a clip. Clip ids are generated (they look like vid_1790000000000_0), so read one from the workflow you created:
Render again and you get the mixed video with burned-in captions. Scenes that already have a clip are reused and not charged again.

4. Give an agent the same capability

Anything you just did with cURL, an agent can do through the agent skills interface. The same operations are exposed as tools; the same idempotency keys keep retries safe. Try this prompt in any agent that’s been wired up to Lavendly:
Create a 6-second video of a fox in a bookshop, narrate it in a warm voice with captions, lay a cozy ambient track underneath, and send me the URL when it’s done.
That’s six tool calls and a render. No glue code on your side.

What’s next

Wire an agent in

Two-minute setup for Claude Desktop, Cursor, and other agent runtimes.

Node SDK

Cookbook patterns.

Python SDK

Cookbook patterns.

API reference

Every operation, response shape, and error code.