okaris / controlnet

ControlNet implementation with custom SD1.5 fine tuned models

  • Public
  • 188 runs
  • A100 (80GB)
  • GitHub
  • License

Input

string

Type of ControlNet model to use

string
Shift + Return to add a new line

Type of base model to use

*file

Input image

*string
Shift + Return to add a new line

Prompt for the model

string

Number of samples (higher values may OOM)

Default: "1"

string

Image resolution to be generated

Default: "512"

integer
(minimum: 1, maximum: 255)

Canny low threshold (only applicable when model type is 'canny')

Default: 100

integer
(minimum: 1, maximum: 255)

Canny high threshold (only applicable when model type is 'canny')

Default: 200

integer

Steps

Default: 20

number
(minimum: 0.1, maximum: 30)

Guidance Scale

Default: 9

integer

Seed

number

eta (DDIM)

Default: 0

string
Shift + Return to add a new line

Added Prompt

Default: "best quality, extremely detailed"

string
Shift + Return to add a new line

Negative Prompt

Default: "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality"

integer
(minimum: 128, maximum: 1024)

Resolution for detection)

Default: 512

number
(minimum: 0, maximum: 1)

Background Threshold (only applicable when model type is 'normal')

Default: 0

number
(minimum: 0.01, maximum: 2)

Value Threshold (only applicable when model type is 'MLSD')

Default: 0.1

number
(minimum: 0.01, maximum: 20)

Distance Threshold (only applicable when model type is 'MLSD')

Default: 0.1

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.13 to run on Replicate, or 7 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 90 seconds. The predict time for this model varies significantly based on the inputs.

Readme

You can pass your fine-tuned .ckpt as the base_model.