Skip to main content
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

string
required
The script for the avatar to speak (1-10,000 characters). Write naturally as if a real person is speaking.
string
required
Avatar ID from /v1/avatar/list. Choose an avatar that matches your target audience.
string
required
Voice ID from /v1/voice/list. The voice used for the avatar’s speech.
object
required
Caption settings for the video
object
required
Ad-specific settings for B-roll behavior
string
required
Video aspect ratio:
  • ratio_9_16: Vertical (TikTok, Reels, Shorts) - Recommended for UGC
  • ratio_16_9: Horizontal (YouTube)
  • ratio_1_1: Square (Instagram)
string
required
Language code for the video (max 2 characters).
array
required
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

string
Video name (max 100 characters)
string
Music ID from /v1/music/list for background music.
string
HTTPS URL to receive completion notification (max 500 characters). Highly recommended for production use.
object
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 the caption.preset field:

B-Roll Types

Available B-roll display options for adSettings.bRollType:

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

Create authentic-looking product review videos.
Showcase customer success stories.
Create engaging unboxing content.

Error Handling


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

x-api-key
string
header
required

Body

application/json
script
string
required

The script for the avatar to speak (1-10,000 characters)

Required string length: 1 - 10000
avatarId
string
required

Avatar ID from /v1/avatar/list

Maximum string length: 30
voiceId
string
required

Voice ID from /v1/voice/list. If not provided, uses avatar's default voice.

Maximum string length: 30
caption
object
required
media
object[]
required

B-roll media items (min 1, max 50). At least one media item is required.

Required array length: 1 - 50 elements
adSettings
object
required
aspectRatio
enum<string>
required

Video aspect ratio

Available options:
ratio_9_16,
ratio_16_9,
ratio_1_1
language
enum<string>
required

Language code (max 2 characters)

Available options:
en,
es
Maximum string length: 2
name
string

Video name (max 100 characters)

Maximum string length: 100
musicId
string

Music ID from /v1/music/list for background music

Maximum string length: 30
webhook
string

HTTPS URL to receive completion notification

Maximum string length: 500
metadata
object

Custom metadata object (max 5KB)

Response

UGC Ad created successfully

success
boolean
data
object
message
string