FLUX.2 Klein 9B Demo

by jayzee69co.huggingface.jayzee69/flux2-klein-9b-demo

How the score works

  • Remote endpoint
  • 2 tools

Tools

  • flux2_klein_9b_demo_infer Generate an image from a text prompt, or edit/combine reference images with FLUX.2 Klein 9B. 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: The generated PIL image and the seed used.
  • flux2_klein_9b_demo_update_dimensions_from_image Set width/height from the first reference image's aspect ratio, sides rounded to 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

As the server's own listing gives them. We never call a tool.