Wiro - Translate Gemma 12B It Image
AI-generatedOverview
This node translates text within an image from a source language to a target language using the Wiro Translate Gemma 12B It Image API. It is useful for scenarios where users need to extract and translate text from images, such as translating signs, documents, or screenshots in different languages. For example, a user can input an image URL 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 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 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 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 translation process did not complete successfully; verify the input image URL and language codes.
- Network or authentication errors may occur if the API key or secret is incorrect or expired.
Links
- Wiro Translate Gemma 12B It Image API - Official API endpoint used by the node for translation.