Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 Pollinations Image Lab

A modern, lightweight and dependency-free AI image generation client for Pollinations AI.

Generate AI images with the latest available Pollinations models using a clean, responsive interface with advanced generation controls, prompt history, and zero build tools.

Live Demo GitHub Stars Forks License

⚑ Zero Dependencies β€’ 🌐 Browser Native β€’ πŸ“± Mobile Friendly β€’ 🎨 Multiple Models


Demo

Pollinations Image Lab Demo


Highlights

  • 🎨 Generate AI images using Pollinations AI
  • πŸš€ Automatically fetch the latest available models
  • βš™οΈ Advanced generation controls
  • πŸ–Ό Multiple image models
  • πŸ“ Custom image dimensions
  • 🎲 Seed support
  • πŸ“œ Prompt history
  • πŸ’Ύ Persistent settings
  • πŸ“₯ One-click image download
  • πŸ“± Responsive interface
  • ⚑ Zero dependencies
  • 🌐 Runs entirely inside your browser

Screenshots


Why Pollinations Image Lab?

Pollinations AI provides an excellent image generation API.

Pollinations Image Lab focuses on making that API easy and enjoyable to use.

Instead of relying on frontend frameworks, package managers, or build tools, the application is built entirely with modern browser technologies.

The result is a project that is:

  • Lightweight
  • Fast
  • Easy to understand
  • Easy to maintain
  • Easy to extend

Everything runs directly inside your browser.

No backend required.

No installation required.


Features

AI Image Generation

Generate images using the latest Pollinations models with a clean and responsive interface.

Supported capabilities

  • Multiple image models
  • Automatic model discovery
  • Prompt generation
  • Image preview
  • Image download

Advanced Controls

Fine-tune image generation with:

  • Width
  • Height
  • Aspect Ratio
  • Seed
  • Model Selection
  • API Key
  • Generation Parameters

Productivity

Built for everyday usage.

Features include:

  • Prompt History
  • Persistent Settings
  • Responsive Layout
  • Mobile Support

Live Demo

The easiest way to use Pollinations Image Lab is through GitHub Pages.

No installation.

No setup.

Works on desktop and mobile.


Running Locally

Clone the repository.

git clone https://github.com/RaptorVampire/pollinations-image-lab.git

Because the project uses ES Modules, it should be served using a local web server.

Python

python -m http.server

Node.js

npx serve

VS Code

Use the Live Server extension.

Then open

http://localhost:8000

Project Structure

.
β”œβ”€β”€ assets/.
β”‚
β”œβ”€β”€ css/
β”‚
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ app.js
β”‚   └── modules/
β”‚       β”œβ”€β”€ api.js
β”‚       β”œβ”€β”€ config.js
β”‚       β”œβ”€β”€ generator.js
β”‚       β”œβ”€β”€ history.js
β”‚       β”œβ”€β”€ settings.js
β”‚       β”œβ”€β”€ ui.js
β”‚       └── utils.js
β”‚
β”œβ”€β”€ index.html
└── README.md

Architecture

Browser

      β”‚

      β–Ό

  index.html

      β”‚

      β–Ό

    app.js

      β”‚

 β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

 β–Ό                               β–Ό

UI Modules                 API Modules

 β”‚                               β”‚

 β–Ό                               β–Ό

History                  Pollinations API

Settings

Utilities

Configuration

Each module has a single responsibility, making the project easier to understand, maintain, and extend.


Design Philosophy

Pollinations Image Lab embraces simplicity.

Instead of introducing unnecessary complexity, the project relies on standard browser APIs and modern JavaScript.

No frameworks.

No build process.

No transpilers.

No package managers.

Modern browsers already provide everything required to build fast, maintainable applications.


Browser Support

Pollinations Image Lab works in all modern browsers that support ES Modules.

  • Chrome
  • Edge
  • Firefox
  • Safari

Contributing

Contributions are always welcome.

Whether you want to:

  • Report a bug
  • Suggest a feature
  • Improve the UI
  • Improve documentation
  • Optimize performance
  • Refactor code

feel free to open an Issue or Pull Request.

If you're planning a significant change, please open an issue first so the proposed changes can be discussed before implementation.


Support

If you find this project useful, consider giving it a ⭐.

Stars help more developers discover the project and motivate future development.


License

Released under the MIT License.

About

A modern AI image generator powered by Pollinations.ai with model selection, generation history, custom dimensions, seeds, and transparent image support.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages