Skip to main content
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) - Recommended
  • ratio_16_9: Horizontal (YouTube)
  • ratio_1_1: Square (Instagram)
string
default:"en"
Language code for the video (2 characters). Example: en, es
boolean
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 the caption.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

Important: The website URL must be publicly accessible and not behind authentication.

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
  • 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

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
productAdSettings
object
required

Product Ad specific settings

avatarId
string
required

Avatar ID from /v1/avatar/list

Required string length: 1 - 30
voiceId
string
required

Voice ID from /v1/voice/list

Required string length: 1 - 30
name
string

Video name (max 100 characters)

Maximum string length: 100
lipsyncModel
enum<string>
default:base

Lipsync quality model for avatar synchronization

Available options:
base,
pro
caption
object
addStickers
boolean
default:false

Enable automatic sticker generation for the video

audio
object

Voice audio settings

aspectRatio
enum<string>
default:ratio_9_16

Video aspect ratio

Available options:
ratio_9_16,
ratio_16_9,
ratio_1_1
language
string
default:en

Language code (2 characters)

Required string length: 2
webhook
string

HTTPS URL to receive completion notification

Maximum string length: 500
metadata
object

Custom metadata object (max 5KB)

Response

Product Ads project created successfully

success
boolean
data
object
message
string