Overview
This node integrates with Pollinations.AI to generate text based on user prompts. It supports simple text generation from a prompt, advanced generation with conversation messages and system instructions, and listing available AI models. It is useful for automating content creation, generating responses, or experimenting with AI text models.
Use Case Examples
- Generating a creative story from a simple prompt.
- Creating a chatbot response using conversation history and system instructions.
- Listing available AI models to choose the best one for a task.
Properties
| Name | Meaning |
|---|---|
| Prompt | The question or task to generate text from. |
| Model | The AI model to use for text generation. |
| Temperature | Controls creativity of the AI output, from strict (0.0) to wild (3.0). |
| Seed | A number to produce consistent responses; leave empty for random output. |
| System Prompt | Instructions to guide the AI's behavior during text generation. |
| JSON Response | Whether to get the AI response in JSON format. |
| Stream | Whether to receive the response in real-time chunks. |
Output
JSON
prompt- The input prompt provided by the user.model- The AI model used for generation.response- The generated text or JSON response from the AI.
Dependencies
- Pollinations.AI API token required for authentication.
Troubleshooting
- Missing or invalid API token will cause authentication errors; ensure the Pollinations.AI API token is set in credentials.
- Empty or missing prompt will cause errors in text generation; always provide a valid prompt.
- Network timeouts or slow responses may occur; check internet connection and API service status.
Links
- Pollinations.AI Models API - Endpoint to list available AI models for text generation.