Instructions to use paom/texture2albedo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use paom/texture2albedo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("paom/texture2albedo") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/_test2.jpeg | |
| text: '-' | |
| base_model: black-forest-labs/FLUX.2-klein-4B | |
| instance_prompt: "Unlit flat-shaded albedo map. Remove all shadows, reflections, highlights, and specularity. Maintain absolute pixel-per-pixel structural identity, shape, and spatial alignment with the original image, displaying only raw base color." | |
| license: apache-2.0 | |
| use this prompt: | |
| Unlit flat-shaded albedo map. Remove all shadows, reflections, highlights, and specularity. Maintain absolute pixel-per-pixel structural identity, shape, and spatial alignment with the original image, displaying only raw base color. | |
| # texture2albedo | |
| <Gallery /> | |
| ## Model description | |
| this should remove harsh shadows from textures. works better with artificial sources of light. | |
|  | |
| ## Download model | |
| [Download](/paom/texture2albedo/tree/main) them in the Files & versions tab. | |