Pollinations AI icon

Pollinations AI

Generate images, text, and audio using Pollinations.ai

Actions4

Text → Chat

AI-generated

Summary

Execute chat completion with conversation history, returning the assistant's response text and token usage metadata.

Inputs

  • textModel — AI model to use for text generation
  • messages (required) — Conversation history as a list of messages with roles and content
  • textAdvanced — Additional generation settings

Output shape

object

Contains the assistant's response text, the model used, and token usage metadata from the API response.

Links

Discussion