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

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"
}