Instructions to use xelolabazer/z-img-iphone2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xelolabazer/z-img-iphone2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("undefined", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("xelolabazer/z-img-iphone2") prompt = "candid iphone photo," image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("undefined", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("xelolabazer/z-img-iphone2")
prompt = "candid iphone photo,"
image = pipe(prompt).images[0]z img iphone2
Model description
lora test
Trigger words
You should use candid iphone photo, to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Training at fal.ai
Training was done using fal.ai/models/fal-ai/z-image-trainer.
- Downloads last month
- 2