Skip to main content

Overview

Video personalization re-tells a finished video for one audience. The facts, the speakers, their voices and the timing stay as they were; the wording changes to suit the people you name in the prompt. One workout video becomes a beginner version that names every move, and one highlight package explains itself to someone watching the sport for the first time, with nothing re-shot and nobody re-recorded. The pipeline is asynchronous: submit the video and a prompt, poll until the task reports SUCCESS, then fetch the result.

Prerequisites

1

Create an account

Sign up at CAMB.AI Studio if you haven’t already.
2

Get your API key

Go to Settings → API Keys in Studio and copy your key. See Authentication for details.
3

Install the SDK

Skip this step if you’re using the direct API.
4

Set your API key to use in your code


Code

This submits a video, polls until it finishes, prints the download links and creates a public link to share.
Personalization re-voices every line, so a run takes noticeably longer than the source video. Poll every 10 to 15 seconds rather than submitting the job twice.

Writing the Prompt

The prompt decides how the video gets re-told, so give it a sentence or two rather than a single word. Say three things: who is watching, what they already know, and how it should sound. Be specific about who. “A total beginner” beats “viewers”, because the script then explains the things that person would not know. A beginner needs every move named and the pace slowed; someone who trains every day does not. Words like friendly, slow or punchy also change how each line is spoken, since every line is re-voiced.

Examples

make it better, professional or a single word like kids will produce a competent read of the original and little else. The system has nothing to aim at, so it re-words rather than re-frames.

What the Prompt Cannot Change

The prompt steers wording and delivery, not substance. Claims, numbers, names and anything shown on screen stay as they are, and the speakers keep their own voices and turns. Asking for a different ending, an extra feature or a competitor’s name will not produce one.

Using an Uploaded File

Pass file_id instead of video_url to personalize a video you uploaded through the Files API. Provide exactly one of the two. The Files API is enabled per workspace; contact support if your key cannot reach it.

Listing Your Runs

Every personalization you start, from the API or from Studio, appears in one list with its progress, so you can drive a dashboard without holding on to task IDs.

Parameters

Required

Optional

Result Fields


Tips

  • Source quality carries through. Clear speech with little crosstalk personalizes best, exactly as it dubs best.
  • One audience per run. Two audiences in one prompt average into a voice that suits neither. Submit the same video twice instead; the source is transcribed per run, so the two results stay independent.
  • Keep the music off for corporate re-cuts. keep_music=false gives you clean speech to lay under your own bed.
  • Links expire. video_url and audio_url are time-limited. Call the result endpoint again for a fresh link rather than caching one.
  • Share links last 7 days. Calling the share endpoint again inside that window returns the same link rather than minting a new one.

Next Steps

Create Video Personalization

Full API reference for the creation endpoint.

Get Task Status

Status polling endpoint reference.

Get Result

Retrieve the personalized video and audio URLs.

Create a Share Link

Publish a finished video on a link that works for 7 days.
Last modified on December 1, 2026