gmcolab / cn_bretts

  • Public
  • 234 runs

Run gmcolab/cn_bretts 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
image
string
Background-removed image
prompt
string
Prompt for the model
num_samples
string (enum)
1

Options:

1, 4

Number of samples (higher values may OOM)
image_resolution
string (enum)
512

Options:

256, 512, 768

Image resolution to be generated
low_threshold
integer
100

Min: 1

Max: 255

Canny line detection low threshold
high_threshold
integer
200

Min: 1

Max: 255

Canny line detection high threshold
ddim_steps
integer
20
Steps
scale
number
9

Min: 0.1

Max: 30

Scale for classifier-free guidance
seed
integer
-1
Seed
eta
number
0
Controls the amount of noise that is added to the input data during the denoising diffusion process. Higher value -> more noise
a_prompt
string
RAW photo, product photography, highres, extremely detailed, best quality, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3,
Additional text to be appended to prompt
n_prompt
string
poorly drawn, lowres, bad quality, worst quality, unrealistic, overexposed, underexposed, floating, blurry background
Negative Prompt
detect_resolution
integer
512

Min: 128

Max: 1024

Resolution at which detection method will be applied)

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