usamaehsan / flux-controlnet

  • Public
  • 0 runs

Run usamaehsan/flux-controlnet 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 girl in city, 25 years old, cool, futuristic
Input prompt
controlnet_type
string (enum)
canny

Options:

upscaler, lineart, canny, depth

Type of ControlNet to use
control_image
string
Input image for ControlNet
guidance_scale
number
3.5

Max: 20

Guidance scale
steps
integer
8

Min: 1

Max: 50

Number of inference steps
seed
integer
Set a seed for reproducibility. Random by default.
control_strength
number
0.6

Max: 2

ControlNet strength
hyperflex_lora_weight
number
0.125

Max: 1

HyperFlex LoRA weight
add_details_lora_weight
number
0

Max: 1

Add Details LoRA weight
realism_lora_weight
number
0

Max: 1

Realism LoRA weight
widthh
integer
0

Max: 5000

width
heightt
integer
0

Max: 5000

height

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}