pollinationsPollinations.ai API for AI generation and analysis - text, images, videos, audio, vision, and transcription. Use when user requests AI-powered content (text...
Install via ClawdBot CLI:
clawdbot install isaacgounton/pollinationsUnified AI platform for text, images, videos, and audio generation with 25+ models.
Get free or paid keys at https://enter.pollinations.ai
sk_): Server-side, no rate limits (recommended)Store key in environment variable:
export POLLINATIONS_API_KEY="sk_your_key_here"
Simple text generation:
curl "https://gen.pollinations.ai/text/Hello%20world"
Chat completions (OpenAI-compatible):
curl -X POST https://gen.pollinations.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $POLLINATIONS_API_KEY" \
-d '{
"model": "openai",
"messages": [{"role": "user", "content": "Hello"}]
}'
Use script: scripts/chat.sh for easy chat completions
curl "https://gen.pollinations.ai/image/A%20sunset%20over%20mountains?model=flux&width=1024&height=1024"
Use script: scripts/image.sh for image generation
curl -X POST https://gen.pollinations.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "openai-audio",
"messages": [
{"role": "system", "content": "You are a text reader. Read the user text exactly without responding, adding conversation, or changing anything."},
{"role": "user", "content": "Say: Hello world"}
],
"modalities": ["text", "audio"],
"audio": {"voice": "nova", "format": "mp3"}
}'
Use script: scripts/tts.sh for text-to-speech
https://gen.pollinations.ai/v1/chat/completionshttps://gen.pollinations.ai/text/{prompt}https://gen.pollinations.ai/image/{prompt}?{params}https://gen.pollinations.ai/image/{prompt}?{params} (generates video)Models: OpenAI, Claude, Gemini, Mistral, DeepSeek, Grok, Qwen Coder, Perplexity, and 20+ more
Common models: openai, claude, gemini, mistral, deepseek, qwen, gpt-4, o1, o3
Parameters:
model (string): Model name/IDmessages (array): Chat messages with roles (system/user/assistant)temperature (number): 0-2, default 1max_tokens (number): Max response lengthtop_p (number): Nucleus sampling, default 1seed (number): Reproducibility (-1 for random)jsonMode (boolean): Force JSON responsereasoning_effort (string): For o1/o3/R1 (high/medium/low/minimal/none)thinking_budget (number): Tokens for reasoning (thinking models)Vision support: Include image_url in message content for multi-modal:
{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image"},
{"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
]
}
Models: flux (default), turbo, gptimage, kontext, seedream, nanobanana, nanobanana-pro
Parameters:
model (string): Model selectionwidth/height (number): 16-2048px, default 1024seed (number): Reproducibilitynegative_prompt (string): What to avoidnologo (boolean): Remove watermarkprivate (boolean): Private generationsafe (boolean): Enable NSFW filterenhance (boolean): AI prompt enhancementquality (string): low/medium/high/hd (gptimage)transparent (boolean): Transparent background (gptimage)count (number): 1-4 images (premium)image (string): Input image URL (image-to-image)Format: Returns binary image data (determined by Content-Type header)
Use same image endpoint with image parameter:
https://gen.pollinations.ai/image/make%20it%20blue?image={source_url}
Models: veo (4-8s), seedance (2-10s)
Parameters:
model (string): veo or seedancewidth/height (number): Dimensionsduration (number): Seconds (veo: 4/6/8, seedance: 2-10)aspectRatio (string): 16:9 or 9:16audio (boolean): Enable audio (veo only)image (string): Input image URL (frame interpolation: image[0]=first, image[1]=last)negative_prompt (string): What to avoidseed (number): Reproducibilityprivate/safe (boolean): Privacy/safety optionsFormat: Returns binary video data
Models: openai-audio
Voices: alloy, echo, fable, onyx, nova, shimmer, coral, verse, ballad, ash, sage, amuch, dan
Formats: mp3, wav, flac, opus, pcm16
Parameters:
model: openai-audiomodalities: ["text", "audio"]audio.voice: Voice selectionaudio.format: Output formatNote: Use "Say:" prefix in user message for direct text reading
Use chat completions endpoint with vision/audio-capable models:
Use chat completions with vision models:
image_url in message contentUse chat completions with video-capable models:
scripts/chat.shInteractive chat completions with model selection and options.
Usage:
scripts/chat.sh "your message here"
scripts/chat.sh "your message" --model claude --temp 0.7
scripts/image.shGenerate images from text prompts.
Usage:
scripts/image.sh "a sunset over mountains"
scripts/image.sh "a sunset" --model flux --width 1024 --height 1024 --seed 123
scripts/tts.shConvert text to speech.
Usage:
scripts/tts.sh "Hello world"
scripts/tts.sh "Hello world" --voice nova --format mp3 --output hello.mp3
seed parameter for consistent outputsenhance=true for AI-improved promptsimage[0]=first&image[1]=last for veoFull docs: https://enter.pollinations.ai/api/docs
Generated Mar 1, 2026
Marketing agencies can use Pollinations to generate high-quality images, videos, and text for social media campaigns, ads, and blog posts. By leveraging models like Flux for images and Veo for videos, they can quickly produce diverse content tailored to client needs, reducing production time and costs while maintaining creative flexibility.
Edtech companies can integrate Pollinations to create interactive learning materials, such as AI-generated illustrations for textbooks, TTS audio for language learning, and video explanations of complex topics. This enhances engagement and accessibility, allowing educators to customize content for different learning styles and subjects.
Businesses can deploy Pollinations for AI-powered chatbots using the OpenAI-compatible chat endpoint to handle customer inquiries, generate responses, and analyze user queries. This improves response times and scalability, especially when combined with audio generation for voice-based support systems.
Design firms can utilize Pollinations for rapid prototyping by generating concept images and videos based on textual descriptions. Using image-to-image capabilities, they can iterate on designs quickly, visualize product variations, and present ideas to clients without extensive manual effort.
Media companies can leverage Pollinations for automated transcription of audio and video content, as well as analysis of visual media using vision-capable models. This streamlines content indexing, enhances searchability, and provides insights for content strategy, saving time on manual review.
Offer tiered subscription plans based on usage limits, such as free tier for basic text generation and paid tiers for high-volume image/video generation. Revenue comes from monthly or annual fees, with premium features like private generation and enhanced models driving upsells.
Provide customized AI generation APIs branded for clients in specific industries, such as marketing or education. Revenue is generated through licensing fees and setup costs, with ongoing support and integration services adding value.
Implement a usage-based pricing model where clients pay per API call for specific operations like image generation or TTS. This appeals to small businesses and developers with sporadic needs, with revenue scaling directly with consumption.
💬 Integration Tip
Start with the simple text or image endpoints for quick prototyping, and use the provided scripts like chat.sh to test functionality before full integration.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.