pipeline-examples/video-ads

Video ads with a product!

Public
110 runs

Run pipeline-examples/video-ads with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
product_image
string
Upload an image of your product
num_prompts
integer
3

Min: 1

Max: 10

Number of different ad variations to create
product_description
string
Optional description of your product to help generate better prompts
target_audience
string
general consumers
Target audience for the ads (e.g., 'young professionals', 'fitness enthusiasts', 'luxury buyers')
ad_style
string
modern and clean
Style preference for the ads (e.g., 'minimalist', 'vibrant and energetic', 'luxury and elegant')
video_duration
None
5
Duration of animated videos in seconds

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output",
  "x-cog-array-type": "iterator"
}
Example API response
View prediction
['https://replicate.delivery/xezq/onEKv3gA3NIFHJkTXW3qikfgEUlcC16gfquDlnKb8jsxF9MVA/tmppfs9c10e.mp4',
 'https://replicate.delivery/xezq/B4YGbdcvtK5YGxhSDjpKogXPjENqEnlx7HAzsv5EGlBnRPTF/tmpu084b_jq.mp4',
 'https://replicate.delivery/xezq/9WeTzPQW9pQ4PSKAviOanOlfWDybmXtbgo6PejNvzIy6M6ZqA/tmpq4esh87r.mp4']