lovis93 commited on
Commit
ece1be1
·
verified ·
1 Parent(s): 67b759f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +29 -152
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.2 Multi-Angles v2 - 72 Camera Poses LoRA
25
 
26
- > **Generate images from any angle with precise camera control!**
27
 
28
- <p align="center">
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
- ![72 Poses Animated](poses_72_animated.gif)
 
 
33
 
34
- This LoRA enables **72 unique camera positions** for FLUX.2, giving you complete control over viewing angles, elevations, and distances.
35
 
36
  ---
37
 
38
- ## 🎯 Quick Start - Prompt Format
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
- ### Complete Prompt Reference
54
 
55
  ![72 Poses Prompts](poses_72_prompts.png)
56
 
57
  ---
58
 
59
- ## 📐 Camera Configuration
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
- ![72 Poses Hemisphere](poses_72_hemisphere.png)
94
 
95
- ---
96
-
97
- ## 📦 Files Included
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
- ## 🚀 Usage
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
- ## 🆕 What's New in v2?
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
- ![24 vs 72 Comparison](correct_24_vs_72_comparison.png)
158
-
159
- ---
160
-
161
- ## 📊 Dataset Creation Methodology
162
 
163
- This LoRA was trained with [**fal.ai**](https://fal.ai) using a carefully constructed dataset featuring:
164
 
165
- - **72 precise camera positions** mathematically calculated on a hemisphere
166
- - **Consistent subjects** rendered from all angles
167
- - **Clear labeling system** using view + elevation + distance format
168
- - **Multiple distance variations** to teach depth perception
169
 
170
- The goal was to create a **reproducible and documented approach** that others can learn from and build upon.
171
 
172
  ---
173
 
174
- ## 💡 Inspiration & Background
175
-
176
- This project was inspired by two existing works:
177
 
178
- ### 1. My Previous Work: Next-Scene LoRA
179
- I previously created [**next-scene-qwen-image-lora-2509**](https://huggingface.co/lovis93/next-scene-qwen-image-lora-2509) - a LoRA for Qwen-Image-Edit that enables cinematic scene progression and camera movements. This gave me experience in training models for camera control.
 
180
 
181
- ### 2. dx8152's Multiple-Angles LoRA
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 **lovis93** ([@lovis93](https://huggingface.co/lovis93))
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
- **If you find this model useful, please consider giving it a ⭐!**
 
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
+ | ![Result 1](result01.png) | ![Result 2](result02.png) | ![Result 3](result03.png) |
27
 
28
+ ![72 Poses Demo](poses_72_animated.gif)
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
  ![72 Poses Prompts](poses_72_prompts.png)
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
+ ![Camera Positions](poses_72_hemisphere.png)
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!**