Create Product Ad Video
Videos
Product Ads
Create product advertisement videos with AI avatars and scrolling website capture
POST
Create Product Ad Video
Try it out! Use the API playground on the right to test the Product Ads endpoint directly.
Overview
Product Ads combine AI avatars with automatic website scrolling to create engaging product advertisement videos. The avatar presents your product while the website scrolls in the background, showcasing your product page. This format is ideal for:- Product launches and demos
- E-commerce advertising
- SaaS product showcases
- Website feature highlights
- Landing page promotions
Product Ads automatically capture your website and create a scrolling video that syncs with the avatar’s narration. The website appears behind the avatar after a customizable intro duration.
Endpoint
Required Fields
string
required
The script for the avatar to speak (1-10,000 characters). Write naturally as if presenting your product.
object
required
Product Ad specific settings
string
required
Avatar ID from
/v1/avatar/list. Choose an avatar that matches your brand and target audience.string
required
Voice ID from
/v1/voice/list. The voice used for the avatar’s speech.Optional Fields
string
Video name (max 100 characters). If not provided, a name will be auto-generated.
string
default:"base"
Lipsync quality model for avatar synchronization:
base: Standard lipsync quality (faster, lower cost)pro: Enhanced lipsync quality (slower, higher quality)
object
Caption settings for the video
string
default:"ratio_9_16"
Video aspect ratio:
ratio_9_16: Vertical (TikTok, Reels, Shorts) - Recommendedratio_16_9: Horizontal (YouTube)ratio_1_1: Square (Instagram)
string
default:"en"
Language code for the video (2 characters). Example:
en, esboolean
default:"false"
Enable automatic sticker generation for the video. Adds engaging visual elements automatically.
object
Voice audio settings
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 Product Ad
Product Ad with Custom Settings
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.Scroll Modes
Available scroll modes for website behavior:Lipsync Models
Caption Presets
Available caption presets for thecaption.preset field:
Best Practices
Choose the Right Avatar
Select an avatar that matches your brand personality and target audience demographics.
Optimize Website URL
Use a clean, focused landing page that highlights your product’s key features.
Set Intro Duration
Use 2-5 seconds for the avatar intro to grab attention before showing the website.
Select Scroll Mode
Use
restart for product listings, loop for hero sections, once for long content.Use Pro Lipsync
Choose
pro lipsync model for professional ads and brand content.Add Background Music
Enhance engagement with subtle background music that complements the narration.
Website URL Guidelines
Best Practices
- Use HTTPS URLs only
- Ensure the website loads quickly
- Use mobile-responsive pages
- Avoid pages with heavy animations or popups
- Test the URL in an incognito browser window
Recommended Page Types
- Product landing pages
- Feature highlight pages
- Pricing pages
- Homepage hero sections
- Demo pages
Error Handling
Next Steps
List Avatars
Browse available avatars for your product ad
List Voices
Find the perfect voice for your avatar
List Music
Add background music to your ads
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 - 10000Product Ad specific settings
Avatar ID from /v1/avatar/list
Required string length:
1 - 30Voice ID from /v1/voice/list
Required string length:
1 - 30Video name (max 100 characters)
Maximum string length:
100Lipsync quality model for avatar synchronization
Available options:
base, pro Enable automatic sticker generation for the video
Voice audio settings
Video aspect ratio
Available options:
ratio_9_16, ratio_16_9, ratio_1_1 Language code (2 characters)
Required string length:
2HTTPS URL to receive completion notification
Maximum string length:
500Custom metadata object (max 5KB)