Krea 2 Outpaint

by yijunwang2co.huggingface.yijunwang2/krea2-outpaint

  • Remote endpoint
  • 5 tools

Tools

  • krea2_outpaint_clear_source When the X (clear) button is clicked: clear the uploaded image, reset the canvas back to its empty state, and make the Source Image input reappear so the user can upload a new image.
  • krea2_outpaint_clear_source_from_canvas Same end-state as clearing the Source Image component, triggered by the on-canvas X button: clear the image value AND make the component visible again while resetting the canvas to empty.
  • krea2_outpaint_outpaint Outpaint an image into a larger canvas of the chosen 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. Returns: The outpainted image, and the seed actually used.
  • krea2_outpaint_refresh 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
  • krea2_outpaint_reset_on_upload When a new image arrives, keep the ratio but recenter placement and reset scale so the stage always renders a valid composition. Hide the Source Image input so the unified placement canvas takes over. 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.