You're looking at a specific version of this model. Jump to the model overview.

zhangp365 /flux_loras:040a409d

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
Enter a text prompt to guide image generation.
height
integer
0

Max: 1600

The height will decide by the first spatial image. no need to set it.
width
integer
0

Max: 1600

The width will decide by the first spatial image. no need to set it.
seed
integer
42
Set a random seed for generation (-1 for random).
use_zero_init
boolean
True
Use CFG zero star.
zero_steps
integer
1
Zero init steps.
spatial_img
string
spatial control image.
control_type
string (enum)
Ghibli

Options:

Ghibli, mine_craft, pose, canny, depth

Control type (now only support two types, pose and mine_craft).
control_weight
number
1
Control weights (must correspond to the control type).
extra_spatial_img
string
extra spatial control image.
extra_control_type
string (enum)

Options:

Ghibli, mine_craft, pose, canny, depth

Extra control type (now only support two types, pose and mine_craft).
extra_control_weight
number
1
Extra control weights (must correspond to the extra control type).
output_format
string (enum)
png

Options:

png, jpg, webp

Choose the format of the output images.
output_quality
integer
90

Min: 1

Max: 100

Set the quality of the output image for jpg and webp (1-100).

Output schema

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

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}