Instructions to use zjwfufu/SMD-FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zjwfufu/SMD-FLUX.1-dev 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("zjwfufu/SMD-FLUX.1-dev") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download examples/case.json from zjwfufu/SMD-FLUX.1-dev: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/zjwfufu/SMD-FLUX.1-dev/resolve/main/examples/case.json
- Command line
-
hf download hf://zjwfufu/SMD-FLUX.1-dev/examples/case.json
-
curl -L -o case.json https://huggingface.co/zjwfufu/SMD-FLUX.1-dev/resolve/main/examples/case.json
305 Bytes
| { | |
| "prompt": "A slightly worn cream canvas tote bag printed \"SMD\" in dark green, hanging on a wooden hook in a cozy home entryway. A casual jacket hangs beside it, a houseplant peeks into the corner. Warm afternoon light, candid everyday photograph.", | |
| "seed": 123, | |
| "height": 768, | |
| "width": 1360 | |
| } | |