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
@@ -51,53 +50,92 @@ Skip steps 1 and 2 if you already have Python3 and Git on Windows
51
50
Example: ```Plug-ins in GIMP : <path\to>\gimpenv3\lib\site-packages\gimpopenvino\plugins``` Add this path to [Edit-> Preferences-> Folders-> Plugins] in GIMP <br>
52
51
4. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
53
52
54
-
### Linux (Tested on Ubuntu 20.04)
55
-
1. Install flatpak distribution of GIMP development package -- instructions here: [GIMP Development Downloads](https://www.gimp.org/downloads/devel/) <br>
1. Clone, run install script, and download models. The following steps will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup.
61
93
62
-
# run install script - this will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup.
4. Start the GIMP application (```gimp-2.99```), and add the gimpenv3 path that was printed when running the above step to the list of plugin folders [Edit-> Preferences-> Folders-> Plugins]. <br>
106
+
5. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
66
107
67
-
3. Start the GIMP application (```flatpak run org.gimp.GIMP```), and add the gimpenv3 path that was printed when running the above step to the list of plugin folders [Edit-> Preferences-> Folders-> Plugins]. <br>
68
-
4. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
69
-
70
-
### OpenVINO™ Image Generator Plugin with Stable Diffusion - This GIF doesn't represent the current GUI
108
+
# OpenVINO™ Image Generator Plugin with Stable Diffusion
71
109
#### A. Prompt to Image
72
110
1. Create or choose a layer <br>
73
111
2. Select Stable Diffusion from the drop down list in layers -> OpenVINO-AI-Plugins <br>
74
112
3. Choose the desired model and device from the drop down list.<br>
113
+
- note that the [Latent Consistency Model](https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7) is now supported. Choose `SD_1.5_square_lcm`
75
114
4. Click on "Load Models" to compile & load the model on the selected device. Wait for it to complete. Please note that you need to perform this step only if you change the model or device or both. For any subsequent runs just click "Run Inference" <br>
76
115
5. Enter prompt and other parameters <br>
77
-
6. Click on “Run Inference”. Wait for the total inference steps to get completed. <br>
116
+
6. Click on “Generate”. Wait for the total inference steps to get completed. <br>
78
117
79
118
#### B. Image to Image
80
119
1. Create or choose a layer or open an image <br>
81
120
2. Follow steps 2,3,4,5 from section A. <br>
82
121
3. Select "Use Initial Image"
83
122
4. By default the opened image in canvas will be used as initial image to the model. You can also select a different image by browsing from files.
84
-
5. Click on “Run Inference”. Wait for the total inference steps to get completed. <br>
123
+
5. Click on “Generate”. Wait for the total inference steps to get completed. <br>
85
124
86
125
#### C. Stable-Diffusion-1.5 Inpainting - Make sure to download and convert the model during install process.
87
126
1. Choose a layer or Open an image of size 512x512. (Currently works best with this resolution) <br>
88
127
2. Use "Free select tool" to select the area in your image that you wish to change. <br>
89
128
3. Right click on your image and click on "Add layer mask". Then choose "Selection" in "Initalize layer Mask to". This should create a mask with your selection.
90
129
4. Follow steps 2,3,4,5 from section A. Please note that you will only see "SD_1.5_Inpainting" in model options if you added a mask layer to your image. <br>
91
-
5. Click on “Run Inference”. Wait for the total inference steps to get completed. <br>
92
-
130
+
5. Click on “Generate”. Wait for the total inference steps to get completed. <br>
93
131
94
132
#### D. Stable-Diffusion-1.5 Controlnet-Openpose - Make sure to download and convert the model during install process.
95
133
1. Open an image with some pose that you want to see in new image. <br>
96
134
2. Select Stable Diffusion from the drop down list in layers -> OpenVINO-AI-Plugins <br>
97
135
3. Choose the controlnet_openpose model and device from the drop down list.<br>
98
136
4. Make sure to select -- "Use Initial Image" option from the GUI. If not selected then it will fail.
99
137
5. Follow steps 4,5 from section A. <br>
100
-
5. Click on “Run Inference”. Wait for the total inference steps to get completed. <br>
138
+
6. Click on “Generate”. Wait for the total inference steps to get completed. <br>
101
139
102
140

103
141
@@ -108,12 +146,18 @@ Skip steps 1 and 2 if you already have Python3 and Git on Windows
108
146
3. Choose the controlnet_canny model and device from the drop down list.<br>
109
147
4. Make sure to select -- "Use Initial Image" option from the GUI. If not selected then it will fail.
110
148
5. Follow steps 4,5 from section A. <br>
111
-
5. Click on “Run Inference”. Wait for the total inference steps to get completed. <br>
149
+
6. Click on “Generate”. Wait for the total inference steps to get completed. <br>
112
150
113
151
114
-
*If create gif option is selected, please note that performance will reduce. The generated gif is located in below path. You can play it in GIMP by going to Filters -> Animations -> Playback* <br>
0 commit comments