The API makes videos the way the app does. A UGC video follows the same four
steps as the create-video dialog, and you make every choice the dialog lets
you make:
- Audience: who the video is for. Required: a saved audience, or
null
for a deliberately broad video.
- Recipe: the video format. Today there is one, a 30 second UGC voiceover.
- Concept: pick one of three concepts, each with its own hook, setting
and creator.
- Voice: pick the narrator.
You can also animate any finished Quick Shoot photo into a short video.
A UGC video costs 2 credits per second: 60 credits for 30 seconds. An
animation costs 2 credits per second of its length. Concepts, voices and
recipes are free.
Before you start
You need:
- an API key with
videos:generate and videos:read
- a product in LocalAds, on a plan that includes Video Ads
- 60 credits for a UGC video
1. Choose an audience
Every product gets audiences automatically when it is created. List them and
pick one:
Use its id as audience_id in the next steps, or null for a broad video.
Leaving audience_id out is an error, so an audience is never skipped by
accident. See Audiences.
2. Choose a recipe
3. Generate and pick a concept
Start three concepts for the audience:
Concepts are kept per audience. If this audience already has concepts, you
get them back instead of new ones; send "force": true to replace them.
Poll until three concepts have titles:
A concept can be picked as soon as it has a title; its image is a preview.
4. Pick a voice
Voices default to the accent of the market your brand sells in. Filter by
the concept’s creator so the narrator matches:
Pass locale (for example en-GB or hi-IN) for another accent.
preview_url plays a short demo and needs no key.
5. Create the video
concept_id and voice_id are optional. Leave one out and the render
chooses, the same as the app’s defaults.
LocalAds returns 202 Accepted:
A video is usually ready in about five minutes. Poll GET /videos/{video_id}
with backoff until status is completed or failed. A render that fails is
refunded.
Animate a photo
Turn a completed Quick Shoot photo into a video. The choices match the app’s
Animate dialog: 5 to 15 seconds, Portrait (9:16), Landscape (16:9) or
Square (1:1), and an optional prompt.
A 10 second animation costs 20 credits. Poll it the same way.
Errors
Last modified on September 30, 2026