Stable Diffusion Webgpu
Stable Diffusion WebGPU demo is a web-based application that allows users to generate images using the create-react-app framework. To access the application, users need to have JavaScript enabled and use the latest version of Chrome, which requires enabling the "Experimental WebAssembly" and "Experimental WebAssembly JavaScript Promise Integration (JSPI)" flags.
The application performs a series of inference steps to generate an image, with each step taking approximately 1 minute plus around 10 seconds for the VAE decoder to generate the image.
It is worth noting that having the DevTools open can slow down the process by approximately 2 times. The UNET model, which is responsible for image generation, only runs on the CPU due to better performance and accurate results compared to the GPU.For acceptable results, the minimum number of steps recommended is 20; however, for demonstration purposes, 3 steps would suffice.
The model files are cached, eliminating the need for repeated downloads.The application provides a user-friendly interface with options to load the model, run the image generation process, and view the result.
To address specific issues, an FAQ section is available, offering troubleshooting guidance.Despite running on a GPU, the webgpu implementation in onnxruntime is still in its early stage, causing some operations to be incomplete.
This leads to data being continuously transferred between the CPU and GPU, impacting performance. Multi-threading is not currently supported, and limitations in WebAssembly prevent the creation of 64-bit memory with SharedArrayBuffer.
The developer plans to address these issues through proposed spec changes and engine patches.The source code for Stable Diffusion WebGPU demo is available on GitHub, allowing users to run it locally.
Additionally, a patched version of onnxruntime is provided, enabling the use of large language models with transformers.js, although its reliability in all scenarios is not guaranteed.
The developer also plans to submit a pull request to the onnxruntime repository.
How would you rate Stable Diffusion Webgpu?
Help other people by letting them know if this AI was useful.
Feature requests
441 alternatives to Stable Diffusion Webgpu for Image generation
-
2,17114
-
1,3507
-
7323
-
5083
-
5046
-
3455
-
2941
-
2561
-
212
-
211
-
1621
-
160
-
1532
-
1502
-
1492
-
139
-
1313
-
130
-
1291
-
1231
-
1202
-
117
-
116
-
108
-
1082
-
1041
-
101
-
99
-
983
-
97
-
961
-
94
-
9210
-
902
-
Unleash creativity from text, transform your ideas into stunning images.881
-
871
-
85
-
82
-
801
-
79
-
78
-
77
-
76
-
741
-
73
-
70
-
69
-
69
-
694
-
69
-
68
-
67
-
672
-
66
-
66
-
651
-
63
-
63
-
622
-
60
-
591
-
59
-
59
-
58
-
571
-
57
-
57
-
571
-
56
-
55
-
55
-
55
-
552
-
553
-
54
-
53
-
532
-
52
-
50
-
494
-
491
-
471
-
4711
-
47
-
453
-
Generate images using prompts, no design skills needed.442
-
441
-
43
-
43
-
43
-
43
-
433
-
42
-
421
-
40
-
403
-
39
-
39
-
Creating the most capable text-to-image model with improved performance.38
-
37
-
372
-
36
-
36
-
36
-
362
-
35
-
341
-
34
-
342
-
332
-
33
-
33
-
33
-
33
-
331
-
321
-
32
-
32
-
32
-
32
-
322
-
3111
-
31
-
31
-
31
-
31
-
30
-
30
-
302
-
30
-
29
-
29
-
29
-
292
-
29
-
28
-
28
-
28
-
28
-
28
-
27
-
27
-
27
-
27
-
27
-
27
-
271
-
271
-
27
-
27
-
Create unique images effortlessly with AI-powered generator.271
-
261
-
26
-
26
-
26
-
26
-
26
-
262
-
26
-
26
-
262
-
263
-
251
-
25
-
25
-
25
-
25
-
251
-
25
-
25
-
24
-
242
-
24
-
24
-
24
-
24
-
24
-
24
-
24
-
23
-
23
-
23
-
23
-
23
-
23
-
23
-
23
-
23
-
232
-
23
-
22
-
22
-
22
-
22
-
225
-
22
-
21
-
21
-
21
-
21
-
21
-
Unable to detect tagline. Created: 'QBitMap, your AI assistant for image curation.'21
-
211
-
Creating hyper-realistic images superior to DALL•E.211
-
21
-
20
-
20
-
20
-
20
-
191
-
19
-
19
-
19
-
19
-
19
-
181
-
18
-
18
-
Image customization using natural language descriptions.18
-
181
-
18
-
18
-
17
-
17
-
17
-
17
-
17
-
17
-
17
-
16
-
16
-
16
-
16
-
16
-
16
-
16
-
16
-
Assisted image generation application for Apple devices.15
-
151
-
15
-
15
-
15
-
15
-
151
-
15
-
15
-
141
-
14
-
14
-
14
-
14
-
141
-
14
-
14
-
141
-
14
-
14
-
13
-
131
-
13
-
13
-
13
-
131
-
13
-
13
-
131
-
13
-
131
-
12
-
12
-
12
-
12
-
12
-
12
-
12
-
12
-
121
-
121
-
11
-
11
-
11
-
11
-
11
-
11
-
111
-
Unfettered access to the realm of creativity with our Free Unlimited Stable Diffusion Generator.11
-
11
-
10
-
10
-
10
-
10
-
10
-
10
-
10
-
10
-
102
-
10
-
10
-
9
-
9
-
9
-
91
-
9
-
9
-
9
-
9
-
91
-
9
-
91
-
9
-
911
-
915K
-
Elevate your content with stunning visuals created directly from your writing.9
-
9
-
9
-
9
-
9
-
8
-
8
-
8
-
8
-
8
-
8
-
87K
-
878
-
81
-
8
-
7
-
7
-
7
-
7
-
7
-
7
-
7
-
7
-
7
-
7
-
71K
-
7129
-
7
-
7
-
7
-
7
-
6
-
6
-
6
-
6
-
6
-
6
-
6
-
6
-
6
-
629
-
62K
-
62K
-
6
-
61
-
Friendly and professional tool for generating and iterating images in Spanish.6
-
6
-
Transform creative visions into stunning visuals with Idyllic, the generative AI platform.6
-
6
-
6
-
5
-
5
-
5
-
5
-
5
-
5
-
5
-
523
-
519
-
5
-
527
-
5236
-
5
-
58
-
5
-
4
-
4
-
4
-
4
-
4
-
4
-
4
-
4359
-
4
-
4
-
45
-
412
-
452
-
432
-
Expert in image prompt creation and photographic-like image generation.484
-
4396
-
4
-
41K
-
450
-
4
-
4
-
4
-
4
-
4
-
4
-
3
-
3
-
3
-
3
-
3
-
3
-
3
-
3
-
358
-
345
-
3112
-
3
-
345
-
3
-
Friendly, casual tone for fun photo transformations.359
-
31K
-
31K
-
3417
-
3253
-
321
-
3288
-
Explore your artistry with fast and free AI art generator online.3
-
3
-
2
-
2
-
2
-
Produce impressive photos with AI for personal branding and social media.2
-
2
-
227
-
Generate stunning designs in seconds and create your own personalised products2
-
210
-
2
-
1
-
177
-
129
-
126
-
159
-
138
-
Creating impressionistic, modern-style images inspired by renowned painters.1
Pros and Cons
Pros
Cons
If you liked Stable Diffusion Webgpu
Featured matches
Other matches
-
1.021K
-
4.42451
-
215
-
2851
-
5.0237
-
531
-
57
-
27
-
52
-
4.01,0584
-
25
-
53
-
24
-
5.014
-
33
-
1.3193
-
9
-
12
-
3.02,17114
-
55
-
5.020
-
3.0282
-
3.0151
-
8
-
5.046
-
5.01331
-
74
-
31
-
5.0592
-
4.2963
-
95
-
1.0231
-
3.21,7016
-
14
-
9
-
4.72151
-
22
-
26
-
261
-
11
-
3
-
54
-
47
-
2
-
3
-
5.0101
-
5.0231
-
311
-
1.01157
-
1
-
1
-
5.019
-
325
-
6100
-
13
-
438
-
8
-
292
-
5.0222
-
266
-
76
-
256
-
17
-
290
-
2
-
1183
-
220
-
118
-
4
-
2
-
1.09
-
3.7211
-
669
-
5920
-
2380
-
319
-
259
-
263
-
4165
-
115
-
3
-
519
-
4912
-
210
-
1106
-
26
-
429
-
42K
-
129
-
4
-
319
-
22K
-
15
-
116
-
361
-
440
-
243
-
158
-
34
-
468
-
229
-
3215
-
2167
-
125
-
211
-
133
-
218
-
258
-
2
-
528
-
3103
-
193
-
5104
-
150
-
2144
-
55
-
39
-
213
-
394
-
114
-
19
-
310
-
250
-
244
-
210
-
333
-
221
-
322
-
316
-
498
-
2.02250
-
39
-
115
-
211
-
4
-
1
-
38
-
21K
-
1118
-
61K
-
2403
-
110
-
5.021
-
226
-
320
-
146
-
1275
-
2112
-
215
-
143
-
23
-
1.01147
-
217
-
316
-
25
-
2752
-
11K
-
297
-
548
-
2128
-
121
-
229
-
5226
-
117
-
51K
-
24
-
146
-
119
-
153
-
210
-
243
-
2122
-
418
-
165
-
421
-
699
-
1232
-
16
-
113
-
1194
-
2457
-
315
-
1188
-
178
-
113
-
1145
-
5.0518
-
193
-
12K
-
5430
-
185
-
132
-
159
-
230
-
152
-
111
-
33
-
3186
-
182
-
3
-
123
-
16
-
118
-
1616
-
1151
-
6881
-
116
-
1205
-
197
-
2155
-
4409
-
1109
-
39
-
225
-
3563
-
282
-
372
-
212
-
136
-
148
-
211
-
4943
-
1116
-
2130
-
12
-
117
-
1237
-
162
-
1339
-
5156
-
1197
-
127
-
15
-
1
-
3
-
3
-
8
-
2
-
1
-
5
-
3100
-
220
-
1400
-
340
-
2100
-
240
-
130
-
5
-
5.0201
-
5.01
-
4
-
12
-
2
-
5.0371
-
2
-
2
-
3
-
1
-
5
-
2
-
1
-
3
-
4
-
2
-
8
-
1
-
7
-
1
-
2
-
8
-
9
-
3
-
15
-
8
-
2
-
22
-
77
Help
To prevent spam, some actions require being signed in. It's free and takes a few seconds.
Sign in with Google