{"id":23529417,"url":"https://github.com/nandhu-44/lumina","last_synced_at":"2026-02-04T16:32:44.930Z","repository":{"id":269685303,"uuid":"908151922","full_name":"nandhu-44/Lumina","owner":"nandhu-44","description":"🎨 Modern AI art generator with real-time prompt enhancement and progress tracking. Built with Stable Diffusion, FastAPI, and Next.js","archived":false,"fork":false,"pushed_at":"2024-12-25T09:42:07.000Z","size":262,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T10:26:50.963Z","etag":null,"topics":["ai","content-filtering","image-generation","nextjs14","prompt-engineering","stable-diffusion","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nandhu-44.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-25T09:25:21.000Z","updated_at":"2024-12-25T09:42:10.000Z","dependencies_parsed_at":"2024-12-25T10:27:06.351Z","dependency_job_id":"766650c9-4d66-44a6-981d-a402ae8ac946","html_url":"https://github.com/nandhu-44/Lumina","commit_stats":null,"previous_names":["nandhu-44/lumina"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandhu-44%2FLumina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandhu-44%2FLumina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandhu-44%2FLumina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandhu-44%2FLumina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nandhu-44","download_url":"https://codeload.github.com/nandhu-44/Lumina/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239226460,"owners_count":19603270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","content-filtering","image-generation","nextjs14","prompt-engineering","stable-diffusion","websocket"],"created_at":"2024-12-25T21:10:26.269Z","updated_at":"2026-02-04T16:32:44.893Z","avatar_url":"https://github.com/nandhu-44.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lumina - AI Art Generator\n\n\u003e 🎨 A modern AI art generator with real-time prompt enhancement and generation progress tracking. Built with Stable Diffusion, FastAPI, and Next.js. Features GPT-4/Gemini Pro prompt enhancement, WebSocket updates, and content safety validation.\n\nLumina is an AI-powered image generation system that uses Stable Diffusion with prompt enhancement capabilities.\n\n## Features\n\n- Advanced prompt enhancement using GPT-4 OR Gemini Pro\n- Real-time generation progress updates via WebSocket\n- Content safety validation for both prompts and generated images\n- Customizable generation parameters\n- Modern responsive UI with animations\n\n## Prerequisites\n\n- Python 3.10+ _(Python 3.12.0)_\n- Node.js 18+ _(v22.12.0)_\n- CUDA-compatible GPU (recommended)\n- API Keys:\n  - OpenAI API key\n  - Google Gemini API key\n  - Hugging Face token\n\n## Backend Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/nandhu-44/Lumina.git\n   cd Lumina\n   ```\n\n2. Create and activate a virtual environment:\n\n   ```bash\n   python -m venv venv\n   # Windows\n   .\\venv\\Scripts\\activate\n   # Linux/MacOS\n   source venv/bin/activate\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Install PyTorch with CUDA support (if you have a compatible GPU) from the [pytorch official website](https://pytorch.org/get-started/locally/)\n\n   ```bash\n   pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu124\n   ```\n\n5. Create a `.env` file in the root directory:\n\n   ```env\n   OPENAI_API_KEY=your_openai_key\n   GEMINI_API_KEY=your_gemini_key\n   HF_TOKEN=your_huggingface_token\n   ```\n\n6. Start the backend server:\n\n   ```bash\n   uvicorn main:app\n   ```\n\nThe server will start at `http://localhost:8000`\n\n## Frontend Setup\n\nFor frontend setup instructions, please refer to the [web/README.md](web/README.md) file.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandhu-44%2Flumina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnandhu-44%2Flumina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandhu-44%2Flumina/lists"}