
replicate/image-counter-cog-runtime
Public
1
run
Run replicate/image-counter-cog-runtime 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 |
---|---|---|---|
n_iterations |
integer
|
4
Min: 1 Max: 1000 |
Number of iterations
|
sleep_time |
number
|
2
Max: 10 |
Number of seconds to sleep between iterations
|
output_every |
integer
|
1
Min: 1 |
How often to output progressive output
|
{
"type": "object",
"title": "Input",
"properties": {
"sleep_time": {
"type": "number",
"title": "Sleep Time",
"default": 2,
"maximum": 10,
"minimum": 0,
"x-order": 1,
"description": "Number of seconds to sleep between iterations"
},
"n_iterations": {
"type": "integer",
"title": "N Iterations",
"default": 4,
"maximum": 1000,
"minimum": 1,
"x-order": 0,
"description": "Number of iterations"
},
"output_every": {
"type": "integer",
"title": "Output Every",
"default": 1,
"minimum": 1,
"x-order": 2,
"description": "How often to output progressive output"
}
}
}
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"
}