Wiro - Image Restoration icon

Wiro - Image Restoration

CodeFormer is a tool designed for image restoration and enhancement, particularly focusing on f

Wiro - Image Restoration

AI-generated

Overview

This node integrates with the Wiro API to perform image restoration and enhancement. It takes an input image URL and parameters for fidelity weight and upscale level, sends a request to the Wiro image restoration endpoint, and then polls the task status until completion. The node outputs the task status and the URL of the restored image once the process is complete. This node is useful for scenarios where users want to automatically enhance or restore images by leveraging Wiro's AI-powered image restoration capabilities.

Use Case Examples

  1. Enhancing old or low-quality photos by providing their URLs and adjusting fidelity and upscale parameters.
  2. Automatically restoring images in a workflow that processes media content for better visual quality.

Properties

Name Meaning
Input Image URL The URL of the image to be restored and enhanced.
Fidelity Weight A numeric value that controls the fidelity or accuracy of the restoration process.
Upscale A numeric value that specifies the level of upscaling to apply to the image.

Output

JSON

  • taskid - The unique identifier of the restoration task assigned by the Wiro API.
  • url - The URL of the restored and enhanced image after the task completes.
  • status - The status of the restoration task, indicating whether it completed successfully or failed.

Dependencies

  • Wiro API key and secret credentials for authentication

Troubleshooting

  • If the node throws an error about missing task ID or socket access token, it means the Wiro API response was invalid or incomplete. Check API credentials and input parameters.
  • If the task status is 'failed', the restoration process did not complete successfully; verify the input image URL and parameter values.
  • Network or authentication issues may cause HTTP request failures; ensure valid API credentials and network connectivity.

Discussion