Flux 2 Klein 4B - AI Image Generator

by upsamplerco.huggingface.upsampler/flux-2-klein-4b

  • Remote endpoint
  • 3 tools
  • APACHE-2.0

Tools

  • flux_2_klein_4b_infer 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
  • flux_2_klein_4b_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
  • flux_2_klein_4b_update_steps_from_mode Update the number of inference steps based on the selected mode.

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