API Reference
Automate templates, batches, and finished creatives in your Kalpana workspaces over REST.
The Kalpana REST API exposes the same workspace resources as the Studio. Use it to find a template, render files from your data, follow progress, and download the finished files.
https://app.kalpana.one/apiLooking to connect an AI agent instead? See the MCP documentation. MCP uses OAuth and a small set of guarded tools; this API uses API keys and plain HTTP.
The core flow
1. Pick a template
List templates, then read one to get its page ids and layer names.
2. Create a batch
Send one row of modifications per creative, up to 1,000 rows. Set run to true to start it.
3. Follow it
Poll the batch while its jobs render. Credits are checked before anything starts.
4. Collect files
Poll the batch, then fetch temporary download URLs.
For up to 10 files at a time, skip the batch: Create jobs with run set to true renders them and usually returns the files in the same call.
Resources
SDK and CLI
TypeScript SDK
Typed calls for every endpoint from Node, Bun or Deno, with retries, render waits and uploads.
CLI
Render one creative or a whole batch from a CSV with the kalpana command.
Start with Authentication and the Quickstart.
Updated 9 Nov 2026