A clean, minimal web application for generating AI images using the Pollinations API. Built with vanilla JavaScript, HTML, and CSS.
- Two-language support: English (default) and German
- Language preference stored in localStorage
- Clean, minimal, and intuitive interface
- Responsive design (mobile-friendly)
- Models fetched from Pollinations API
- Model list cached in localStorage (24-hour cache duration)
- Graceful fallback to cached models if API is unavailable
- Prompt: Detailed image description (required)
- Model Selection: Choose from available image generation models
- Dimensions: Custom width and height (64-2048px)
- Aspect Ratio Presets: 16:9, 9:16, 1:1, 3:4, or custom
- Seed: Control randomness (0 = random)
- Quality: Low, Medium, High, HD
- Guidance Scale: Control how closely the result follows the prompt (1-20)
- Negative Prompt: Describe what to avoid in the image
- Advanced Options:
- Enhance: Let AI optimize the prompt
- Private: Hide from public feeds
- No Logo: Remove Pollinations watermark
- No Feed: Prevent sharing in public feed
- Safe: Enable safety content filters
- Transparent: Create transparent background (if supported)
- Open PollGen: https://xhyperdevx.github.io/PollGen
- Enter your API Key: Get a API key from pollinations.ai and enter it in the API Key field
- Describe your image: Enter a detailed description of the image you want to generate
- Select a model: Choose from the available image generation models
- Adjust settings (optional): Customize dimensions, quality, guidance, and other parameters
- Generate: Click the "Generate Image" button
- Download: Once generated, download your image or open the source link
The application automatically defaults to English. Users can switch between languages using the toggle button in the top-right corner.
Supported languages:
- 🇬🇧 English (en)
- 🇩🇪 German (de)
- It's cleared when you close the browser tab/window
- It's never saved to disk or sent to any server (except Pollinations API)
- It's not included in any GitHub commits or deployments
- No backend required: Fully static frontend application
- Vanilla JavaScript: No frameworks or dependencies
- Dynamic model loading: Fetches latest models from Pollinations API
- Caching: 24-hour cache for models to reduce API calls
- Responsive: Mobile-first design that works on all screen sizes
- Accessible: Semantic HTML with proper ARIA labels
This project is open source and available under the MIT License.
- Powered by Pollinations AI
- Built with ❤️ using vanilla JavaScript
Note: This README was created by AI and may contain inaccuracies.