File size: 1,758 Bytes
8e2062d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
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)