Text
Text Generation With Messages
Generate text from an OpenAI-style messages array and return the assistant content directly.
Use /v1/chat/completions when you need the full OpenAI-compatible JSON response.
post/text
Request
- Base URL: https://gen.pollinations.ai
- URL: https://gen.pollinations.ai/text
- Auth: HTTP bearer
Request body
Response
Generated text response, audio bytes, JSON message object, or SSE when stream=true
Changes
No recorded changes to this operation across all 1 revision of this API.