Instructions to use neuralvfx/LibreFlux-IP-Adapter-SAM-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use neuralvfx/LibreFlux-IP-Adapter-SAM-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("neuralvfx/LibreFlux-IP-Adapter-SAM-ControlNet", 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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -92,7 +92,7 @@ ip_image = Image.open("examples/merc.jpeg").convert("RGB")
|
|
| 92 |
ip_image = ip_image.resize((512, 512))
|
| 93 |
|
| 94 |
out = pipe(
|
| 95 |
-
prompt="
|
| 96 |
negative_prompt="blurry",
|
| 97 |
control_image=cond, # Use the tensor here
|
| 98 |
num_inference_steps=75,
|
|
|
|
| 92 |
ip_image = ip_image.resize((512, 512))
|
| 93 |
|
| 94 |
out = pipe(
|
| 95 |
+
prompt="the words libre flux",
|
| 96 |
negative_prompt="blurry",
|
| 97 |
control_image=cond, # Use the tensor here
|
| 98 |
num_inference_steps=75,
|