You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: imagine-parameters.md
+53-76Lines changed: 53 additions & 76 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,55 +6,54 @@ description: An illustrated Guide to /imagine parameters
6
6
7
7
### Basic Structure
8
8
9
-
Parameters options that change how the images generate. A full `/imagine` command might contain several things, like an image URL, image weights, algorithm versions, and other switches.\
9
+
Parameters options that change how the images generate. A full `/imagine` command might contain several things, like an image URL, image weights, algorithm versions, and other switches.\
10
10
\
11
11
`/imagine` parameters should follow the below order:
12
12
13
13

14
14
15
-
"Switches" in this context means controls passed to the bot using a "--" parameter. For instance, the command `/imagine hi there --w 448` has a text prompt, and a parameter for the width, using the "--w" instruction.\
16
-
\
17
-
15
+
"Switches" in this context means controls passed to the bot using a "--" parameter. For instance, the command `/imagine hi there --w 448` has a text prompt, and a parameter for the width, using the "--w" instruction.\
16
+
\\
18
17
19
18
### Sizes
20
19
21
-
#### **Width and Height** 
20
+
#### **Width and Height**
22
21
23
22
`--w` Width of image. Works better as multiple of 64 (or 128 for `--hd`)
24
23
25
24
`--h` Height of image. Works better as multiple of 64 (or 128 for `--hd`)
26
25
27
26
`--w` and `--h` values above 512 are unstable and may cause errors.
**/imagine:**`prompt`**`vibrant california poppies`**
32
31
33
-
````
32
+
``
34
33
35
34
**/imagine:**`prompt`**`vibrant california poppies --w 448`**
36
35
37
-
**``**
36
+
**\`\`**
38
37
39
-
`--aspect`or `--ar` Sets a desired aspect ratio, instead of manually setting height and width with `--h` and `--w`. 
38
+
`--aspect` or `--ar` Sets a desired aspect ratio, instead of manually setting height and width with `--h` and `--w`.
40
39
41
40
Try `--ar 16:9` for example, to get a 9:16 aspect ratio (\~256x448).
42
41
43
-
 `prompt`**`vibrant california poppies --ar 9:16`**
42
+
.png>)`prompt`**`vibrant california poppies --ar 9:16`**
44
43
45
44
Also see [Understanding Image Sizes](resource-links/understanding-image-size.md).
46
45
47
46
#### Size Shortcuts
48
47
49
-
These "shortcuts" are command that do the same as the forms following the ":" in the list below. For instance, if you type:
48
+
These "shortcuts" are command that do the same as the forms following the ":" in the list below. For instance, if you type:
50
49
51
50
**/imagine:**`prompt`**`vibrant california poppies`**`--wallpaper`
52
51
53
52
It would be the same as typing the longer form:
54
53
55
54
**/imagine:**`prompt`**`vibrant california poppies`**`--w 1920 --h 1024 --hd`
56
55
57
-
``
56
+
\`\`
58
57
59
58
Shortcut equivalences:
60
59
@@ -80,41 +79,35 @@ Shortcut equivalences:
80
79
81
80
`--version 1` or `--v 1` uses the original Midjourney algorithm (more abstract, sometimes better for macro or textures). `--v 1` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_btn.png"alt=""data-size="line">button in `/settings.`
82
81
83
-
``.png>) prompt: **`vibrant california poppies` --version 1**
82
+
\`\`.png>) prompt: **`vibrant california poppies` --version 1**
84
83
85
84
#### Version **2**
86
85
87
-
`--version 2` or `--v 2` uses the original Midjourney algorithm in use before July 25th, 2022.\
86
+
`--version 2` or `--v 2` uses the original Midjourney algorithm in use before July 25th, 2022.\
88
87
`--v 2` corresponds to the <imgsrc=".gitbook/assets/MJ_v2_btn.png"alt=""data-size="line">button in `/settings.`
89
88
90
89
.png>) prompt: **`vibrant california poppies` --v 2**
91
90
92
91
#### Version **3**
93
92
94
-
`--version 3` or `--v 3` uses the current default Midjourney algorithm.\
93
+
`--version 3` or `--v 3` uses the current default Midjourney algorithm.\
95
94
`--v 3` corresponds to the <imgsrc=".gitbook/assets/MJ_v3_btn.png"alt=""data-size="line"> button in `/settings.`
96
95
97
-
`` prompt: **`vibrant california poppies --v 3`**
96
+
\`\` prompt: **`vibrant california poppies --v 3`**
98
97
99
98
#### High Definition
100
99
101
-
`--hd` Uses a different algorithm that’s potentially better for larger images, but with less consistent compositions. 
100
+
`--hd` Uses a different algorithm that’s potentially better for larger images, but with less consistent compositions.
102
101
103
102
prompt: **`vibrant california poppies --hd`**
104
103
105
-
106
-
107
-
108
-
109
104
### Prompt Modifiers
110
105
111
106
#### --No
112
107
113
-
`--no` Negative prompting (e.g., `--no plants` would try to remove plants). This is like giving it a weight of -0.5.
114
-
115
-
 .png>) prompt: **`vibrant california poppies --no grass`** 
116
-
108
+
`--no` Negative prompting (e.g., `--no plants` would try to remove plants). This is like giving it a weight of -0.5.
117
109
110
+
 prompt: \*\*`vibrant california poppies --no grass`\*\*
118
111
119
112
### Detail Modifiers
120
113
@@ -128,17 +121,11 @@ Shortcut equivalences:
128
121
129
122
`--uplight` Use "lighter" upscaler for upscales. Light results are closer to the original image with less detail added during upscale. `--uplight` corresponds to the <imgsrc=".gitbook/assets/MJ_uplight_btn.png"alt=""data-size="line"> button in `/settings`.
Regular upscale <imgsrc=".gitbook/assets/MJ_regUpscale_btn.png"alt=""data-size="line"> (left) vs Light Upscale <imgsrc=".gitbook/assets/MJ_uplight_btn.png"alt=""data-size="line"> (right)
138
-
139
-
140
-
141
-
### Seeds 
128
+
### Seeds
142
129
143
130
A seed number generate the random starting noise used in the begining of image generation. Using the same number across multiple prompts will use the same starting noise.
144
131
@@ -150,79 +137,73 @@ A seed number generate the random starting noise used in the begining of image g
150
137
151
138
`/imagine prompt: an abstract field of flowers` run twice without a seed.
`prompt:`**`vibrant california poppies`**` ``--seed 0987` run twice. 
142
+
`prompt:`**`vibrant california poppies`**` `` ``--seed 0987` run twice.
158
143
159
144
#### --Sameseed
160
145
161
146
`--sameseed <number>` Sets the same seed across all images of the resulting grid, resulting in minimal changes within the initial grid. The `sameseed` can be any positive integer.
162
147
163
-
 
148
+

164
149
165
-
`prompt:`**`vibrant california poppies`**` ``--sameseed 0987`
150
+
`prompt:`**`vibrant california poppies`**` `` ``--sameseed 0987`
166
151
167
152
### --Stylize
168
153
169
-
`--stylize <number>`, or `--s <number>` The stylize argument sets how strong of a 'stylization' your images have, the higher you set it, the more opinionated it will be. Default number is 2500. 
154
+
`--stylize <number>`, or `--s <number>` The stylize argument sets how strong of a 'stylization' your images have, the higher you set it, the more opinionated it will be. Default number is 2500.
170
155
171
156
See the [User Manual](user-manual.md#stylize-values) for more detailed information.
172
157
173
158

174
159
175
-
`--s 1250` Good for when you want it to be 'less strict' but still 'pretty' (this is probably recommended for skilled users).\
160
+
`--s 1250` Good for when you want it to be 'less strict' but still 'pretty' (this is probably recommended for skilled users).\
176
161
`--s 1250` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleLow.png"alt=""data-size="line"> button in `/settings.`
177
162
178
-
``
163
+
\`\`
179
164
180
-
`--s 2500` Good for when you want it to be 'less strict' but still 'pretty' (this is probably recommended for skilled users).\
181
-
`--s 2500` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleMed.png"alt=""data-size="line"> button in `/settings.`
165
+
`--s 2500` Good for when you want it to be 'less strict' but still 'pretty' (this is probably recommended for skilled users).\
166
+
`--s 2500` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleMed (1).png"alt=""data-size="line"> button in `/settings.`
182
167
183
-
````
168
+
``
184
169
185
-
`--s 5000` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleHigh.png"alt=""data-size="line"> button in `/settings.` 
170
+
`--s 5000` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleHigh.png"alt=""data-size="line"> button in `/settings.`
186
171
187
-
``
172
+
\`\`
188
173
189
-
````
174
+
``
190
175
191
-
`--s 20000` If you want it to 'take over' and start drifting from your text, but not go crazy.\
176
+
`--s 20000` If you want it to 'take over' and start drifting from your text, but not go crazy.\
192
177
`--s 20000` corresponds to the <imgsrc=".gitbook/assets/MJ_v1_StyleVeryHigh.png"alt=""data-size="line"> button in `/settings.`
193
178
194
-
195
-
196
179
### --Quality
197
180
198
181
`--quality <number>` , or `--q <number>` Sets how much rendering quality time you want to spend. Default number is 1. Higher values take more time and cost more\
199
182
See the [User Manual](user-manual.md#quality-values) for more detailed information.
200
183
201
-
``
184
+
\`\`
202
185
203
-
````
186
+
``
204
187
205
-
`--q .5` Rougher results, 2x faster / cheaper.\
188
+
`--q .5` Rougher results, 2x faster / cheaper.\
206
189
`prompt:`**`vibrant california poppies --q .5`**\
207
-
**``**`--q .5` corresponds to the <imgsrc=".gitbook/assets/MJ_QualHalf.png"alt=""data-size="line"> button in `/settings.`
190
+
**\`\`**`--q .5` corresponds to the <imgsrc=".gitbook/assets/MJ_QualHalf.png"alt=""data-size="line"> button in `/settings.`
208
191
209
-
``
192
+
\`\`
210
193
211
-
**``****``**
194
+
**`****`**
212
195
213
196
`--q 1` The **default value**, you do not need to specify it.\
214
-
**``**`prompt:`**`vibrant california poppies`**\
215
-
**``**`--q 1` corresponds to the <imgsrc=".gitbook/assets/MJ_Qual1.png"alt=""data-size="line"> button in `/settings.`
197
+
**``**`prompt:`**`vibrant california poppies`**\ **``**`--q 1` corresponds to the <imgsrc=".gitbook/assets/MJ_Qual1.png"alt=""data-size="line"> button in `/settings.`
216
198
217
-
``
199
+
\`\`
218
200
219
-
````
201
+
``
220
202
221
203
`--q 2` The **default value**, you do not need to specify it.\
222
-
**``**`prompt:`**`vibrant california poppies --q 2`**\
223
-
**``**`--q 2` corresponds to the <imgsrc=".gitbook/assets/MJ_Qual2X.png"alt=""data-size="line"> button in `/settings.`
204
+
**``**`prompt:`**`vibrant california poppies --q 2`**\ **``**`--q 2` corresponds to the <imgsrc=".gitbook/assets/MJ_Qual2X.png"alt=""data-size="line"> button in `/settings.`
224
205
225
-
### ``
206
+
### \`\`
226
207
227
208
### `Progress Videos`
228
209
@@ -232,7 +213,7 @@ See the [User Manual](user-manual.md#quality-values) for more detailed informati
232
213
233
214
### Image Prompting with URL
234
215
235
-
`--iw` Sets image prompt weight proportional to the text weight. Use a decimal value (default 0.25). 
216
+
`--iw` Sets image prompt weight proportional to the text weight. Use a decimal value (default 0.25).
236
217
237
218
Add one or more image URLs to your prompt and it will use those images as visual inspiration. You can mix words with images or just have images alone. See [Image Prompt Questions](FAQs.md#image-prompt-questions) for more info.
238
219
@@ -246,25 +227,21 @@ Example image prompt:
246
227
247
228
.png>) Linked Image with the URL "https://dots.jpg"
248
229
249
-
250
-
251
-
Image prompt use with no `--iw` parameter, `--iw .5``--iw 1``--iw 2` and `--iw 5`
230
+
Image prompt use with no `--iw` parameter, `--iw .5``--iw 1``--iw 2` and `--iw 5`
252
231
253
232

254
233
255
234
**From left to right:**
256
235
257
-
*`prompt`` `**`https://dots.jpg vibrant california poppies`** (default image weight is .25)
258
-
*`prompt`` `**`https://dots.jpg vibrant california poppies --iw .5`** 
259
-
*`prompt`` `**`https://dots.jpg vibrant california poppies --iw 1`** 
260
-
*`prompt`` `**`https://dots.jpg vibrant california poppies --iw 2`** 
261
-
*`prompt`` `**`https://dots.jpg vibrant california poppies --iw 5`** 
262
-
263
-
236
+
*` prompt`` `` `**`https://dots.jpg vibrant california poppies`** (default image weight is .25)
237
+
*` prompt`` `` `**`https://dots.jpg vibrant california poppies --iw .5`**
238
+
*` prompt`` `` `**`https://dots.jpg vibrant california poppies --iw 1`**
239
+
*` prompt`` `` `**`https://dots.jpg vibrant california poppies --iw 2`**
240
+
*` prompt`` `` `**`https://dots.jpg vibrant california poppies --iw 5`**
264
241
265
242
### Settings
266
243
267
244
You can use the `/settings` command to set parameters you want to use as your defaults.\
268
-
Each row is a toggle button, meaning turning one on will turn the others off. 
245
+
Each row is a toggle button, meaning turning one on will turn the others off.
0 commit comments