Synthesia's AI video engine, available programmatically

Embed interactive avatars directly in your product, dub at scale, and generate video from your own data.

Give your agent a face that listens and responds

Start a session and the avatar joins your LiveKit room, ready to talk. Pick a card to try one. Read the docs

World-class interactive avatars. In a blind test of 609 conversations against HeyGen, Tavus and Anam, Synthesia scored highest on 5 of 6 dimensions. Read how we tested

JavaScript
await fetch('https://developers.synthesia.io/api/interactive-avatars/sessions', {
  method: 'POST',
  headers: {
    Authorization: process.env.SYNTHESIA_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    avatarIds: ['av_6c9edb85a2f947e5'],
    livekitUrl: 'wss://your-app.livekit.cloud',
    livekitToken: process.env.LIVEKIT_TOKEN,
  }),
});

Dub the footage you already have

Send a video URL and get it back in other languages, in the speaker's own voice, lip-synced. Read the docs

JavaScript
await fetch('https://developers.synthesia.io/api/localizations/from-media-url', {
  method: 'POST',
  headers: {
    Authorization: process.env.SYNTHESIA_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'Product onboarding',
    mediaUrl: 'https://my-bucket.s3.amazonaws.com/onboarding.mp4',
    sourceLanguage: 'en-US',
    targetLanguages: ['es-ES', 'fr-FR'],
  }),
});

Render finished video straight from your data

Send a script and an avatar, take the webhook, and download the .mp4. Read the docs

Rendered by the request in the Code view.

JavaScript
await fetch('https://api.synthesia.io/v2/videos', {
  method: 'POST',
  headers: {
    Authorization: process.env.SYNTHESIA_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'Product launch recap',
    input: [{
      scriptText:
        'This video came from one <sub alias="A P I">API</sub> call. ' +
        '<break time="1s"/> ' +
        'Send a script and an avatar, and Synthesia renders the rest.',
      avatar: 'anna_costume1_cameraA',
      background: 'off_white',
    }],
  }),
});

Let your coding agent handle integration

Install the Synthesia skill and your agent scaffolds the LiveKit agent, the API keys, and the room setup.

$ npx skills add synthesia-interactive-avatar

Then just ask

"Add an interactive avatar to our real-time support bot."

Skill scaffolds agent.py, token server, and embeds in minutes