File size: 1,951 Bytes
2fe024c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
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 
> ```