Make a personalized video message from Santa or an AI presenter
You get a personalized video message, also called a custom greeting video or a video from Santa, where a talking Santa or an AI presenter says the person's name and a few lines you write. The name also shows on screen, so it reads right even if the voice says it a little off. It works for a Christmas message, a birthday shout-out, a trip reveal or a thank-you.
Use invideo for this when you want to hear the voice and fix the name before you pay for the video: your agent makes the voice first, you listen, and only then does it make the talking presenter.
Quickest path
Set up your agent first with invideo for AI agents. Then give it this prompt.
Make a 30 second vertical video message from Santa for my son Arjun,age 6. Santa says he heard Arjun was kind to his little sister andthat he should keep practicing piano. Use an original Santa, a warmolder voice, and "Merry Christmas, Arjun" on screen. Let me hear thevoice and tell me the price before you make the video.In a chat app, you write the lines in the chat, and drag any photo into the project's Media panel in invideo. In a terminal, you name the files and the agent uploads them.
What you need
The words and the name matter most. Write the name the way it sounds if it is unusual.
- The script. Four to six short sentences, with the name and one or two real details.
- The name and how to say it. For example "Siobhan, said shi-VAWN".
- The presenter. An original Santa, an AI presenter, or a photo of a person who agreed to it.
- The voice. Warm, cheerful, calm, an accent. Not the voice of an actor or a film character.
- The shape. 9:16 for a phone, 16:9 for a TV.
invideo's terms of service ban deceptive impersonation and harmful deepfakes, and ask you to have the consent of each person whose face or voice is in your video. Each model provider also sets rules: some models decline to clone a real person's voice or face, others allow it with consent. Characters from a film, a show or a brand belong to their owners, and the rights are yours to clear. The safe ask is an original Santa or presenter.
Steps
Your agent makes the voice first, so you hear the name before it makes the video.
Write the script with you
The agent writes the lines with the name in them, spelled by sound when it is unusual, and reads them back to you. Expected result: a script you approve.
Pick a voice
The agent runs
find_modelswith the job in words, like "warm text to speech voice", andget_modelon its pick. A good pick iselevenlabs_text_to_speech.elevenlabs_tts_v4, orseed_tts_2_0. Your agent can search for others withfind_models. It searches that model's own voice library withsearch_library, for example "warm older man":elevenlabs_text_to_speech_voicesfor the ElevenLabs model,seed_tts_2_0_voicesfor Seed TTS. A voice id works only with its own model. You play the previews and pick one. Expected result: a voice id.Make the voice and listen
The agent runs
generatewith the script, the voice id anddry_run: true, and tells you the price. For a price of 1 credit or more it waits for your yes. Then it callsgeneratewithmax_creditsset to that price and anidempotency_key. You listen to the name. Expected result: the voice's sequence URL, which the agent reads withread, never with a secondgenerate.Make or bring the presenter image
For an original Santa, the agent runs
find_modelswith the job in words, like "portrait image of an original Santa", andget_modelon its pick. A good pick isnanobanana_pro. Your agent can search for others withfind_models. It callsgeneratewith aprompt,aspect_ratio9:16 anddry_run: true, and tells you the price. For a price of 1 credit or more it waits for your yes. Then it callsgeneratewithmax_creditsset to that price and anidempotency_key. For a real person, it brings in their photo withstart_uploadandadd_mediainstead. Expected result: an image's sequence URL with a clear, front-facing face, which the agent reads withread.Make the talking video
The agent runs
find_modelswith the job in words, like "talking avatar from a photo and a voice", andget_modelon its pick. A good pick isheygen_photo_avatar, which takesimage,audioandaspect_ratio. Your agent can search for others withfind_models, such askling_avatar.std, which takesimage,audioand aprompt. It callsgeneratewith the image, the voice anddry_run: true, and tells you the price. For a price of 1 credit or more it waits for your yes. Then it callsgeneratewithmax_creditsset to that price and anidempotency_key. Expected result: the talking video's sequence URL, as long as the voice, which the agent reads withread, never with a secondgenerate.Put the name on screen
The agent makes a timeline with
new_timeline, places the video withplace_mediaandlinked_audiotrue, and adds the name withadd_text. It can add soft music fromstock_musicunder the voice with theduckeraudio effect. A new timeline ducks underA1by default. The agent setsset_sidechain_sourceonly when the voice is on another track. Expected result: the name on screen while it is said.Check and export
The agent runs
captureat the start, the name and the end, andmediavideo.frameson the talking video to check the mouth and eyes. Then it runsexportwithformatvideo. In a terminal, it saves the file withinvideo notebook showon the card's URL. Expected result: an export card with statuscompleted.
The same job from a terminal:
invideo project new --title "Santa for Arjun"invideo agent register <project-url> --name <name>export INVIDEO_AS=<name>invideo gen models <project-url> --query "warm text to speech voice"invideo gen model <project-url> \ --model elevenlabs_text_to_speech.elevenlabs_tts_v4invideo library search <project-url> \ --library elevenlabs_text_to_speech_voices --query "warm older man"invideo gen run <page-url> --dry-run \ --model elevenlabs_text_to_speech.elevenlabs_tts_v4 \ -i prompt=@script.txt -i voice_id=<voice-id>invideo gen run <page-url> --max-credits <price> \ --idempotency-key arjun-voice-1 \ --model elevenlabs_text_to_speech.elevenlabs_tts_v4 \ -i prompt=@script.txt -i voice_id=<voice-id>invideo status <thread-url> --waitinvideo gen models <project-url> \ --query "talking avatar from a photo and a voice"invideo gen model <project-url> --model heygen_photo_avatarinvideo gen run <page-url> --dry-run --model heygen_photo_avatar \ -i image=<image-sequence-url> -i audio=<voice-sequence-url> \ -i aspect_ratio=9:16invideo gen run <page-url> --max-credits <price> \ --idempotency-key arjun-video-1 --model heygen_photo_avatar \ -i image=<image-sequence-url> -i audio=<voice-sequence-url> \ -i aspect_ratio=9:16invideo status <thread-url> --waitinvideo edit new <project-url> --name "Message" --width 1080 --height 1920invideo edit show <edit-url>invideo edit change <edit-url> --timeline T1 --token <state_token> \ --operations @ops.jsoninvideo edit export <edit-url> --format video --quality 1080 --jsoninvideo status <card-url> --waitinvideo notebook show <card-url> --out ./outWhere each value comes from:
<name>is the name you choose ininvideo agent register.INVIDEO_ASpasses it to every later command.<project-url>comes frominvideo project new, and<edit-url>frominvideo edit new.<voice-id>comes from thelibrary searchline.<page-url>is a notebook page;invideo notebook show <project-url>lists them. Each<price>is the.estimated_creditsof the dry run before it.<thread-url>is theurleach paid run returns.<voice-sequence-url>and the talking video's URL are the sequencesinvideo notebook show <thread-url>lists once each lands.<image-sequence-url>is the presenter image: the URLinvideo asset uploadreturns for a photo, or the sequence ananobanana_prorun makes with the same dry run and paid run pattern.<state_token>comes frominvideo edit show.ops.jsonholds a bare list of operations:place_mediafor the talking video andadd_textfor the name.<card-url>is.sequences[0]of the export result.invideo statuswaits and saves nothing.invideo notebook showsaves the file as./out/export.mp4.
The key MCP call is the full generate call that makes the talking video, as a dry run first. <page-url> is a notebook page from read on the project. The two sequence URLs are the image and the voice the earlier steps made.
{ "url": "<page-url>", "model": "heygen_photo_avatar", "dry_run": true, "inputs": { "image": "<image-sequence-url>", "audio": "<voice-sequence-url>", "aspect_ratio": "9:16", "expressiveness": "medium" }}Cost and time
Edits and exports are free. Generation and transcripts cost credits. Paid stock costs a small credit charge, or one of your workspace's iStock licenses. Your agent runs a dry run first and tells you the price before it spends anything.
- Costs credits: the voice, a generated presenter image, the avatar video, priced per second of voice, and paid stock music.
- Free: voice previews, the timeline, the name on screen,
captureand the export. - Tool ops:
video.frames. The dry run shows its price before anything starts.
The voice takes under a minute. The avatar video takes a few minutes. Making the voice first saves money, because a wrong name costs a voice, not a video. See Credits and what they cost for prices.
If something goes wrong
Most problems are the name, the mouth, or a model that declines a likeness.
| Symptom | Fix |
|---|---|
get_model or generate refuses the model as not found | Models retire. Run find_models with the job in words, use the best match, and tell the person which model you used. |
Exit code 6, or status is held | A safety review, not a refusal. Wait, then run invideo status <url> --wait again. Do not resend. If it ends failed, change the input the review flagged. |
| The voice says the name wrong | Spell it by sound in the script and make the voice again. The name on screen stays right. |
| The mouth does not match the words | Try the other avatar model, or a photo with the face straight on and the mouth closed. |
| A model declines a voice or a face | That model's provider does not allow that likeness. Read the refusal message, try a model whose rules allow it, or ask for an original look. |
Status needs_confirmation | Only you can confirm it, in invideo. Open the URL the agent gives you. |
| CLI exit 5 | A credit limit. Check your balance on the credits page. |
| Avoid: making the video before you hear the voice | Instead: voice first, then the avatar. |
Avoid: the agent resends generate after a timeout | Instead: it reads the thread, or retries with the same idempotency_key. |
Prompts to try
Each prompt is a real variation of the job.
Make a birthday shout-out from a friendly AI presenter for my friendKofi. She says happy birthday and mentions his trip to Lisbon. 1:1,with "Happy birthday, Kofi" on screen.Make a trip reveal for my parents. A presenter says "Pack your bags,you are going to Kyoto in April". End on a photo of Kyoto from stock.Vertical.Make the same Santa message for three kids, Ava, Leo and Noor, onebranch each. Only the name and one detail change. Let me hear eachname first.When to use something else
For a message from a real celebrity, use a service where the person records it themselves. Cloning a real person's voice or face depends on invideo's terms of service, the model provider's rules and the person's consent, which is yours to get.
For many messages from one recording, like sales videos, see Make a personalized video for every prospect from one recording. This page is for a few personal messages.