API & webhooks

4avatars solutions · API

API and webhooks: generate video straight from your own systems

Send a script over the API and get back a rendered video, with an avatar, a voice and lip sync. Every event — render finished, translation ready, first view — can call your endpoint, signed.

What the programmable layer gives you

Rendering started over the API

Send the script, avatar, voice and language, and get the render job's identifier back.

Programmatic translation and dubbing

Request another language version of an existing video, with nothing re-uploaded by hand.

Scoped access keys

Each key gets only the rights it needs and is revoked instantly.

Webhooks on video events

Render finished, render failed, translation ready, first view — each event can call your endpoint.

HMAC signatures and retries

Every call is signed so you can verify it came from us, and failed deliveries are retried.

A separate test environment

Test keys render against separate data, without spending generations from your real subscription.

Generate a key in the panel, choose its rights, and send your first render request: script, avatar, voice, language. You get the job identifier back, and when rendering finishes a signed webhook delivers the video link. The same calls request translations, publish a new version, or read viewing stats.

Frequently asked questions about the API and webhooks

The script, avatar, voice and language; the response returns the job identifier, and the result arrives by webhook.
Yes, for an existing video you request another language version, with lip sync rebuilt automatically.
Every call carries an HMAC signature computed with your secret, which you recompute and compare.
Render finished, render failed, translation ready and first view, among others.
No, test keys work on a separate dataset and never touch the generations included in your real subscription.

Build on top of the programmable layer

Generate a test key and start your first render over the API in minutes.