Wiro - Restore Image
AI-generatedOverview
This node uses the Wiro AI service to restore and enhance images based on a provided image URL. It sends the image URL along with parameters like safety tolerance, aspect ratio, seed, and output format to the Wiro API, which processes the image restoration task. The node then polls the task status until completion and outputs the final restored image URL and status. This node is useful for scenarios where users need to repair or improve image quality automatically, such as restoring old photos or enhancing damaged images.
Use Case Examples
- Restoring a damaged photograph by providing its URL and receiving a restored version.
- Enhancing an image's quality and adjusting its aspect ratio for better presentation.
Properties
| Name | Meaning |
|---|---|
| Image URL | The URL of the image to be used as a reference for restoration. Must be in jpeg or png format. |
| Safety Tolerance | Tolerance level for input and output moderation, ranging from 0 (most strict) to 6 (least strict). |
| Aspect Ratio | The desired aspect ratio of the output image. |
| Seed | A seed value to influence the image restoration process. |
| Output Format | The format of the output image, either jpeg or png. |
Output
JSON
taskid- The unique identifier of the image restoration task.url- The URL of the restored image once the task is completed.status- The status of the restoration task, indicating if it is completed or failed.
Dependencies
- Wiro API key and secret for authentication
Troubleshooting
- If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and that the API service is reachable.
- If the task status returns as failed (-1, -2, -3, -4), check the input image URL and parameters for correctness and retry.
- Ensure the input image URL points to a valid jpeg or png image to avoid processing errors.