Instructions to use TencentARC/PhotoMaker-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/PhotoMaker-V2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TencentARC/PhotoMaker-V2", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Make hd
Verified signature02380be
-
Update README.md
Verified signaturef5a1e51 -
Upload photomaker.bin with huggingface_hub (#1)
Verified signature- Upload photomaker.bin with huggingface_hub (1a4ba34bf91e6e3ca31afe682dc80d5e6f981895) - Rename photomaker.bin to photomaker-v2.bin (21bb277d3501e91446dd21662041c8d7af4ec879) Co-authored-by: Lucain Pouget <Wauplin@users.noreply.huggingface.co>4a18368 -
initial commit
Verified signature5a585c4