pratos
/
karlo
- Public
- 104 runs
Run pratos/karlo 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
|
A gentleman otter
|
Prompt for the model
|
num_output_images |
integer
|
1
Min: 1 Max: 5 |
Number of output images
|
prior_num_inference_steps |
integer
|
25
Min: 1 Max: 500 |
Number of denoising steps for prior. More denoising steps usually lead to a higher quality image at the expense of slower inference.
|
decoder_num_inference_steps |
integer
|
25
Min: 1 Max: 500 |
The number of denoising steps for the decoder. More denoising steps usually lead to a higher quality image at the expense of slower inference.
|
super_resolution_num_inference_steps |
integer
|
25
Min: 1 Max: 500 |
The number of denoising steps for super resolution. More denoising steps usually lead to a higher quality image at the expense of slower inference.
|
prior_guidance_scale |
number
|
4
Min: 1 Max: 30 |
Higher values mean the text prompt will be more important than the image prompt. Also results in higher saturated images. Ideally keep values between 6-13.
|
decoder_guidance_scale |
number
|
4
Min: 1 Max: 30 |
Higher values mean the text prompt will be more important than the image prompt. Also results in higher saturated images. Ideally keep values between 6-13.
|
seed |
integer
|
-1
|
Seed for the model
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 7,
"description": "Seed for the model"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A gentleman otter",
"x-order": 0,
"description": "Prompt for the model"
},
"num_output_images": {
"type": "integer",
"title": "Num Output Images",
"default": 1,
"maximum": 5,
"minimum": 1,
"x-order": 1,
"description": "Number of output images"
},
"prior_guidance_scale": {
"type": "number",
"title": "Prior Guidance Scale",
"default": 4,
"maximum": 30,
"minimum": 1,
"x-order": 5,
"description": "Higher values mean the text prompt will be more important than the image prompt. Also results in higher saturated images. Ideally keep values between 6-13."
},
"decoder_guidance_scale": {
"type": "number",
"title": "Decoder Guidance Scale",
"default": 4,
"maximum": 30,
"minimum": 1,
"x-order": 6,
"description": "Higher values mean the text prompt will be more important than the image prompt. Also results in higher saturated images. Ideally keep values between 6-13."
},
"prior_num_inference_steps": {
"type": "integer",
"title": "Prior Num Inference Steps",
"default": 25,
"maximum": 500,
"minimum": 1,
"x-order": 2,
"description": "Number of denoising steps for prior. More denoising steps usually lead to a higher quality image at the expense of slower inference."
},
"decoder_num_inference_steps": {
"type": "integer",
"title": "Decoder Num Inference Steps",
"default": 25,
"maximum": 500,
"minimum": 1,
"x-order": 3,
"description": "The number of denoising steps for the decoder. More denoising steps usually lead to a higher quality image at the expense of slower inference."
},
"super_resolution_num_inference_steps": {
"type": "integer",
"title": "Super Resolution Num Inference Steps",
"default": 25,
"maximum": 500,
"minimum": 1,
"x-order": 4,
"description": "The number of denoising steps for super resolution. More denoising steps usually lead to a higher quality image at the expense of slower inference."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}