Views
No views yet
1# Load and use the quantized model for image-to-image generation
2flux.swift.cli \
3 --load-quantized-path /path/to/this/model \
4 --hf-token YOUR_HF_TOKEN \
5 --init-image-path /path/to/input/image.png \
6 --prompt "Your transformation prompt here" \
7 --output output.png--init-image-path for image-to-image generation1flux.swift.cli \
2 --load-quantized-path /path/to/this/model \
3 --hf-token YOUR_HF_TOKEN \
4 --init-image-path ./reference.png \
5 --prompt "transform this into a watercolor painting with soft pastel tones" \
6 --steps 30 \
7 --guidance 3.5 \
8 --width 512 \
9 --height 512 \
10 --seed 42 \
11 --output watercolor_painting.png1@misc{flux-kontext,
2 author = {Black Forest Labs},
3 title = {FLUX.1-Kontext-dev},
4 publisher = {Black Forest Labs},
5 year = {2024},
6 url = {https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev}
7}
8
9@software{flux-swift,
10 author = {mzbac},
11 title = {flux.swift: Swift implementation of FLUX models},
12 url = {https://github.com/mzbac/flux.swift},
13 year = {2024}
14}