Instructions to use alisher123/Flux1-dev-redux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alisher123/Flux1-dev-redux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alisher123/Flux1-dev-redux", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use alisher123/Flux1-dev-redux with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download model_index.json from alisher123/Flux1-dev-redux: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/alisher123/Flux1-dev-redux/resolve/main/model_index.json
- Command line
-
hf download hf://alisher123/Flux1-dev-redux/model_index.json
-
curl -L -o model_index.json https://huggingface.co/alisher123/Flux1-dev-redux/resolve/main/model_index.json
295 Bytes
| { | |
| "_class_name": "FluxPriorReduxPipeline", | |
| "_diffusers_version": "0.32.0.dev0", | |
| "feature_extractor": [ | |
| "transformers", | |
| "SiglipImageProcessor" | |
| ], | |
| "image_embedder": [ | |
| "flux", | |
| "ReduxImageEncoder" | |
| ], | |
| "image_encoder": [ | |
| "transformers", | |
| "SiglipVisionModel" | |
| ] | |
| } | |