lacerbi/web-txt2img
Generate images from text prompts directly in the browser using open-weights AI models
This project helps web application developers integrate AI image generation directly into their browser-based tools. It takes text descriptions as input and generates corresponding images using open-source models like SD-Turbo and Janus-Pro-1B. The primary users are front-end developers building interactive web experiences that require on-demand visual content creation.
No commits in the last 6 months. Available on npm.
Use this if you are a web developer building an application where users need to generate images from text prompts directly in their web browser, without relying on a backend server.
Not ideal if you need a solution for server-side image generation, require advanced image controls beyond basic prompting and seeding, or target browsers without modern WebGPU support.
Stars
13
Forks
2
Language
TypeScript
License
MIT
Category
Last pushed
Sep 01, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/generative-ai/lacerbi/web-txt2img"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
invoke-ai/InvokeAI
Invoke is a leading creative engine for Stable Diffusion models, empowering professionals,...
Anil-matcha/Open-Higgsfield-AI
Open-source alternative to Higgsfield AI — Free AI image generation & cinema studio with 20+...
KennethJAllen/proper-pixel-art
Fixes AI pixel art or sprite web uploads
Haidra-Org/horde-worker-reGen
The default client software to create images for the AI-Horde
sanidhyy/brainwave
Modern Animated SaaS Generative AI Landing Page.