Actions21
Overview
The node provides an interface to the 秘塔AI platform, specifically supporting the "绘图" (Drawing/Image generation) operation. It allows users to generate images based on textual prompts using different AI models or intelligent agents. This node is useful for scenarios where automated image creation is needed, such as generating illustrations, concept art, or visual content from descriptive text.
Practical examples include:
- Creating a cute cat eating a dinosaur illustration by providing a prompt describing the scene.
- Generating academic-style or research-focused images by selecting specialized models.
- Quickly producing visual assets for presentations or social media posts without manual drawing.
Properties
| Name | Meaning |
|---|---|
| 模型 | The AI model or intelligent agent used for image generation. Options include: 全网-简洁, 全网-深入, 全网-研究, 学术-简洁, 学术-深入, 学术-研究. Alternatively, a free-text string can be provided if not using the predefined options. |
| 提示 | The textual prompt describing the desired image content, e.g., "一只可爱的猫吃恐龙" ("a cute cat eating a dinosaur"). |
Note: Some resources and operations show a notice indicating that image generation is currently unsupported.
Output
The node outputs JSON data containing the results of the image generation request. The exact structure is not detailed in the source code, but typically it would include URLs or base64-encoded data representing the generated images.
If binary data output is supported, it would represent the generated image files.
Dependencies
- Requires access to the 秘塔AI platform API.
- Needs an API key or authentication token configured in n8n to authorize requests.
- Uses internal routing logic (
actions/router) to handle execution.
Troubleshooting
Common issues:
- Providing an invalid or empty prompt may result in errors or no image generated.
- Selecting a model incompatible with the resource or operation might cause failures.
- Network or authentication errors when connecting to the 秘塔AI service.
Error messages:
- Errors related to missing or invalid API credentials: Ensure the API key/token is correctly set up in n8n.
- Unsupported operation notices: Some resources or operations may not support image generation yet; check the node's UI notices.
- Timeout or network errors: Verify network connectivity and API endpoint availability.
Links and References
- 秘塔AI Official Website (for more information about the AI platform)
- Documentation or API references for 秘塔AI (if available publicly)
Note: The analysis is based solely on static code inspection and provided property definitions. Runtime behavior and dynamic responses depend on the external 秘塔AI service.