
smoretalk / banner-agent
- Public
- 88 runs
Run smoretalk/banner-agent 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 |
---|---|---|---|
image |
string
|
Input image to process
|
|
text |
string
|
Generate a banner for a new product
|
Text description for banner generation
|
aspect_ratio |
string
(enum)
|
vertical
Options: vertical, square, horizontal |
Aspect ratio for the output
|
g_api_key |
string
|
Google API key for Gemini
|
|
f_api_key |
string
|
FAL API key for image processing
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"g_api_key",
"f_api_key"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"default": "Generate a banner for a new product",
"x-order": 1,
"description": "Text description for banner generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image to process"
},
"f_api_key": {
"type": "string",
"title": "F Api Key",
"x-order": 4,
"description": "FAL API key for image processing"
},
"g_api_key": {
"type": "string",
"title": "G Api Key",
"x-order": 3,
"description": "Google API key for Gemini"
},
"aspect_ratio": {
"enum": [
"vertical",
"square",
"horizontal"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio for the output",
"default": "vertical",
"x-order": 2
}
}
}
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"
}