Instructions to use ianlebot/Wireframe_to_Texture with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ianlebot/Wireframe_to_Texture with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nunchaku-tech/nunchaku-qwen-image-edit-2509", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ianlebot/Wireframe_to_Texture") prompt = "HNDPNT, Texture the wireframe mesh of a complex ornate fantasy tech-hammer. Apply a stylized handpainted base color style. The texture features a blocky head constructed from polished gold trim, copper plating, and silver inlays with scrollwork. It is embedded with large faceted glowing blue gems on the sides and blue crystal spikes at the back. The handle displays copper piping, vertical blue energy vials, and a dark brown grip with glowing blue runes, ending in a mechanical claw pommel." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
f6483fd
verified ·
0
Parent(s):
initial commit
Browse files- .gitattributes +55 -0
- README.md +132 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- lora
|
| 5 |
+
- diffusers
|
| 6 |
+
- template:diffusion-lora
|
| 7 |
+
widget:
|
| 8 |
+
- output:
|
| 9 |
+
url: images/hammer_output.png
|
| 10 |
+
text: >-
|
| 11 |
+
HNDPNT, Texture the wireframe mesh of a complex ornate fantasy tech-hammer.
|
| 12 |
+
Apply a stylized handpainted base color style. The texture features a blocky
|
| 13 |
+
head constructed from polished gold trim, copper plating, and silver inlays
|
| 14 |
+
with scrollwork. It is embedded with large faceted glowing blue gems on the
|
| 15 |
+
sides and blue crystal spikes at the back. The handle displays copper
|
| 16 |
+
piping, vertical blue energy vials, and a dark brown grip with glowing blue
|
| 17 |
+
runes, ending in a mechanical claw pommel.
|
| 18 |
+
- output:
|
| 19 |
+
url: images/barrel_output.png
|
| 20 |
+
text: >-
|
| 21 |
+
HNDPNT, Texture the wireframe mesh of a stylized wooden barrel. Apply a
|
| 22 |
+
stylized handpainted base color style. The texture features a body
|
| 23 |
+
constructed from thick, dark brown weathered wooden staves with prominent
|
| 24 |
+
stylized wood grain, deep gaps, and edge wear with lighter brown highlights.
|
| 25 |
+
It is reinforced by three broad, dark grey hammered metal bands secured with
|
| 26 |
+
large, chunky metal rivets. The top surface is a circular wooden lid with a
|
| 27 |
+
central recessed metal handle ring. Thick brushstrokes and baked-in lighting
|
| 28 |
+
define the chunky forms.
|
| 29 |
+
base_model: nunchaku-tech/nunchaku-qwen-image-edit-2509
|
| 30 |
+
instance_prompt: HNDPNT
|
| 31 |
+
license: apache-2.0
|
| 32 |
+
---
|
| 33 |
+
# Wireframe to Texture LoRA
|
| 34 |
+
|
| 35 |
+
<Gallery />
|
| 36 |
+
|
| 37 |
+
## Model description
|
| 38 |
+
|
| 39 |
+
# Wireframe to Hand-Painted – Stylized Texture LoRA
|
| 40 |
+
|
| 41 |
+
This LoRA is designed to convert **3D wireframe projections into stylized, hand-painted base textures** using image-to-image generation.
|
| 42 |
+
It is intended to be used as a **base texture generator**, not as a final production asset tool.
|
| 43 |
+
|
| 44 |
+
Check out this post for more info, prompts examples, etc: https://www.artstation.com/artwork/vb6X9a
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## 🔹 Base Model
|
| 49 |
+
|
| 50 |
+
This LoRA was trained on the **base version of Qwen Image Edit**
|
| 51 |
+
⚠️ **NOT trained on Qwen Image Edit 2509**
|
| 52 |
+
Results and behavior are aligned with the **base model only**.
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## 🔹 Training Setup
|
| 57 |
+
|
| 58 |
+
- Trained on **ModelScope**
|
| 59 |
+
- Dataset size: **50+ curated image pairs**
|
| 60 |
+
- Training data:
|
| 61 |
+
- **Input:** 2D image of Wireframe / projection renders from 3D models
|
| 62 |
+
- **Output:** Stylized hand-painted texture results
|
| 63 |
+
- Multiple LoRA variations were trained and tested
|
| 64 |
+
- Each variation included **multiple checkpoints**
|
| 65 |
+
- The released version corresponds to the **best-performing checkpoint** after visual and consistency evaluation
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## 🔹 Intended Input
|
| 70 |
+
|
| 71 |
+
This model expects:
|
| 72 |
+
|
| 73 |
+
- A **clean wireframe or projection render** of a 3D model
|
| 74 |
+
- **Neutral background** (gray or flat color recommended)
|
| 75 |
+
- **Clear silhouette and readable geometry**
|
| 76 |
+
|
| 77 |
+
Optimized for:
|
| 78 |
+
|
| 79 |
+
- Stylized / hand-painted textures
|
| 80 |
+
- Fantasy and stylized props
|
| 81 |
+
- Game-ready asset base generation
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
## ✅ What This Model Is For
|
| 86 |
+
|
| 87 |
+
- **Fast base texture generation**
|
| 88 |
+
- **Stylized look exploration**
|
| 89 |
+
- **Early production & iteration**
|
| 90 |
+
- **Indie and small-team pipelines**
|
| 91 |
+
- **Artist-in-the-loop workflows**
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## ❌ What This Model Is NOT
|
| 96 |
+
|
| 97 |
+
- ❌ Not a one-click final asset generator
|
| 98 |
+
- ❌ Does **not** generate full PBR texture sets
|
| 99 |
+
- ❌ Does **not** replace manual texturing
|
| 100 |
+
- ❌ Only textures **visible projected faces** (no full 360° automatic coverage)
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## 🔹 Recommended Workflow
|
| 105 |
+
|
| 106 |
+
1. Export a **wireframe / projection render** from your 3D software (3DCoat, Blender, etc.)
|
| 107 |
+
2. Use **image-to-image** with this LoRA
|
| 108 |
+
3. Generate a **stylized base texture**
|
| 109 |
+
4. **Refine manually** in 3DCoat, Substance, or painting tools
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## 🧠 Philosophy
|
| 114 |
+
|
| 115 |
+
This model is built to **empower artists, not replace them**.
|
| 116 |
+
It removes the **blank canvas problem** and accelerates early-stage production, while keeping **full creative control** in the artist’s hands.
|
| 117 |
+
|
| 118 |
+
AI as a **starting point**, not the final answer.
|
| 119 |
+
|
| 120 |
+
https://cdn-uploads.huggingface.co/production/uploads/645579dd1f9406d48803f158/7aVeKAkPNxLiPVP4s5fbT.mp4
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
## Trigger words
|
| 125 |
+
|
| 126 |
+
You should use `HNDPNT` to trigger the image generation.
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
## Download model
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
[Download](/ianlebot/Wireframe_to_Texture/tree/main) them in the Files & versions tab.
|