Instructions to use zero-jin/instruct-pix2pix-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zero-jin/instruct-pix2pix-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zero-jin/instruct-pix2pix-model", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 1713603630.7894592
- 1713603630.791311
- 1713603695.2993498
- 1713603695.3011487
- 1713603721.3297217
- 1713603721.3315046
- 1713661784.7681954
- 1713661784.7702148
- 1713661974.8982706
- 1713661974.900045
- 1713662898.8130405
- 1713662898.8148851
- 856 Bytes xet
- 136 Bytes xet
- 73.5 kB xet
- 952 Bytes xet
- 376 Bytes xet
- 441 kB xet