Text-to-Image
Diffusers
English
sdxl
sdxl-turbo
stable-diffusion
image-to-image
image-generation
image-editing
fastapi
mps
Run this model with HF Jobs
Run sujithputta/Lumaforge on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sujithputta/Lumaforge. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sujithputta/Lumaforge on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use sujithputta/Lumaforge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sujithputta/Lumaforge with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sujithputta/Lumaforge", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit Β·
dcc1b85
1
Parent(s): 0914032
docs: Update README for v1.1 model release - Change main heading to reflect it's a model, not just an API engine - Add Model Specifications table with key details - Update description to highlight 16 categories and advanced editing features - Improve Hugging Face metadata and tags
Browse files1234513 unmodified lines1920212223242526272829303194 unmodified lines126127128129130131132---title: LumaForge-Image Generation Modelemoji: πcolorFrom: indigocolorTo: purple13 unmodified lines- text-to-image- image-to-image- image-generation- fastapi- mps---# π LumaForge AuraGen: Latent Diffusion & Fine-Tuning API EngineThis is the self-contained backend API engine for LumaForge AuraGen, designed to be deployed directly to **Hugging Face Spaces** (Docker or Python API spaces). It provides endpoints for Text-to-Image generation, Image-to-Image styling, 2x upscaling, background removal, dataset curation, and LoRA fine-tuning telemetry.---94 unmodified lines```* **Actions**: Isolates the foreground subject. Uses `rembg` if available, falling back to a vectorized NumPy color-threshold algorithm featuring linear alpha feathering to prevent jagged edges.### 6. Model Training Telemetry* **`POST /api/train`**: Triggers PyTorch UNet LoRA layer fine-tuning on a background thread.* **`GET /api/train/status`**: Returns live telemetry logs (epoch progress, validation loss metrics, prompt adherence).1234513 unmodified lines19202122232425262728293031323334353637383940414243444546474849505152535455565794 unmodified lines152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193---title: LumaForge-Image Generation Model v1.1emoji: πcolorFrom: indigocolorTo: purple13 unmodified lines- text-to-image- image-to-image- image-generation- image-editing- colorization- face-restoration- fastapi- mps---# π LumaForge v1.1 - Advanced Image Generation ModelLumaForge is a powerful image generation model built on Stable Diffusion, featuring **16 specialized categories**, advanced image editing capabilities, and fine-tuning support. This repository contains the complete model backend with a FastAPI interface, designed to be deployed directly to **Hugging Face Spaces**.### Model CapabilitiesText-to-Image generation with **16 specialized categories**, Image-to-Image styling, advanced image editing (colorization & face restoration), 2x upscaling, background removal, dataset curation, and LoRA fine-tuning.### π¨ What's New in v1.1- **16 Specialized Generation Categories**: Creative Art, Characters, Landscapes, Architecture, Vehicles, Products, Marketing, Food, Fashion, Gaming, Animals, Events, Business, Education (110+ optimized prompt templates)- **Colorization Endpoint**: Transform B&W images with 5 color grading styles (Vibrant, Warm, Cool, Vintage, Sepia)- **Face Restoration Endpoint**: Enhance facial features with 4 intensity levels (Low, Medium, High, Ultra)- **Advanced Prompt Enhancement**: Category-aware prompt expansion for superior generation quality### π Model Specifications| Specification | Details ||--------------|---------|| **Base Model** | Stable Diffusion v1.5 with fine-tuning capability || **Backend** | FastAPI with PyTorch & Diffusers || **Device Support** | Apple Silicon MPS, CPU fallback || **Categories** | 16 specialized categories with 110+ prompt templates || **Image Editing** | Colorization (5 styles), Face Restoration (4 levels), Background Removal, Upscaling (2x) || **Deployment** | Docker or Python SDK on Hugging Face Spaces || **Rate Limiting** | 10 gen/min, 60 API calls/min || **Output Format** | Base64 PNG with metadata |---94 unmodified lines```* **Actions**: Isolates the foreground subject. Uses `rembg` if available, falling back to a vectorized NumPy color-threshold algorithm featuring linear alpha feathering to prevent jagged edges.### 6. Image Colorization (v1.1)* **`POST /api/colorize`*** **Payload**:```json{"image_b64": "data:image/png;base64,...","style": "vibrant | warm | cool | vintage | sepia","mock": false}```* **Styles**:- **Vibrant**: Boost saturation and contrast for punchy, eye-catching colors- **Warm**: Golden temperature shift for cozy, sunset-like atmospheres- **Cool**: Blue temperature shift for calming, professional aesthetics- **Vintage**: Retro film look with muted tones and warm overlay- **Sepia**: Classic sepia tone for timeless, nostalgic effects* **Actions**: Applies adaptive color grading and enhancement filters to transform image color profiles.### 7. Face Restoration (v1.1)* **`POST /api/face-restoration`*** **Payload**:```json{"image_b64": "data:image/png;base64,...","intensity": "low | medium | high | ultra","mock": false}```* **Intensity Levels**:- **Low**: Subtle enhancement, preserves original character- **Medium**: Balanced enhancement for improved clarity- **High**: Aggressive enhancement for maximum facial detail- **Ultra**: Maximum enhancement with intensive denoising and sharpening* **Actions**: Applies denoising, sharpening, contrast enhancement, and color vibrancy boost to improve facial features and clarity.### 8. Model Training Telemetry* **`POST /api/train`**: Triggers PyTorch UNet LoRA layer fine-tuning on a background thread.* **`GET /api/train/status`**: Returns live telemetry logs (epoch progress, validation loss metrics, prompt adherence).
README.md+65-4