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

mattheum /flux-multi-pulid-controlnet:698d4bd4

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
portrait, color, cinematic
Enter a text prompt to guide image generation
negative_prompt
string
bad quality, worst quality, text, signature, watermark, extra limbs, low resolution, partially rendered objects, deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed, blurry
Enter a negative prompt to specify what to avoid in the image
width
integer
896

Min: 256

Max: 1536

Set the width of the generated image (256-1536 pixels)
height
integer
1152

Min: 256

Max: 1536

Set the height of the generated image (256-1536 pixels)
num_steps
integer
20

Min: 1

Max: 50

Set the number of denoising steps (1-25)
start_step
integer
0

Max: 10

Set the timestep to start inserting ID (0-4 recommended, 0 for highest fidelity, 4 for more editability)
guidance_scale
number
4

Min: 1

Max: 50

Set the guidance scale for text prompt influence (1.0-10.0)
id_weight
number
1

Max: 3

Set the weight of the ID image influence (0.0-3.0)
seed
integer
Set a random seed for generation (leave blank or -1 for random)
true_cfg
number
1

Min: 1

Max: 10

Set the Classifier-Free Guidance (CFG) scale. 1.0 uses standard CFG, while values >1.0 enable True CFG for more precise control over generation. Higher values increase adherence to the prompt at the cost of image quality.
max_sequence_length
integer
128

Min: 128

Max: 512

Set the max sequence length for prompt (T5), smaller is faster (128-512)
output_format
string (enum)
webp

Options:

png, jpg, webp

Choose the format of the output image
output_quality
integer
80

Min: 1

Max: 100

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

Min: 1

Max: 4

Set the number of images to generate (1-4)
img_to_img_image
string
Upload an image to guide the generation
image2image_strength
number
0

Max: 1

Set the strength of the image to image guidance (0.0-1.0)
use_canny_controlnet
boolean
False
Use the Canny controlnet
use_depth_controlnet
boolean
False
Use the Depth controlnet
control_net_image
string
Upload an image to guide the generation
use_local
boolean
True
Use the local depth model
id_one_image
string
Upload an image to guide the generation
id_two_image
string
Upload an image to guide the generation
id_three_image
string
Upload an image to guide the generation
id_four_image
string
Upload an image to guide the generation
id_five_image
string
Upload an image to guide the generation
id_six_image
string
Upload an image to guide the generation
id_seven_image
string
Upload an image to guide the generation
id_eight_image
string
Upload an image to guide the generation
id_nine_image
string
Upload an image to guide the generation
id_ten_image
string
Upload an image to guide the generation
bounding_box_one_x
number
Set the x coordinate of the bounding box for the first face swap
bounding_box_one_y
number
Set the y coordinate of the bounding box for the first face swap
bounding_box_one_width
number
Set the width of the bounding box for the first face swap
bounding_box_one_height
number
Set the height of the bounding box for the first face swap
bounding_box_two_x
number
Set the x coordinate of the bounding box for the second face swap
bounding_box_two_y
number
Set the y coordinate of the bounding box for the second face swap
bounding_box_two_width
number
Set the width of the bounding box for the second face swap
bounding_box_two_height
number
Set the height of the bounding box for the second face swap
bounding_box_three_x
number
Set the x coordinate of the bounding box for the third face swap
bounding_box_three_y
number
Set the y coordinate of the bounding box for the third face swap
bounding_box_three_width
number
Set the width of the bounding box for the third face swap
bounding_box_three_height
number
Set the height of the bounding box for the third face swap
bounding_box_four_x
number
Set the x coordinate of the bounding box for the fourth face swap
bounding_box_four_y
number
Set the y coordinate of the bounding box for the fourth face swap
bounding_box_four_width
number
Set the width of the bounding box for the fourth face swap
bounding_box_four_height
number
Set the height of the bounding box for the fourth face swap
bounding_box_five_x
number
Set the x coordinate of the bounding box for the fifth face swap
bounding_box_five_y
number
Set the y coordinate of the bounding box for the fifth face swap
bounding_box_five_width
number
Set the width of the bounding box for the fifth face swap
bounding_box_five_height
number
Set the height of the bounding box for the fifth face swap
bounding_box_six_x
number
Set the x coordinate of the bounding box for the sixth face swap
bounding_box_six_y
number
Set the y coordinate of the bounding box for the sixth face swap
bounding_box_six_width
number
Set the width of the bounding box for the sixth face swap
bounding_box_six_height
number
Set the height of the bounding box for the sixth face swap
bounding_box_seven_x
number
Set the x coordinate of the bounding box for the seventh face swap
bounding_box_seven_y
number
Set the y coordinate of the bounding box for the seventh face swap
bounding_box_seven_width
number
Set the width of the bounding box for the seventh face swap
bounding_box_seven_height
number
Set the height of the bounding box for the seventh face swap
bounding_box_eight_x
number
Set the x coordinate of the bounding box for the eighth face swap
bounding_box_eight_y
number
Set the y coordinate of the bounding box for the eighth face swap
bounding_box_eight_width
number
Set the width of the bounding box for the eighth face swap
bounding_box_eight_height
number
Set the height of the bounding box for the eighth face swap
bounding_box_nine_x
number
Set the x coordinate of the bounding box for the ninth face swap
bounding_box_nine_y
number
Set the y coordinate of the bounding box for the ninth face swap
bounding_box_nine_width
number
Set the width of the bounding box for the ninth face swap
bounding_box_nine_height
number
Set the height of the bounding box for the ninth face swap
bounding_box_ten_x
number
Set the x coordinate of the bounding box for the tenth face swap
bounding_box_ten_y
number
Set the y coordinate of the bounding box for the tenth face swap
bounding_box_ten_width
number
Set the width of the bounding box for the tenth face swap
bounding_box_ten_height
number
Set the height of the bounding box for the tenth face swap

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