Make a memorial slideshow that loops and plays offline at the venue
You get a memorial slideshow, also called a funeral slideshow or a celebration of life video, from your photos and clips. It runs with soft music and the person's name and dates, loops for the whole visitation or reception, and plays from an MP4 file on a USB stick or a laptop, with no internet at the venue.
Use invideo for this when you need it right the first time and on the day: every photo stays editable until the last minute, your agent makes one long looped file, and you download it to play offline.
Quickest path
Set up your agent first with invideo for AI agents. Then give it this prompt.
Make a memorial slideshow for my father, James Okafor, 1948 to 2026,from the photos in ./dad, oldest first. Six seconds a photo, slowfades, gentle piano, "In loving memory" at the start. Make it loop fortwo hours, export it as an MP4 and save it to ./usb. Show me framesbefore you export.In a chat app, you drag the photos into the project's Media panel in invideo, then name them in the chat. Then you download the file from the export card. In a terminal, you name the folder, and the agent saves the file for you.
What you need
Ask family for photos early. Scans of old prints work well.
- Photos and clips. JPG, PNG, HEIC, MP4 or MOV. Name them
01.jpg,02.jpgto keep the order. - The words. The full name, the dates, a short line or a verse, and captions if you want them.
- The music. A gentle mood from stock music, or a favorite song you have the rights to play.
- The venue's screen. A TV with a USB port, a projector with a laptop, or a media player. Ask the venue which.
- How long it must play. The length of the visitation or the reception.
- The shape. 16:9 for almost every TV and projector.
Steps
Your agent edits on a branch, so the family can review before anything is final.
Make the slideshow
The agent makes a project with
new_projectand a 16:9 timeline withnew_timeline, then creates a branch withtimeline_history. It uploads the photos withstart_uploadandadd_media, places them in order withinsert_media, and sets each one's length withtrim_clip. Expected result: one clip per photo, in order.Sharpen a small scan, if you need to
For a small or soft scan, the agent runs
find_modelswith the job in words, like "upscale an old photo scan", andget_modelon its pick. A good pick iscrystal_upscaler. Your agent can search for others withfind_models. It callsgeneratewithsource_imageset to the scan's sequence URL,scale_factor2 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, and swaps the new image in on the timeline. The original stays. Expected result: a sequence URL for the sharper image, which the agent reads withread, never with a secondgenerate.Add the words, fades and music
The agent adds the name, the dates and the opening line with
add_text, and afadebetween photos withadd_transition. It adds a track fromstock_musicwithsearch_libraryandadd_media, and fades it out withset_audio_fades. Portrait photos get thefit_with_blureffect. Expected result: a slideshow that runs once from start to end.Check it with the family
The agent runs
captureat the title, at faces, and at the end, andcheck_timeline. It gives you the timeline URL to share for review. Expected result: frames you and the family approve.Export one pass
The agent runs
exportwithformatvideo,quality1080 and anidempotency_key. It reads the export card until its status iscompleted. Expected result: a 1080p MP4 of one pass.Make the long loop
The export card is a sequence, so the agent runs
mediavideo.loopon the card's URL as it is, withtarget_durationset to the event length in seconds and anidempotency_key. The dry run shows its price before anything starts. Expected result: one long MP4 sequence that repeats the slideshow.Download the file and test it at the venue
In a terminal, the agent saves the looped file with
invideo notebook showand--out, then renamesexport.mp4to a name likejames-memorial.mp4. In a chat app, you download it from the sequence, whosefilelinkreadreturns. You copy it to a USB stick or the laptop, play it on the venue's TV or player from start to end, and turn on the player's repeat setting as a backup. Expected result: the file plays, the sound is right, and the text fits the screen.
The same job from a terminal:
invideo project new --title "James Okafor memorial"invideo agent register <project-url> --name <name>export INVIDEO_AS=<name>invideo edit new <project-url> --name "Memorial"invideo asset upload <edit-url> ./dad/*invideo gen models <project-url> --query "upscale an old photo scan"invideo gen model <project-url> --model crystal_upscalerinvideo gen run <page-url> --model crystal_upscaler --dry-run \ -i source_image=<scan-sequence-url> -i scale_factor=2invideo gen run <page-url> --model crystal_upscaler \ --max-credits <price> --idempotency-key scan-1 \ -i source_image=<scan-sequence-url> -i scale_factor=2invideo edit show <edit-url>invideo branch new <edit-url> --name family-review --token <state_token>invideo edit show <branch-url>invideo edit change <branch-url> --timeline T1 --token <state_token> \ --operations @ops.jsoninvideo edit capture <branch-url> --at 0,30,90,300 --out ./framesinvideo edit export <branch-url> --format video --quality 1080 \ --idempotency-key james-1 --jsoninvideo status <card-url> --waitinvideo notebook show <card-url> --out ./usbinvideo media video.loop <card-url> --target-duration 7200 --dry-runinvideo media video.loop <card-url> --target-duration 7200 \ --max-credits <price> --idempotency-key james-loop-1invideo status <loop-sequence-url> --waitinvideo notebook show <loop-sequence-url> --out ./usb/loopWhere 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.<state_token>comes frominvideo edit show <edit-url>forbranch new, and frominvideo edit show <branch-url>on the branch.<branch-url>is the.branch_urlthatbranch newreturns.- The
crystal_upscalerlines are only for a small scan.<scan-sequence-url>is the URLinvideo asset uploadreturns for that photo.<page-url>is a notebook page;invideo notebook show <project-url>lists them.<price>is the dry run's.estimated_credits, orcreditson thevideo.loopdry run. ops.jsonholds a bare list of operations, such asinsert_media,trim_clip,add_textandadd_transition.<card-url>is.sequences[0]of the export result.<loop-sequence-url>is the URL the paidvideo.looprun returns.invideo notebook showsaves the export as./usb/export.mp4, whatever--file-namesays. Rename each file after it lands.
The key MCP call is the full media call that makes the long loop from the exported video. <card-url> is the export card's URL, from the export result.
{ "url": "<card-url>", "op": "video.loop", "target_duration": 7200, "idempotency_key": "james-loop-1"}To loop on the timeline instead, the agent nests the slideshow with nest_clips, copies it with duplicate_clip, and adds a fade at each seam with add_transition. Then one export has the whole loop.
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.
- Free: uploads, the slideshow, the export and the download.
- Tool ops:
video.loop. The dry run shows its price before anything starts. - Costs credits: paid stock music, and a sharper scan with
crystal_upscaler. Your own music file costs nothing.
The slideshow takes the agent a few minutes. A long export and loop take longer, so make the file well before the service. See Credits and what they cost for prices.
If something goes wrong
Most problems happen at the venue, so test the file there before the day.
| 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 venue TV does not open the file | Try the laptop with a video player app, or ask the venue for a media player. Keep a second copy on the laptop. |
| The file is too big for the USB stick | Use a larger stick, or loop for less time and turn on the player's repeat setting. |
| The download link stopped working | Download links expire. read the export card or the sequence again for a new one. |
| The music is too loud in the room | Export again with a lower target_lufs, or turn the venue volume down. |
| A jump where the loop repeats | Add a fade to black at the start and the end with add_edge_transition, then export and loop again. |
Status failed on the export | The agent reads the card for the reason, fixes it, and exports once more with a new idempotency_key. |
| Avoid: playing from the export page at the venue | Instead: play the downloaded file. Venue internet is often weak. |
| Avoid: making the file on the morning of the service | Instead: make and test it well before the day. |
| A photo in the review frames is wrong | The agent removes it with delete_clip, places the right photo with insert_media, then runs capture again. |
Prompts to try
Each prompt is a real variation of the job.
Make a celebration of life video for Aunt Maria from ./maria. Bright,warm music, her favorite quote at the start, and a caption with theyear on each photo. One hour loop.Make a short funeral slideshow, about five minutes, to play once duringthe service. Include the two video clips in ./clips with their sound,and "Forever loved" at the end.Make two versions on two branches: a 16:9 loop for the venue TV, and avertical one minute version to share with family on WhatsApp.When to use something else
invideo does not burn DVDs. If the venue only has a DVD player, use a DVD burning app with the MP4 file.
For a livestream of the service, use a streaming service. invideo makes files, not live broadcasts.