InstantIR

by fffilonico.huggingface.fffiloni/instantir

  • Remote endpoint
  • 1 tool

Tools

  • InstantIR_instantir_restore Restore or creatively re-generate a low-quality image using the InstantIR pipeline. This function takes a degraded image and applies a guided diffusion model to restore it. Optionally, a text prompt can be provided to guide a creative re-interpretation of the image. 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[PIL.Image, List[List[Union[PIL.Image, str]]]]:, - The final restored image., - A list of preview images from intermediate steps with labels.

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