FLUX.2 [Klein] 9B
by black-forest-labsco.huggingface.black-forest-labs/flux.2-klein-9b
- Remote endpoint
- 3 tools
Tools
FLUX_2_klein_9B_inferGenerate or edit images using FLUX.2 Klein 9B model. This tool can generate images from text prompts, or edit/combine existing images based on text instructions. Use the distilled mode for fast 4-step generation, or base mode for higher quality 50-step generation. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: tuple: A tuple containing the generated PIL Image and the seed used.FLUX_2_klein_9B_update_dimensions_from_imageUpdate width/height based on uploaded image aspect ratio. Keeps one side at 1024 and scales the other proportionally, with both sides as multiples of 8. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: tuple: A tuple of (width, height) integers, both multiples of 8.FLUX_2_klein_9B_update_steps_from_modeUpdate inference steps and guidance scale based on the selected mode. Returns: tuple: A tuple of (num_inference_steps, guidance_scale).
No tool matches.
As the server's own listing gives them. We never call a tool.