Text-to-Image
Diffusers
Safetensors
stable-diffusion
stable-diffusion-diffusers
lora
photorealistic
people
cars
textures
Instructions to use Pedro21613/PS-IMAGE-1.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Pedro21613/PS-IMAGE-1.3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Pedro21613/PS-IMAGE-1.3") 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
Download adapter_config.json from Pedro21613/PS-IMAGE-1.3: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/Pedro21613/PS-IMAGE-1.3/resolve/main/adapter_config.json
- Command line
-
hf download hf://Pedro21613/PS-IMAGE-1.3/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Pedro21613/PS-IMAGE-1.3/resolve/main/adapter_config.json
433 Bytes
| { | |
| "peft_type": "LORA", | |
| "base_model_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5", | |
| "r": 16, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.0, | |
| "bias": "none", | |
| "target_modules": [ | |
| "to_q", | |
| "to_k", | |
| "to_v", | |
| "to_out.0", | |
| "ff.net.0.proj", | |
| "ff.net.2" | |
| ], | |
| "task_type": null, | |
| "inference_mode": true, | |
| "fan_in_fan_out": false, | |
| "modules_to_save": null, | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |