Create UGC Ad Video
Videos
UGC Ads
Create authentic user-generated content style ads with AI avatars
POST
Create UGC Ad Video
Try it out! Use the API playground on the right to test the UGC Ads endpoint directly.
Overview
UGC Ads videos are perfect for creating authentic-looking user-generated content style advertisements. This format is ideal for:- Social media advertising (TikTok, Instagram Reels, Facebook)
- Product reviews and testimonials
- Influencer-style marketing content
- Authentic brand storytelling
UGC Ads use AI avatars with voice synthesis to create realistic spokesperson videos that feel natural and engaging.
Endpoint
Required Fields
The script for the avatar to speak (1-10,000 characters). Write naturally as if a real person is speaking.
Avatar ID from
/v1/avatar/list. Choose an avatar that matches your target audience.Voice ID from
/v1/voice/list. The voice used for the avatar’s speech.Caption settings for the video
Ad-specific settings for B-roll behavior
Video aspect ratio:
ratio_9_16: Vertical (TikTok, Reels, Shorts) - Recommended for UGCratio_16_9: Horizontal (YouTube)ratio_1_1: Square (Instagram)
Language code for the video (max 2 characters).
B-roll media items (min 1, max 50). At least one media item is required. These are images or videos that will be shown during the ad.
Optional Fields
Video name (max 100 characters)
Music ID from
/v1/music/list for background music.HTTPS URL to receive completion notification (max 500 characters). Highly recommended for production use.
Custom metadata object (max 5KB). Store any additional data you need to associate with this video.
Request Examples
Basic UGC Ad
Complete UGC Ad
Response
Webhook Notification
When your video is ready, we’ll POST to your webhook URL:Webhook Payload
Your webhook endpoint must return a
200 status code. We’ll retry up to 3 times if the request fails.Caption Presets
Available caption presets for thecaption.preset field:
| Preset | Description |
|---|---|
default | Default caption style with bold text and shadow effects |
beast | Bold uppercase style with Komika font |
umi | Yellow glowing text style |
tiktok | Viral & trendy style, perfect for social media |
wrap1 | Wrapped style with red background highlight |
wrap2 | Wrapped style with blue background highlight (uppercase) |
ariel | Bold uppercase style with purple highlight |
slidevid | Brand style with purple background |
classic | Clean, simple captions with black background (Default) |
active | Green background with bold text |
bubble | White background bubble style |
glass | Glassmorphic transparency effect |
comic | Comic Sans font with colorful style |
glow | Pink and orange glow effects |
pastel | Soft pastel pink background |
neon | Green neon glow effect |
retroTV | Retro TV style with cyan glow |
red | Red glow effect with white text |
marker | Yellow marker/highlighter style |
modern | Contemporary white background style |
blue | Blue background style |
vivid | Vibrant pink background with uppercase text |
B-Roll Types
Available B-roll display options foradSettings.bRollType:
| Type | Description |
|---|---|
down | Avatar on top half, B-roll on bottom half (Default) |
up | B-roll on top half, avatar on bottom half |
left | Avatar on right, B-roll on left - balanced layout |
right | Avatar on left, B-roll on right - balanced layout |
rounded-cover | Rounded avatar overlay on B-roll background |
full-width | B-roll covers entire screen, avatar hidden |
Best Practices
Write Naturally
Scripts should sound conversational. Use contractions, pauses, and natural speech patterns.
Hook First
Start with an attention-grabbing hook in the first 2-3 seconds to stop scrolling.
Keep It Short
15-60 seconds is ideal for social media ads. Get to the point quickly.
Use B-Roll
Add product shots or demos to keep viewers engaged and showcase your product.
Common Use Cases
Product Reviews
Product Reviews
Create authentic-looking product review videos.
Testimonials
Testimonials
Showcase customer success stories.
Unboxing Videos
Unboxing Videos
Create engaging unboxing content.
Error Handling
| Error | Description | Solution |
|---|---|---|
script: Script must be at least 1 character | Missing or empty script | Add the script field with your ad content |
avatarId: Avatar not found | Invalid avatar ID | Use a valid avatar ID from /v1/avatar/list |
voiceId: Voice not found | Invalid voice ID | Use a valid voice ID from /v1/voice/list |
webhook: Must be a valid HTTPS URL | Invalid webhook URL | Ensure webhook URL starts with https:// |
media: Cannot have more than 50 media items | Too many media items | Reduce media array to 50 items or fewer |
Not enough credits | Insufficient credits | Top up your account credits |
Next Steps
List Avatars
Browse available avatars for your ads
List Voices
Find the perfect voice for your content
List Videos
View all your created videos
Webhooks Guide
Learn how to handle webhook notifications
Authorizations
Body
application/json
The script for the avatar to speak (1-10,000 characters)
Required string length:
1 - 10000Avatar ID from /v1/avatar/list
Maximum string length:
30Voice ID from /v1/voice/list. If not provided, uses avatar's default voice.
Maximum string length:
30B-roll media items (min 1, max 50). At least one media item is required.
Required array length:
1 - 50 elementsVideo aspect ratio
Available options:
ratio_9_16, ratio_16_9, ratio_1_1 Language code (max 2 characters)
Available options:
en, es Maximum string length:
2Video name (max 100 characters)
Maximum string length:
100Music ID from /v1/music/list for background music
Maximum string length:
30HTTPS URL to receive completion notification
Maximum string length:
500Custom metadata object (max 5KB)