Dreamframe
A minimal AI image generator using the Pollinations.ai API. Type any prompt to generate an image with multiple model choices.
Install / Use
/learn @funniman23/DreamframeREADME
Dreamframe
The best way to test your Pollinations API key.
A full-featured, single-file playground for pollinations.ai . Images, video, voice, and music generation. Paste your API key and start creating.
</div>What is Dreamframe?
Dreamframe is a zero-dependency, single-HTML-file playground for the pollinations.ai API. It lets developers and creators test every major Pollinations model images, video, voice, and music, without writing a line of code. Enter your API key, pick a model, type a prompt, generate.
<div align="center">

Features
| Mode | What it does | Models | |---|---|---| | Image | Text → image | Flux Schnell, Turbo, Flux Realism, Flux Anime, Flux 3D, Flux 2 Dev, Dirtberry, Dirtberry Pro, Z-Image Turbo, Imagen 4, Grok Imagine, Klein, GPT Image 1 Mini + all 💎 paid tiers | | Video | Text → video clip | Grok Video, LTX-2, Seedance Lite, Wan 2.6, Veo 3.1 Fast, Seedance Pro, Pruna p-video | | Voice | Text → spoken audio | ElevenLabs v3 (20+ voices), Qwen3 TTS | | Music | Text → music | ElevenLabs Music, Suno v5 |
Also included
- Prompt Enhancer — AI-rewrites your prompt via
openai-fastfor richer results - Random prompt — 15 hand-picked cinematic prompts to spark ideas
- Style quick-tags — one-click append: cinematic, anime, 3D render, watercolor, etc.
- Negative prompt — collapsible negative prompt field
- Seed control — lock seeds for reproducibility, shuffle for variety
- Session gallery — every generation saved; lightbox preview, one-click download, reuse prompt
- Pollen Cost Calculator — live estimator across all media types with per-tier sufficiency indicators
- BYOP — your
sk_orpk_key stored insessionStorageonly, never transmitted elsewhere - Zero dependencies — one
.htmlfile, no build step, no npm, no framework
Running locally
git clone https://github.com/funniman23/Dreamframe.git
cd Dreamframe
open index.html
Or double-click index.html. That's it.
Getting a Pollinations API key
- Go to enter.pollinations.ai
- Sign in with GitHub
- Create a Secret key (
sk_…) or App key (pk_…) - Paste it into the Enter API key modal in Dreamframe
API endpoints used
# Image & Video
GET https://gen.pollinations.ai/image/{prompt}
?model=flux&width=1024&height=1024&seed=42&referrer=dreamframe&key=sk_...
# TTS & Music (OpenAI-compatible)
POST https://gen.pollinations.ai/v1/audio/speech
{ "input": "...", "model": "elevenlabs", "voice": "aria" }
# Prompt Enhancement
GET https://gen.pollinations.ai/text/{prompt}
?model=openai-fast&referrer=dreamframe&key=sk_...
Full API reference → APIDOCS.md
Pollen cost reference
| Type | Model | Rate | |---|---|---| | Image | Flux Schnell | 0.001 p / img | | Image | Z-Image Turbo | 0.002 p / img | | Image | Flux Kontext 💎 | 0.04 p / img | | Video | Grok Video ⚠️ | 0.003 p / sec | | Video | Veo 3.1 Fast 💎 | 0.150 p / sec | | Voice | ElevenLabs v3 | 0.18 p / 1K chars | | Music | ElevenLabs Music | 0.005 p / sec |
Full pricing at enter.pollinations.ai
License
MIT
<div align="center"> <a href="https://pollinations.ai"> <img src="https://raw.githubusercontent.com/pollinations/pollinations/main/assets/logo.svg" alt="Powered by pollinations.ai" width="72" /> </a> <br/><br/> <sub>Built with <a href="https://pollinations.ai">pollinations.ai</a> — Free & Open AI API</sub> </div>
