Instructions to use strangerzonehf/NFT-Plus-InsideOut-Perspective with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use strangerzonehf/NFT-Plus-InsideOut-Perspective 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.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("strangerzonehf/NFT-Plus-InsideOut-Perspective") prompt = "NFT ++, An eye-level view of a glass milk carton with the words \"prithivml\" written on it in black letters. The carton is filled with a few dark gray clouds, and there is a white barcode on the left side of the carton. The background is a light blue color." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 4,392 Bytes
da8789e 5f3c3f3 56ba2b2 5f3c3f3 56ba2b2 da8789e 56ba2b2 710e351 56ba2b2 710e351 56ba2b2 710e351 56ba2b2 04dca3b 56ba2b2 04dca3b 56ba2b2 da8789e 56ba2b2 da8789e 56ba2b2 da8789e 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 56ba2b2 7e27c34 | 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | ---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- flux
- nft
- pfp
- art
- cartoon
widget:
- text: 'YellowGang, A front-facing view of the character from image_0.png wearing a back-turned black snapback cap, a red basketball jersey with "1" and "YellowGang" logo, gold chains, and holding a small basketball, solid blue background.'
output:
url: >-
https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-default.png
- text: 'YellowGang, A character from image_0.png wearing a futuristic cyborg motorcycle helmet with a glowing red LED visor, an astronaut suit with the "YellowGang" patch, and a starry cosmic background.'
output:
url: >-
https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-cyborg.png
- text: 'YellowGang, The yellow character from image_0.png clean-shaven (bald), wearing a classic black and white zebra bandana, sleek black aviator sunglasses, and a pink Japanese Kimono with the "YellowGang" logo.'
output:
url: >-
https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-kimono.png
- text: 'YellowGang, A close-up portrait of the character from image_0.png with large over-ear DJ headphones, angry red eyes, a spiked leather choker collar, and a blue streetwear hoodie with the "YellowGang" logo, dark city background.'
output:
url: >-
https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-punk.png
- text: 'YellowGang, A character from image_0.png with neon green spike hair, "X" dead-style eyes, a tattered military uniform, and a zombie-groan mouth expression.'
output:
url: >-
https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-zombie.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: YellowGang
license: creativeml-openrail-m
---

<Gallery />
# Model description for YellowGang-Generator-LoRA
This LoRA model is a specialized generator for the "YellowGang" collection, based on the signature yellow-skinned character style with bold cartoon outlines, as seen in `image_0.png`. It is fine-tuned to preserve the character's facial features and proportions while allowing for high-fidelity generation of diverse traits, including various headwear (bandanas, crowns, helmets), eyewear (cyborg, classic, sleepy), outfits (hoodies, jerseys, armor, suits), and neck accessories (chains, chokers, scarfs). The model ensures the "YellowGang" logo is consistently applied to all outfits.
Image Processing Parameters (Used for Training)
| Parameter | Value | Parameter | Value |
|---------------------------|----------|---------------------------|--------|
| LR Scheduler | constant | Noise Offset | 0.03 |
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
| Network Dim | 128 | Multires Noise Iterations | 10 |
| Network Alpha | 64 | Repeat & Steps | 25 & 3500 |
| Epoch | 15 | Save Every N Epochs | 2 |
Labeling: florence2-en(natural language & English) with specific trait tagging.
Total Images Used for Training : 20 (Base character + variation set)
## Best Dimensions & Inference
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|-----------------|------------------|---------------------------|
| 1024 x 1024 | 1:1 (Square PFP) | Best (Default for PFP) |
| 1280 x 832 | 3:2 | Recommended |
### Inference Range
- **Recommended Inference Steps:** 30–35
## Setting Up
To use this LoRA in your Diffusers pipeline, ensure you use the `YellowGang` instance prompt.
```python
import torch
from diffusers import DiffusionPipeline
# Base model on which the LoRA was trained
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
# The location of the fine-tuned LoRA
lora_repo = "your_username/YellowGang-Generator-LoRA"
pipe.load_lora_weights(lora_repo)
# Trigger word to activate the specific character identity
trigger_word = "YellowGang"
device = torch.device("cuda")
pipe.to(device)
|