FLUX.2 Demo

by julien-cco.huggingface.julien-c/flux.2-demo

How the score works

  • Remote endpoint
  • 2 tools

Tools

  • FLUX_2_demo_infer Generate an image with FLUX.2 [dev] from a text prompt, optionally editing or combining up to three input images. 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: The generated image and the seed that was used.
  • FLUX_2_demo_update_dimensions_from_image Update width/height sliders 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

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