Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -9,209 +9,86 @@ tags:
|
|
| 9 |
- lora
|
| 10 |
- multi-angle
|
| 11 |
- camera-angles
|
| 12 |
-
- 3d-poses
|
| 13 |
- text-to-image
|
| 14 |
-
- image-generation
|
| 15 |
- fal-ai
|
| 16 |
base_model: black-forest-labs/FLUX.1-dev
|
| 17 |
pipeline_tag: text-to-image
|
| 18 |
-
widget:
|
| 19 |
-
- text: "<sks> front view eye-level shot close-up, a robot"
|
| 20 |
-
output:
|
| 21 |
-
url: poses_72_animated.gif
|
| 22 |
---
|
| 23 |
|
| 24 |
-
# 🎬 Flux
|
| 25 |
|
| 26 |
-
> **
|
| 27 |
|
| 28 |
-
|
| 29 |
-
<a href="https://fal.ai"><img src="https://fal.ai/favicon.ico" width="20" height="20" /> <strong>Trained with fal.ai</strong></a>
|
| 30 |
-
</p>
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
---
|
| 37 |
|
| 38 |
-
## 🎯
|
| 39 |
|
| 40 |
```
|
| 41 |
<sks> [view] [elevation] shot [distance]
|
| 42 |
```
|
| 43 |
|
| 44 |
-
### Examples
|
| 45 |
|
| 46 |
```
|
| 47 |
<sks> front view eye-level shot close-up
|
| 48 |
<sks> right side view high-angle shot medium shot
|
| 49 |
<sks> back view overhead shot wide shot
|
| 50 |
-
<sks> front-left quarter view mid-angle shot close-up
|
| 51 |
```
|
| 52 |
|
| 53 |
-
###
|
| 54 |
|
| 55 |

|
| 56 |
|
| 57 |
---
|
| 58 |
|
| 59 |
-
##
|
| 60 |
-
|
| 61 |
-
### 8 Azimuth Angles (Horizontal)
|
| 62 |
-
| Angle | View Name |
|
| 63 |
-
|-------|-----------|
|
| 64 |
-
| 0° | front view |
|
| 65 |
-
| 45° | front-right quarter view |
|
| 66 |
-
| 90° | right side view |
|
| 67 |
-
| 135° | back-right quarter view |
|
| 68 |
-
| 180° | back view |
|
| 69 |
-
| 225° | back-left quarter view |
|
| 70 |
-
| 270° | left side view |
|
| 71 |
-
| 315° | front-left quarter view |
|
| 72 |
-
|
| 73 |
-
### 9 Elevation Angles (Vertical)
|
| 74 |
-
| Angle | Shot Type |
|
| 75 |
-
|-------|-----------|
|
| 76 |
-
| 0° | eye-level shot |
|
| 77 |
-
| 10° | low-angle shot |
|
| 78 |
-
| 20° | mid-low shot |
|
| 79 |
-
| 30° | mid-angle shot |
|
| 80 |
-
| 40° | high-mid shot |
|
| 81 |
-
| 45° | high-angle shot |
|
| 82 |
-
| 50° | steep-mid shot |
|
| 83 |
-
| 60° | steep-angle shot |
|
| 84 |
-
| 75° | overhead shot |
|
| 85 |
-
|
| 86 |
-
### 3 Distances (Depth)
|
| 87 |
-
| Distance | Radius |
|
| 88 |
-
|----------|--------|
|
| 89 |
-
| close-up | 3.0 |
|
| 90 |
-
| medium shot | 4.0 |
|
| 91 |
-
| wide shot | 5.0 |
|
| 92 |
-
|
| 93 |
-

|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
| File | Description | Use Case |
|
| 100 |
-
|------|-------------|----------|
|
| 101 |
-
| `flux-multi-angles-v2-72poses-fal.safetensors` | FAL-compatible LoRA | Use with [fal.ai](https://fal.ai) API |
|
| 102 |
-
| `flux-multi-angles-v2-72poses-comfy.safetensors` | ComfyUI-compatible LoRA | Use with ComfyUI |
|
| 103 |
|
| 104 |
---
|
| 105 |
|
| 106 |
-
##
|
| 107 |
-
|
| 108 |
-
### With fal.ai
|
| 109 |
-
|
| 110 |
-
This model was trained using [**fal.ai**](https://fal.ai) infrastructure.
|
| 111 |
-
|
| 112 |
-
1. Use `flux-multi-angles-v2-72poses-fal.safetensors`
|
| 113 |
-
2. Upload to FAL or reference from Hugging Face
|
| 114 |
-
3. Use the prompt format below
|
| 115 |
-
|
| 116 |
-
### With ComfyUI
|
| 117 |
-
|
| 118 |
-
1. Download `flux-multi-angles-v2-72poses-comfy.safetensors`
|
| 119 |
-
2. Place in your `ComfyUI/models/loras/` folder
|
| 120 |
-
3. Load FLUX.2-dev as base model
|
| 121 |
-
4. Apply LoRA with strength 0.8-1.0
|
| 122 |
-
5. Use the prompt format: `<sks> [view] [elevation] shot [distance], [your subject]`
|
| 123 |
-
|
| 124 |
-
### Example Prompts
|
| 125 |
-
|
| 126 |
-
```python
|
| 127 |
-
# Front view, eye level, close-up
|
| 128 |
-
"<sks> front view eye-level shot close-up, a futuristic robot"
|
| 129 |
-
|
| 130 |
-
# Side view, high angle, medium distance
|
| 131 |
-
"<sks> right side view high-angle shot medium shot, a sports car"
|
| 132 |
-
|
| 133 |
-
# Back view, overhead, wide shot
|
| 134 |
-
"<sks> back view overhead shot wide shot, a medieval castle"
|
| 135 |
-
```
|
| 136 |
-
|
| 137 |
-
---
|
| 138 |
-
|
| 139 |
-
## ⚙️ Recommended Settings
|
| 140 |
|
| 141 |
- **LoRA Strength**: 0.8 - 1.0
|
| 142 |
-
- **CFG Scale**: 3.5 - 7.0
|
| 143 |
-
- **Steps**: 20-30
|
| 144 |
- **Base Model**: FLUX.2-dev
|
| 145 |
|
| 146 |
---
|
| 147 |
|
| 148 |
-
##
|
| 149 |
-
|
| 150 |
-
| Feature | v1 (24 Poses) | v2 (72 Poses) |
|
| 151 |
-
|---------|---------------|---------------|
|
| 152 |
-
| Azimuths | 8 | 8 |
|
| 153 |
-
| Elevations | 3 | 9 |
|
| 154 |
-
| Distances | 1 (close-up) | 3 (close-up, medium, wide) |
|
| 155 |
-
| **Total Poses** | **24** | **72** |
|
| 156 |
-
|
| 157 |
-

|
| 158 |
-
|
| 159 |
-
---
|
| 160 |
-
|
| 161 |
-
## 📊 Dataset Creation Methodology
|
| 162 |
|
| 163 |
-
|
| 164 |
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
-
|
| 168 |
-
- **Multiple distance variations** to teach depth perception
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
---
|
| 173 |
|
| 174 |
-
## 💡 Inspiration
|
| 175 |
-
|
| 176 |
-
This project was inspired by two existing works:
|
| 177 |
|
| 178 |
-
|
| 179 |
-
|
|
|
|
| 180 |
|
| 181 |
-
|
| 182 |
-
I was also inspired by [**dx8152/Qwen-Edit-2509-Multiple-angles**](https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles) - a similar concept for camera angle control. However, since the dataset creation process wasn't documented, **I wanted to demonstrate how to properly create a dataset for this type of model** and explain the methodology behind it.
|
| 183 |
-
|
| 184 |
-
### 🎯 My Goal
|
| 185 |
-
With this project, I aimed to:
|
| 186 |
-
- **Show the complete dataset creation process** - transparent methodology
|
| 187 |
-
- **Document the 72-pose system** - precise mathematical angles
|
| 188 |
-
- **Provide comprehensive prompt references** - easy-to-follow examples
|
| 189 |
-
- **Apply these concepts to Flux.2** - bringing multi-angle control to a different architecture
|
| 190 |
-
|
| 191 |
-
---
|
| 192 |
-
|
| 193 |
-
## 📄 License
|
| 194 |
-
|
| 195 |
-
This model is released under the [CreativeML Open RAIL-M License](https://huggingface.co/spaces/CompVis/stable-diffusion-license).
|
| 196 |
|
| 197 |
---
|
| 198 |
|
| 199 |
## 👤 Author
|
| 200 |
|
| 201 |
-
Created by **
|
| 202 |
-
|
| 203 |
-
### Other Projects:
|
| 204 |
-
- 🎥 [next-scene-qwen-image-lora-2509](https://huggingface.co/lovis93/next-scene-qwen-image-lora-2509) - Cinematic scene progression for Qwen-Image-Edit (521+ likes!)
|
| 205 |
-
|
| 206 |
-
---
|
| 207 |
-
|
| 208 |
-
## 🙏 Acknowledgments
|
| 209 |
-
|
| 210 |
-
- [**fal.ai**](https://fal.ai) for providing the training infrastructure
|
| 211 |
-
- Black Forest Labs for FLUX.2
|
| 212 |
-
- [dx8152](https://huggingface.co/dx8152) for the inspiration with [Qwen-Edit-2509-Multiple-angles](https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles)
|
| 213 |
-
- The Hugging Face community
|
| 214 |
-
|
| 215 |
-
---
|
| 216 |
|
| 217 |
-
|
|
|
|
| 9 |
- lora
|
| 10 |
- multi-angle
|
| 11 |
- camera-angles
|
|
|
|
| 12 |
- text-to-image
|
|
|
|
| 13 |
- fal-ai
|
| 14 |
base_model: black-forest-labs/FLUX.1-dev
|
| 15 |
pipeline_tag: text-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# 🎬 Flux 2 Multi-Angles LoRA v2
|
| 19 |
|
| 20 |
+
> **Control camera angles with 72 unique positions - Trained with [fal.ai](https://fal.ai)**
|
| 21 |
|
| 22 |
+
## 🖼️ Results
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
| Input → Output | Input → Output | Input → Output |
|
| 25 |
+
|----------------|----------------|----------------|
|
| 26 |
+
|  |  |  |
|
| 27 |
|
| 28 |
+

|
| 29 |
|
| 30 |
---
|
| 31 |
|
| 32 |
+
## 🎯 Prompt Format
|
| 33 |
|
| 34 |
```
|
| 35 |
<sks> [view] [elevation] shot [distance]
|
| 36 |
```
|
| 37 |
|
| 38 |
+
### Quick Examples
|
| 39 |
|
| 40 |
```
|
| 41 |
<sks> front view eye-level shot close-up
|
| 42 |
<sks> right side view high-angle shot medium shot
|
| 43 |
<sks> back view overhead shot wide shot
|
|
|
|
| 44 |
```
|
| 45 |
|
| 46 |
+
### All 72 Prompts Reference
|
| 47 |
|
| 48 |

|
| 49 |
|
| 50 |
---
|
| 51 |
|
| 52 |
+
## 📦 Files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
| File | Use Case |
|
| 55 |
+
|------|----------|
|
| 56 |
+
| `flux-multi-angles-v2-72poses-fal.safetensors` | [fal.ai](https://fal.ai) |
|
| 57 |
+
| `flux-multi-angles-v2-72poses-comfy.safetensors` | ComfyUI |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
---
|
| 60 |
|
| 61 |
+
## ⚙️ Settings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
- **LoRA Strength**: 0.8 - 1.0
|
|
|
|
|
|
|
| 64 |
- **Base Model**: FLUX.2-dev
|
| 65 |
|
| 66 |
---
|
| 67 |
|
| 68 |
+
## 📐 72 Camera Positions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
**8 Azimuths** × **9 Elevations** × **3 Distances** = **72 Poses**
|
| 71 |
|
| 72 |
+
| Azimuths | Elevations | Distances |
|
| 73 |
+
|----------|------------|-----------|
|
| 74 |
+
| front, front-right quarter, right side, back-right quarter, back, back-left quarter, left side, front-left quarter | eye-level, low-angle, mid-low, mid-angle, high-mid, high-angle, steep-mid, steep-angle, overhead | close-up, medium, wide |
|
|
|
|
| 75 |
|
| 76 |
+

|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
+
## 💡 Inspiration
|
|
|
|
|
|
|
| 81 |
|
| 82 |
+
This project was inspired by:
|
| 83 |
+
- My previous work [next-scene-qwen-image-lora](https://huggingface.co/lovis93/next-scene-qwen-image-lora-2509)
|
| 84 |
+
- [dx8152/Qwen-Edit-2509-Multiple-angles](https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles)
|
| 85 |
|
| 86 |
+
I wanted to document how to properly create a dataset for camera angle control and apply it to Flux.2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
---
|
| 89 |
|
| 90 |
## 👤 Author
|
| 91 |
|
| 92 |
+
Created by **[@lovis93](https://huggingface.co/lovis93)** • Trained with [**fal.ai**](https://fal.ai)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
+
**⭐ If you find this useful, please star!**
|