
andreasjansson/ad-carousel
Advertising text in animated bubbles go swoosh
Public
55
runs
Run andreasjansson/ad-carousel 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 |
---|---|---|---|
messages |
array
|
List of advertising messages to add to images
|
|
colors |
array
|
List of colors (color names or hex codes like #FF0000)
|
|
logo |
string
|
Optional logo image to use instead of the final message
|
|
prompts |
array
|
[]
|
Optional list of prompts for Hailuo video generation, with a length of len(colors) + 1 (one more prompt than colors). If empty, uses default prompt 'animated advertising text'.
|
{
"type": "object",
"title": "Input",
"required": [
"messages",
"colors"
],
"properties": {
"logo": {
"type": "string",
"title": "Logo",
"format": "uri",
"x-order": 2,
"nullable": true,
"description": "Optional logo image to use instead of the final message"
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"title": "Colors",
"x-order": 1,
"description": "List of colors (color names or hex codes like #FF0000)"
},
"prompts": {
"type": "array",
"items": {
"type": "string"
},
"title": "Prompts",
"default": [],
"x-order": 3,
"description": "Optional list of prompts for Hailuo video generation, with a length of len(colors) + 1 (one more prompt than colors). If empty, uses default prompt 'animated advertising text'."
},
"messages": {
"type": "array",
"items": {
"type": "string"
},
"title": "Messages",
"x-order": 0,
"description": "List of advertising messages to add to images"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/gPPFoeSenQi1lUeqgraP0rdBEHtZGE5kQ69JPiXode0BfLPqC/concatenated_video.mp4'