UGC Video API
The UGC video API for developers.
Last updated: May 2026
One REST call. Actor + script in, finished MP4 with animated subtitles and B-roll out. Built for production pipelines, not browser dashboards. Plans from $39/month (Creator) with API access included.
Generate a UGC ad in one call
POST a script and actor ID; receive a finished MP4. Webhooks for async delivery, polling for sync flows.
curl -X POST https://api.agent-media.ai/v1/generate/ugc_video \
-H "Authorization: Bearer $AGENT_MEDIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"actor_slug": "sofia",
"script": "Try this AI tool that builds your UGC ads in seconds.",
"target_duration": 10,
"subtitle_style": "hormozi"
}'job_id; poll GET /v1/videos/{jobId} or set a webhook_url for async delivery.Everything finished in one response
200+ AI actors
Diverse demographics, ages, locations. Actor slugs are stable across runs.
Hormozi-style subtitles
Word-by-word animated subtitles burned into the final MP4. Toggle on or off per request.
B-roll generation
AI-generated supporting footage matched to your script keywords.
9:16 vertical output
Sized for TikTok, Reels, Shorts. 1080×1920 native.
Sync or async
Poll the job endpoint or pass a webhook_url for callback delivery when the video is ready.
Per-second pricing
Credits billed at 30/sec. A 10-second UGC video costs ~300 credits ($3) — pay only for what you render.
Use it from any language
REST means no SDK lock-in. Native SDKs ship for the languages you most likely use.
TypeScript SDK
Typed client on npm with built-in polling.
Python SDK
Sync + async on PyPI. Full type hints.
CLI
30 commands. npm i -g agent-media-cli.
MCP Server
For Claude Code, Cursor, Windsurf.
For other languages: the OpenAPI spec generates a typed client for Go, Rust, Java, Ruby, PHP, and more.
UGC Video API Pricing
API access is included on every paid plan, starting at $39/month (Creator). Per-second credit pricing at 30 credits/sec — a 10-second UGC video is ~300 credits ($3).
Creator
$39/mo
3,900 credits — ~13 10-second videos. API + CLI + SDKs included.
Pro
$69/mo
6,900 credits — ~23 10-second videos. Up to 15-second clips.
Pro Plus
$129/mo
12,900 credits — ~43 10-second videos. Plus pay-as-you-go credit packs that never expire.
Frequently Asked Questions
Is there a UGC video API I can use today?
Yes. agent-media offers a production REST API for UGC video generation. POST to /v1/generate/ugc_video with an actor slug and script; poll /v1/videos/{jobId} or pass a webhook_url for callback. Available on the $39 Creator plan.
How does the agent-media API differ from MakeUGC, Arcads, or Creatify?
MakeUGC and Arcads have no public API. Creatify offers an API on their higher tier. agent-media is API-first from the $39 Creator plan — REST plus TypeScript SDK, Python SDK, CLI, and MCP server, all included.
Do you support webhooks?
Yes. Pass a webhook_url in the generation request and we POST a job-completion event to that URL when the video is ready. URLs are SSRF-validated and must use HTTPS.
What output do I get from one API call?
A finished 9:16 MP4 (1080×1920) with the actor speaking your script, Hormozi-style word-by-word subtitles burned in by default, and optional B-roll cutaways generated from script keywords. No post-processing required.
How does pricing work?
Per-second credits at 30 credits/sec. A 10-second UGC video is ~300 credits (~$3). Plans: Creator $39 / 3,900 credits, Pro $69 / 6,900, Pro Plus $129 / 12,900. Pay-as-you-go credit packs are $39 for 3,900 credits and never expire.
Can I use my own AI-generated scripts?
Yes. Bring scripts from any LLM (OpenAI, Anthropic, Gemini, local). agent-media accepts plain text — no script format requirements. Most production pipelines pair our API with their LLM of choice.
Start generating UGC ads programmatically
Sign up for an API key and start generating from the free credits on your account. Plans from $39/month (Creator) when you're ready.