Generate video, programmatically.

The same engine behind the editor, exposed as a clean API and a typed SDK. Turn a brief into a rendered, on-brand video from your own code — one request at a time or thousands in parallel.

Scene 2 · 12s

Announcing the real-time cohort builder

Release note12s

Export as

MP49:161:116:9
Quickstart

From install to first render in one file.

Terminal
$ npm install @pitvi/sdk
render.ts
import { Pitvi } from "@pitvi/sdk";
 
const pitvi = new Pitvi(process.env.PITVI_KEY);
 
const video = await pitvi.videos.create({
brief: "Announcing the real-time cohort builder",
format: "16:9",
brand: "acme",
});
 
// render.completed fires when the file is ready
console.log(video.url);

A small surface that does the heavy lifting.

POST
/v1/videos

Create a render from a brief, format, and brand kit. Returns a job you can poll or subscribe to.

GET
/v1/videos/:id

Fetch a job status and the CDN-direct download URL once the render completes.

POST
/v1/webhooks

Register an endpoint to receive render.completed and render.failed events in real time.

SDK
pitvi.brands.sync()

Push a logo, palette, and fonts once so every programmatic render stays on-system.

Three calls, request to finished file.

Announcing the real-time cohort builder

Release note12s
01

Send a request

POST a brief, a target format, and a brand id. The SDK types the payload so you catch mistakes at compile time.

Generating your video...

84%

02

We render in the cloud

The job runs on our GPU cloud — nothing touches your infrastructure. Poll the job or wait on the webhook.

Export as

MP49:161:116:9
03

Receive the finished file

A render.completed webhook delivers a CDN-direct 4K file, ready to publish or hand back to your users.

Common questions

What language SDKs are available?

A first-class TypeScript / Node SDK today, with a typed REST contract you can call from any language in the meantime.

How is rendering billed?

Per finished render, metered on your plan. Failed jobs are never billed, and you can cap concurrency per key.

Can I keep renders fully on-brand?

Yes. Sync a brand kit once and reference it by id on every request — logo, palette, and fonts apply automatically.

Put API & SDK to work on your next release.

14 days of full access. No charge until day 15. Cancel any time.