pollinations
БесплатноЗапускает вложенные скриптыНе проверенPollinations.ai API for AI generation - text, images, videos, audio, and analysis. Use when user requests AI-powered generation (text completion, images…
от sundial-org★ 676 звёзд на GitHubОб этом скилле
Pollinations 🧬
Unified AI platform for text, images, videos, and audio generation with 25+ models.
API Key
Get free or paid keys at https://enter.pollinations.ai
- Secret Keys (
sk_): Server-side, no rate limits (recommended) - Optional for many operations (free tier available)
Store key in environment variable:
export POLLINATIONS_API_KEY="sk_your_key_here"
Quick Start
Text Generation
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
Image Generation
curl "https://gen.pollinations.ai/image/A%20sunset%20over%20mountains?model=flux&width=1024&height=1024"
Use script: scripts/image.sh for image generation
Audio Generation (TTS)
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
API Endpoints
Base URLs
- Chat/Text:
https://gen.pollinations.ai/v1/chat/completions - Simple Text:
https://gen.pollinations.ai/text/{prompt} - Image:
https://gen.pollinations.ai/image/{prompt}?{params} - Video:
https://gen.pollinations.ai/image/{prompt}?{params}(generates video)
Supported Operations
1. Text/Chat Generation
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"}}
]
}
2. Image Generation
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)
3. Image to Image
Use same image endpoint with image parameter:
https://gen.pollinations.ai/image/make%20it%20blue?image={source_url}
4. Video Generation
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 options
Format: Returns binary video data
5. Audio Generation (TTS)
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 format
Note: Use "Say:" prefix in user message for direct text reading
6. Audio Transcription
Use chat completions endpoint with vision/audio-capable models:
- Models: gemini, gemini-large, gemini-legacy, openai-audio
- U
Установить pollinations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pollinations?
Pollinations.ai API for AI generation - text, images, videos, audio, and analysis. Use when user requests AI-powered generation (text completion, images, videos, audio, vision/analysis, transcription) or mentions Pollinations. Supports 25+ models (OpenAI, Claude, Gemini, Flux, Veo, etc.) with OpenAI-compatible chat endpoint and specialized generation endpoints.
Как установить скилл pollinations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pollinations запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic