Actions5
- AI Chat Actions
- AI Generate Image Actions
- AI Text to Speech Actions
- Google Translate Actions
Overview
This node integrates with the Zukijourney API to provide multiple AI-powered services, including Google Translate functionality. Specifically, for the Google Translate resource and operation, it translates input text into English using a specified translation model. This is useful in scenarios where you need to automatically translate text from various languages into English, such as processing multilingual customer feedback, localizing content, or enabling communication across language barriers.
Practical examples:
- Translating user comments or reviews written in different languages into English for unified analysis.
- Automatically converting foreign language emails or messages into English for support teams.
- Localizing product descriptions or marketing materials by translating source text into English.
Properties
| Name | Meaning |
|---|---|
| Text | The text string that you want to translate into English. |
| Source Language | The language of the input text. Options include Vietnamese, English, Chinese, Spanish, French, German, Japanese, Korean, Russian, Portuguese, Italian, Dutch, Arabic, Hindi, Thai, or auto-detect if not specified. |
| Model | The translation model to use. Default is "google-translate". |
Output
The output JSON contains the full response from the translation API call. It includes the translated text and potentially other metadata returned by the service. The exact structure depends on the API response but typically includes fields like the translated text and usage information.
Example output JSON snippet:
{
"translatedText": "Hello world",
"sourceLanguage": "auto",
"model": "google-translate"
}
No binary data output is produced by this operation.
Dependencies
- Requires an active API key credential for the Zukijourney API.
- The node makes HTTP POST requests to the Zukijourney API endpoint
/text/translations. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
- Parameter error: If the node returns an error like
Parameter error: ..., verify that all required parameters (especially the text to translate) are correctly set and valid. - API authentication errors: Ensure the API key credential is properly configured and has sufficient permissions.
- Network issues or timeouts: The node relies on external API calls; network connectivity problems can cause failures.
- Unsupported source language: If the source language is not recognized or supported, try setting it to "auto" for automatic detection.
- Empty or invalid text input: Make sure the "Text" property is not empty and contains valid characters.
Links and References
- Google Translate API Documentation
- Zukijourney API Documentation (for general API usage and other features)