Wiro - Translate Gemma 4B It Image
AI-generatedOverview
This node translates text within an image from a source language to a target language using the Wiro Translate Gemma 4B It Image API. It is useful for scenarios where users need to translate text embedded in images, such as scanned documents, photos with text, or screenshots. For example, a user can input the URL of an image containing text in Italian and get the translated text in English.
Use Case Examples
- Translating a photo of a menu from Italian to English.
- Translating text in a scanned document image from Italian to Spanish.
Properties
| Name | Meaning |
|---|---|
| Input Image URL | URL of the image file containing the text to be translated. |
| Source Language | The language code of the text in the input image. |
| Target Language | The language code to translate the text into. |
| Maximum New Tokens | Maximum number of new tokens to generate in the translation output. |
Output
JSON
taskid- The unique identifier of the translation task.url- The URL where the translated result can be accessed.status- The status of the translation task, e.g., 'completed' or 'failed'.
Dependencies
- Wiro API key and secret credentials for authentication
Troubleshooting
- If the node throws an error about missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and the API endpoint is reachable.
- If the translation task status is 'failed', check the input parameters and ensure the image URL is accessible and contains translatable text.
- Network or authentication errors may occur if the API key or secret is invalid or expired; re-authenticate or update credentials as needed.
Links
- Wiro Translate Gemma 4B It Image API - Official API endpoint used by the node for translation.