Pollinations.AI Chat icon

Pollinations.AI Chat

Chat with Pollinations.AI models - Optimized for AI Agent integration

Overview

This node enables chat interactions with Pollinations.AI models, optimized for AI agent integration. It supports sending chat messages or chatting with a custom system prompt, allowing users to have dynamic conversations with AI models like OpenAI GPT-5 Nano, Mistral, Gemini Search, and DeepSeek. Common use cases include customer support bots, virtual assistants, and AI-driven chat applications where context and conversation history are important.

Use Case Examples

  1. A customer support bot that uses the OpenAI GPT-5 Nano model to provide fast and efficient responses.
  2. An AI assistant that uses DeepSeek V3.1 for advanced reasoning to answer complex queries.
  3. A chatbot that integrates Gemini Search to provide responses enhanced with web search capabilities.

Properties

Name Meaning
Model The AI model to use for chat, such as OpenAI GPT-5 Nano, Mistral, Gemini Search, or DeepSeek.
Message The user's chat message to send to the AI.
Conversation History Previous conversation messages for context, including roles (user or assistant) and content.
Temperature Controls the creativity of the AI's response, from 0.0 (strict) to 3.0 (wild).
Max Tokens Maximum length of the AI's response in tokens.
Reasoning Effort How deeply the AI thinks before responding, ranging from minimal to high effort.
Stream Whether to get the response in real-time chunks for streaming.

Output

JSON

  • response - The AI-generated chat response content.
  • model - The AI model used for generating the response.
  • messages - The array of messages forming the conversation context sent to the AI.
  • assistantMessage
    • role - The role of the assistant in the response message (always 'assistant').
    • content - The content of the assistant's response message.
  • conversation - The full conversation including user and assistant messages.
  • fullResponse - The complete raw response from the Pollinations.AI API.

Dependencies

  • Pollinations.AI API token required in credentials

Troubleshooting

  • Error if API token is missing: 'API token is required. Please add your Pollinations.AI API token in credentials.' Ensure the API token is correctly set in the node credentials.
  • If the API request fails or times out, check network connectivity and API service status.
  • Incorrect or missing conversation history may lead to less coherent responses; ensure conversation history is properly formatted.

Links

Discussion