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

zsxkib /flux-pulid:8baa7ef2

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
main_face_image
string
Upload an ID image for face generation
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: 20

Set the number of denoising steps (1-20)
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: 10

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)

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