vatsalkshah/text2art
Public
446
runs
Run vatsalkshah/text2art 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
|
Initial Image, optional. When the image is provided, the prompts will be used to create some 'style transfer' effect
|
|
| prompts |
string
|
A cute, smiling, Nerdy Rodent
|
Prompts for generating images. Supports multiple prompts separated by pipe |
|
| iterations |
integer
|
300
|
total iterations for generating images. Set to lower iterations when initial image is uploaded
|
| display_frequency |
integer
|
20
|
display frequency for intermediate generated images
|
{
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"x-order": 0,
"description": "Initial Image, optional. When the image is provided, the prompts will be used to create some 'style transfer' effect"
},
"prompts": {
"type": "string",
"default": "A cute, smiling, Nerdy Rodent",
"x-order": 1,
"description": "Prompts for generating images. Supports multiple prompts separated by pipe | "
},
"iterations": {
"type": "integer",
"default": 300,
"x-order": 2,
"description": "total iterations for generating images. Set to lower iterations when initial image is uploaded"
},
"display_frequency": {
"type": "integer",
"default": 20,
"x-order": 3,
"description": "display frequency for intermediate generated images"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "uri",
"x-order": 0
},
"text": {
"type": "string",
"x-order": 1
}
}
},
"x-cog-array-type": "iterator"
}