pollinations / pollinations
- Public
- 8 runs
Run pollinations/pollinations 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 |
---|---|---|---|
prompts |
string
|
Prompts for image generation
|
|
width |
integer
|
1024
|
Width of the generated image
|
height |
integer
|
1024
|
Height of the generated image
|
seed |
integer
|
-1
|
Seed for reproducibility
|
{
"type": "object",
"title": "Input",
"required": [
"prompts"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 3,
"description": "Seed for reproducibility"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"x-order": 1,
"description": "Width of the generated image"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"x-order": 2,
"description": "Height of the generated image"
},
"prompts": {
"type": "string",
"title": "Prompts",
"x-order": 0,
"description": "Prompts for image generation"
}
}
}
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"
}