FLUX.2 Klein 9B KV

by douccanaco.huggingface.douccana/flux2-klein-9b-kv-demo

How the score works

  • Remote endpoint
  • 8 tools

Tools

  • flux2_klein_9b_kv_demo_add_uploaded_images Append newly dropped images to the gallery and clear the file uploader for subsequent drops. 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
  • flux2_klein_9b_kv_demo_clear_all_images Clear all images from the gallery.
  • flux2_klein_9b_kv_demo_infer Generate or edit images using FLUX.2 Klein 9B KV model with optional LFM2.5-VL garment description. 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: Generated PIL Image, seed used, and telemetry HTML.
  • flux2_klein_9b_kv_demo_on_select_image Store the index of the image clicked by user.
  • flux2_klein_9b_kv_demo_remove_selected_image Remove selected image (or last image if none selected) from gallery. 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
  • flux2_klein_9b_kv_demo_update_dimensions_from_image Update width/height based on uploaded image aspect ratio. 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
  • flux2_klein_9b_kv_demo_update_dimensions_from_image_1 Update width/height based on uploaded image aspect ratio. 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
  • flux2_klein_9b_kv_demo_update_dimensions_from_image_2 Update width/height based on uploaded image aspect ratio. 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.