Available Endpoints
Click "▶ Test" to run any endpoint inline and see the live response.
AI Chat (Standard)
GET /ai/blackbox
Fast AI chat powered by Pollinations.ai (OpenAI model). Great for general questions, explanations, and conversation.
q
Live
AI Chat (Large Model)
GET /ai/blackboxv4
Larger, more capable AI model for complex reasoning, detailed writing, and multi-step problem solving.
q
Live
AI Chat (Custom Model)
GET /ai/chat
Chat with any Pollinations.ai model by name. Choose from openai, openai-large, mistral, llama, and more.
qmodel
Live
AI Image Generator
GET /ai/photoleap
Generate stunning AI artwork from a text prompt. Returns a direct image URL from Pollinations.ai image model.
q
Live
AI Image (With Size)
GET /ai/imagine
Generate AI images with custom width and height. Returns the image URL plus metadata including dimensions used.
qwidthheight
Live
AI Translator
GET /ai/translate
Translate any text into another language. Supports all major world languages using language codes (fr, es, de, sw, ar, zh, etc).
qlang
Live
AI Code Writer
GET /ai/code
Describe what you want to build and get clean, working code back. Supports any programming language or framework.
q
Live
AI GPT-4 (via /ai/gpt4)
GET /ai/gpt4
Alias to the large OpenAI model. Delivers high-quality, detailed, nuanced answers for any topic.
q
Live