| --- |
| title: LucasArts Pixel Art Style |
| emoji: 🎮 |
| colorFrom: amber |
| colorTo: orange |
| sdk: gradio |
| sdk_version: 5.12.0 |
| app_file: app.py |
| pinned: true |
| license: mit |
| short_description: Transform face photos into LucasArts adventure-game pixel art! |
| disable_embedding: false |
| --- |
| |
| # 🎮 LucasArts Pixel Art Style |
|
|
| Transform any face photo into LucasArts adventure-game pixel art using AI. |
|
|
| ## Architecture |
|
|
| - **Base Model:** AlbedoBase XL v2.1 (SDXL) |
| - **Face Identity:** InstantID ControlNet + IP-Adapter |
| - **Depth Structure:** ZoeDepth ControlNet |
| - **Style LoRA:** LucasArts pixel art (`primerz/pixagram → lucasart.safetensors`) |
| - **Scheduler:** DPMSolver++ with Karras sigmas |
| - **Face Detection:** InsightFace (antelopev2) |
|
|
| ## How It Works |
|
|
| 1. Upload a clear face photo |
| 2. Write a prompt describing the character |
| 3. Adjust face/depth/image strength as needed |
| 4. Click "Generate LucasArts Style" |
|
|
| The pipeline detects your face, extracts identity embeddings, generates a depth map, |
| and uses dual ControlNets to produce a pixel-art image that preserves your likeness |
| while applying the LucasArts adventure-game aesthetic. |
|
|
| ## Key Parameters |
|
|
| | Parameter | Default | Effect | |
| |-----------|---------|--------| |
| | Face Identity Strength | 0.85 | Higher = more likeness, less style freedom | |
| | Image Strength | 0.15 | Higher = closer to original photo | |
| | Depth Strength | 0.80 | Higher = more structural preservation | |
| | Guidance Scale | 7.0 | Higher = stronger prompt adherence | |
| | Steps | 20 | More = higher quality, slower | |
|
|
| ## Credits |
|
|
| - Inspired by fofr's [face-to-many](https://github.com/fofr/cog-face-to-many) |
| - InstantID by [InstantX](https://huggingface.co/InstantX/InstantID) |
| - LucasArts LoRA from [primerz/pixagram](https://huggingface.co/primerz/pixagram) |
|
|