For developers
How to generate personalized video gifts from an API
The short answer
Yes. The My Video Gift API returns a finished personalized video gift: create a gift, add photo URLs, then render. A short brief and photos go in; an original song that names the recipient and a cinematic film come out. Drive it via REST, an MCP server, or no-code tools like Zapier and n8n. Needs a live key with prepaid credits, about $25 per delivered film.
If you want to make gift videos in bulk, or let an agent create one on demand, you don't need to touch a video editor. My Video Gift exposes the whole pipeline — an original song that names the recipient, photo restoration, and a cinematic montage — behind a small REST API, an MCP server, and a set of no-code connectors.
Here's every way to generate one programmatically, exactly what goes in and comes out, and a concrete business recipe at the end.
Generate a gift with the REST API
Four JSON calls over HTTPS. The base URL is https://myvideogift.com/api/v1, and authenticated calls carry your key as a Bearer token. Everything up to the render is free — you only spend on a delivered film.
- 1
Create the gift
POST /v1/gifts with the occasion, recipient_name, and relationship. It returns a gift_id — the server owns the order from there. Browse valid occasion slugs first with GET /v1/occasions.
- 2
Add photos
POST /v1/gifts/{id}/photos with 1 to 10 public image URLs (or inline base64) per call, up to 30 per gift. Short video clips are additive and optional via /v1/gifts/{id}/clips.
- 3
Render — the one paid call
POST /v1/gifts/{id}/render with consent: true, your attestation that you hold the rights to the photos and the recipient's depiction. This debits the tier price from your prepaid balance and starts the render. It returns 202 immediately.
- 4
Poll for the film
GET /v1/gifts/{id} until status is delivered-paid, then read film_url (full-HD MP4s in both 16x9 and 9x16) and gift_url (a hosted gift page that plays the film). A held or failed render auto-refunds.
The whole flow, in four calls
Create, add photos, render with consent, then poll. Swap mvg_live_... for your live key.
curl
# 1. Create the gift (free)
curl -X POST https://myvideogift.com/api/v1/gifts \
-H "Authorization: Bearer mvg_live_..." \
-H "Content-Type: application/json" \
-d '{
"occasion": "anniversary-video",
"recipient_name": "Maria",
"relationship": "my wife",
"memory": "Twenty-five years since the courthouse wedding in the rain.",
"feeling_words": ["tender", "grateful"],
"tier": "signature"
}'
# → { "gift_id": "b3f1c2a4-...", "status": "reserved", "share_slug": "maria-..." }
# 2. Add photos (free)
curl -X POST https://myvideogift.com/api/v1/gifts/b3f1c2a4-.../photos \
-H "Authorization: Bearer mvg_live_..." \
-H "Content-Type: application/json" \
-d '{ "photos": [ { "url": "https://example.com/wedding.jpg" } ] }'
# 3. Render — the one paid call (debits your prepaid balance)
curl -X POST https://myvideogift.com/api/v1/gifts/b3f1c2a4-.../render \
-H "Authorization: Bearer mvg_live_..." \
-H "Content-Type: application/json" \
-d '{ "consent": true }'
# → { "status": "rendering", "charged_cents": 2500, "poll_after_sec": 60 }
# 4. Poll until delivered, then read film_url + gift_url
curl https://myvideogift.com/api/v1/gifts/b3f1c2a4-... \
-H "Authorization: Bearer mvg_live_..."What goes in, what comes out
In: a few photos of the recipient (phone snapshots are fine), the occasion, who it's for, and an optional memory or a handful of feeling words the song can lean on. Optional short video clips can be added too.
Out: a finished film — an original song that names the recipient, each photo gently restored and set in motion, delivered as full-HD MP4s in both 16x9 and 9x16, plus a shareable hosted gift page. There's no editing and no preview step on the API path; the render is server-side and deterministic.
Three ways to generate a gift
Same pipeline behind each — pick the surface that fits how you build.
The REST API
The four calls above. Best for backends and custom services. Base URL https://myvideogift.com/api/v1, authenticated with a Bearer key. An Idempotency-Key header makes retried creates safe.
The MCP server (for agents)
Run npx myvideogift-mcp and any Model Context Protocol client — Claude Desktop, Cursor, agent frameworks — gets five tools: list_occasions, check_account, create_gift, get_gift, and list_gifts. It's on npm, the official MCP registry (io.github.CryptoLibertus/myvideogift), and Smithery; source at github.com/CryptoLibertus/myvideogift-mcp.
No-code and automation
n8n (the n8n-nodes-myvideogift community node), Zapier, Pipedream, Activepieces, Apify, and Make (via the REST API). Trigger a gift from a CRM contact, a spreadsheet birthday, or a new order, then auto-deliver the finished film.
Add the MCP server to an agent
Point any MCP client at the server with your live key. Example for Claude Desktop's config:
claude_desktop_config.json
{
"mcpServers": {
"myvideogift": {
"command": "npx",
"args": ["-y", "myvideogift-mcp"],
"env": { "MVG_API_KEY": "mvg_live_your_key_here" }
}
}
}Recipe: auto-generate employee-appreciation videos
A common B2B pattern — turn an HRIS work anniversary into a personalized employee-appreciation film, automatically. Wire it with n8n, Zapier, or the raw API.
- 1
Trigger on the milestone
Watch your HRIS (BambooHR, Workday, HiBob) for an upcoming work anniversary, or a new hire's start date. Any date-based trigger works.
- 2
Create the gift
Call create_gift (or the no-code Create Video Gift step) with occasion employee-appreciation-video, the employee's name, relationship 'our teammate', and a memory pulled from their record. Attach 3 to 10 photos from your team directory by URL.
- 3
Render with consent
Pass consent: true to attest your company holds the rights to the photos and the person's depiction. One prepaid credit is spent; a held or failed render auto-refunds.
- 4
Deliver
Wait a few minutes, poll get_gift (or Find Video Gift) for the film_url, then email it, drop it in Slack, or play it at the all-hands. The same shape drives donor-thank-you-video, real-estate-closing-video, and new-hire-welcome-video.
What it costs (honest scope)
The API is wholesale and metered: you prepay credits and pay one flat price per delivered film — standard $12, or signature $25 (the default, with premium motion and a best-of-three song). Browsing occasions, creating a gift, uploading photos, and polling are all free; only a delivered render is charged, and a held or failed render is auto-refunded.
You need a live key with credits from developers.myvideogift.com. Test keys run the exact same API as a free sandbox but won't render a real film.
Prefer to make one by hand first? The consumer flow at myvideogift.com is browser-based, $49 flat, and includes a free preview with the real song before you pay — a good way to judge the output quality before you wire up the API.
Get an API key
Create a live key, add prepaid credits, and read the full API and MCP docs at developers.myvideogift.com. Test keys run the same API as a free sandbox before you spend a cent.
Common questions
- Is there an API to generate a personalized video gift?
- Yes. My Video Gift has a REST API — POST /v1/gifts, add photos, then render — plus an MCP server and no-code connectors. Photos and a short brief go in; a finished personalized video gift with an original song that names the recipient comes out. You need a live key with prepaid credits.
- How is this different from a video-generation API like Creatomate or Shotstack?
- Those are video-editing primitives: you supply the script, timing, layers and audio, and they render the composition you built. My Video Gift is higher-level — it writes the original song that names the recipient, restores and animates the photos, and returns a finished gift film. You bring a few photos and a short brief, not a timeline.
- How do I generate a personalized video gift programmatically?
- Make four JSON calls to https://myvideogift.com/api/v1: create the gift (occasion plus recipient), add photo URLs, POST render with consent: true, then poll GET /v1/gifts/{id} until status is delivered-paid to get the film URL. Everything before the render is free.
- Can AI agents create video gifts with MCP?
- Yes. Run npx myvideogift-mcp and any Model Context Protocol client gets five tools — list_occasions, check_account, create_gift, get_gift, and list_gifts. It's published on npm, the official MCP registry (io.github.CryptoLibertus/myvideogift), and Smithery, so an agent can create and deliver a gift on its own.
- How do I automate personalized videos without code?
- Use n8n (the n8n-nodes-myvideogift community node), Zapier, Pipedream, Activepieces, Apify, or Make. Trigger on a CRM contact, a spreadsheet birthday, or a new order; the Create Video Gift step makes and renders the film, and a delivered-gift trigger hands you the URL to send.
- How much does the video gift API cost?
- It's wholesale, pay-per-delivery from prepaid credits: standard $12 or signature $25 per delivered film (signature is the default). Creating, uploading, and polling are free; only a delivered render is charged, and a held or failed render auto-refunds. The consumer flow at myvideogift.com is $49 in the browser with a free preview.
- Can I automate employee-appreciation or thank-you videos?
- Yes. Built-in business occasion presets include employee-appreciation-video, new-hire-welcome-video, donor-thank-you-video, and real-estate-closing-video. A common recipe watches an HRIS for a work anniversary, then auto-generates and delivers an appreciation film to the employee.
More guides
Last updated July 11, 2026 · Written by Adam Kling, founder of My Video Gift. Song and idea suggestions verified July 7, 2026.