| name: Flex.2-preview-MLX | |
| base_model: black-forest-labs/FLUX.1-schnell | |
| license: apache-2.0 | |
| pipeline_tag: text-to-image | |
| tasks : | |
| - image-generation | |
| - text-to-image | |
| language: en | |
| tags: | |
| - ostris | |
| - black-forest-labs | |
| - Flux-1 | |
| - schnell | |
| - Flex | |
| - mlx | |
| - apple | |
| library_name: mlx | |
| get_started_code: uvx --from mflux mflux-generate --model exdysa/Flex.2-preview-MLX --prompt 'Test Prompt' --base-model schnell --steps 4 --seed 10 --width 1024 --height 1024 --prompt 'Test prompt' | |
| > [!IMPORTANT] | |
| > Original Model Link : [https://huggingface.co/ostris/Flex.2-preview](https://huggingface.co/ostris/Flex.2-preview) | |
| > | |
| ``` | |
| name: Flex.2-preview-MLX | |
| base_model: black-forest-labs/FLUX.1-schnell | |
| license: apache-2.0 | |
| pipeline_tag: text-to-image | |
| tasks : | |
| - image-generation | |
| - text-to-image | |
| language: en | |
| tags: | |
| - ostris | |
| - black-forest-labs | |
| - Flux-1 | |
| - schnell | |
| - Flex | |
| - mlx | |
| - apple | |
| library_name: mlx | |
| get_started_code: uvx --from mflux mflux-generate --model exdysa/Flex.2-preview-MLX --prompt 'Test Prompt' --base-model schnell --steps 4 --seed 10 --width 1024 --height 1024 --prompt 'Test prompt' | |
| ``` | |
| # Flex.2-preview-MLX | |
| Flex.2-preview-MLX is an MLX conversion of the original Flex.2-preview model. Flex.2 is notable for having a built-in inpainting and control functionality for pose, line and depth. I have no idea if it works with mflux, so good luck! | |
| > [!WARNING] | |
| > MLX is a framework for METAL graphics supported by Apple computers with ARM M-series processors (M1/M2/M3/M4) | |
| > [!NOTE] | |
| > Generation using uv https://docs.astral.sh/uv/**: | |
| > ``` | |
| > uvx --from mflux mflux-generate --model exdysa/Flex.2-preview-MLX --prompt 'Test Prompt' --base-model schnell --steps 4 --seed 10 --width 1024 --height 1024 | |
| >``` | |
| > [!NOTE] | |
| > Generation using pip: | |
| > ``` | |
| > pipx --from mflux mflux-generate --model exdysa/Flex.2-preview-MLX --prompt 'Test Prompt' --base-model schnell --steps 4 --seed 10 --width 1024 --height 1024 | |
| > ``` | |