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 History
-
Deploy architectural upgrades: VRAM CPU offloading, sequential task queue, pipeline registry, and SQLite database manager
9748021
-
Update README.md
Verified signature68fae0c -
Update README.md
Verified signature3b6ea27
-
feat: implement premium cinematic typography layouts, revert ControlNet, and remove token
f47d70f
-
feat: Enable mock mode by default and add comprehensive generation logging Frontend Changes: - Change mock mode default from false to true for faster testing - Users can toggle to real mode via UI toggle switch Backend Changes: - Add detailed logging for model loading stages (download, move to device, etc.) - Add warning message about large model download (4GB+, 5-10 minutes) - Add timeout handling for model loading - Add detailed inference logging (steps, guidance_scale, seed) - Add generation completion summary logging - Better error messages guiding users to use mock mode or wait for download This fixes the stuck generation issue by: 1. Defaulting to mock mode which generates instantly (~1-2 seconds) 2. Providing clear logging when downloading real model 3. Gracefully falling back to mock if real model fails to load
9c2da37 -
fix: Improve Ollama client logging and use llama3.2:1b model - Add debug logging on OllamaClient initialization - Update model to llama3.2:1b (faster, lighter weight) - Improve connection check logging with clear status messages - Graceful fallback to heuristic prompts when Ollama unavailable Ollama is running on localhost:11434 with multiple models available: - llama3.2:1b (1.2B, fastest) - llama3:latest (8B, best quality) - mistral:latest (7.2B, balanced) - deepseek-r1:7b (7.6B, best reasoning)
5680fa0 -
fix: Improve Ollama fallback handling and add better debug logging - Reduce Ollama timeout from 35s to 10s for faster fallback - Add TimeoutError handling alongside URLError - Improve debug messages for model loading stages - Enable mock mode by default (can be toggled via API) - Add more granular logging for MPS pipeline initialization This fixes the hanging issue when Ollama is not running by quickly falling back to mock mode with better error reporting.
52db35c -
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
dcc1b85 -
v1.1: Add 16 specialized categories, colorization, face restoration, and advanced image editing Features: - Add category_prompts.py with 16 specialized categories (110+ templates) * Creative Art, Characters, Landscapes, Architecture, Vehicles, Products, Marketing * Food, Fashion, Gaming, Animals, Events, Business, Education * Each category includes 5-8 optimized subcategories with specialized prompt templates - Implement colorization endpoint (/api/colorize) with 5 styles * Vibrant, Warm, Cool, Vintage, Sepia color grading styles * Adaptive color enhancement with saturation and contrast control - Implement face restoration endpoint (/api/face-restoration) with 4 intensity levels * Low, Medium, High, Ultra intensity levels * Denoising, sharpening, contrast enhancement, color vibrancy boost - Update pipeline.py with new methods * colorize() method supporting 5 color grading styles * restore_face() method with intensity-based enhancement - Update app.py with new request models * ColorizeRequest model with style parameter * FaceRestorationRequest model with intensity parameter * Add 2 new endpoints: /api/colorize and /api/face-restoration - Update ollama_client.py expand_prompt() method * Add category and subcategory parameter support * Integrate category-specific prompt enhancements * Maintain backward compatibility Backend: - All endpoints tested and verified - Proper error handling and base64 encoding/decoding - Rate limiting applied to new endpoints - Production-ready implementation
0914032
-
Update README.md
Verified signature3d76de3 -
Deploy LumaForge AuraGen backend API to Hugging Face
6836a23