
andreasjansson/iterative-svg-generation
Public
2
runs
Run andreasjansson/iterative-svg-generation 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 |
---|---|---|---|
prompt |
string
|
None
|
|
max_iterations |
integer
|
10
Min: 1 Max: 20 |
Maximum number of improvement iterations
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0
},
"max_iterations": {
"type": "integer",
"title": "Max Iterations",
"default": 10,
"maximum": 20,
"minimum": 1,
"x-order": 1,
"description": "Maximum number of improvement iterations"
}
}
}
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"
}