You can head on to the Hugging Face space and generate some images right now!
FLUX.3 responds best to a full scene description with the subject, the setting, the light, the composition, and the style. The official prompting guide from Black Forest Labs has more tips. The distilled checkpoint generates a 1024 × 1024 image in 16 steps by default. Pass height, width, or num_inference_steps to change them.
Pass a reference image (or more) with the image argument. Write the prompt as a caption of the image you want, with the change included.
With several references, refer to them in the prompt as <ref_image_0>, <ref_image_1>, ... in the order they are passed to image:
Add a JSON list of regions after the caption. Each region has an id, a bbox, and a desc, and the caption mentions it as <id>.
Boxes are written as [y_min, x_min, y_max, x_max], y first, on a 0–1000 scale. Because the scale is normalized, the same box works at any image size.
For edits, each region says where its content comes from (src_bbox in the reference) and where it goes (tgt_bbox in the output). A region with the same two boxes stays where it is.
This example moves the knitted knight up and to the left, and pins the backdrop, the cliff, the needle, the dragon, and the fire:
Everything above uses the distilled checkpoint. The base checkpoint runs 50 steps with classifier-free guidance, and it's the one to fine-tune (see LoRA finetuning ).
Source link







