Wiro - Translate Gemma 27B It Image
AI-generatedOverview
This node translates text within an image from a source language to a target language using the Wiro Translate Gemma 27B It Image API. It is useful for scenarios where users need to extract and translate text from images, such as translating scanned documents, signs, or any image containing text. For example, a user can input an image URL containing Italian text and get the translated text in English.
Use Case Examples
- Translating a photo of a menu from Italian to English.
- Translating text in an image of a document from French 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 containing the translated text or result.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, ensure the Wiro API credentials are correct and the API endpoint is reachable.
- If the translation task status is 'failed', check the input image URL and language codes for correctness.
- Network or authentication errors may occur if the API key or secret is invalid or expired.
Links
- Wiro Translate Gemma 27B It Image API - Official API endpoint used by the node for translation.