| 189 | 190 | </label> |
| 190 | 191 | </div> |
| 191 | 192 | </div> |
| 192 | | - |
| 193 | + <div data-sd-source="stability"> |
| 194 | + <label for="sd_stability_url">Stability AI API URL</label> |
| 195 | + <div class="flex-container flexnowrap"> |
| 196 | + <input id="sd_stability_url" type="text" class="text_pole" data-i18n="[placeholder]sd_stability_url" placeholder="Example: https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/text-to-image" value="" /> |
| 197 | + <div id="sd_stability_validate" class="menu_button menu_button_icon"> |
| 198 | + <i class="fa-solid fa-check"></i> |
| 199 | + <span data-i18n="Connect"> |
| 200 | + Connect |
| 201 | + </span> |
| 202 | + </div> |
| 203 | + </div> |
| 204 | + <label for="sd_stability_key">API Key</label> |
| 205 | + <input id="sd_stability_key" type="password" class="text_pole" placeholder="Enter your Stability AI API key" /> |
| 206 | + <i>You can find your API key in the Stability AI dashboard.</i> |
| 207 | + <div class="flex-container"> |
| 208 | + <div class="flex1"> |
| 209 | + <label for="sd_stability_engine">Engine</label> |
| 210 | + <select id="sd_stability_engine"> |
| 211 | + <option value="stable-diffusion-xl-1024-v1-0">SDXL 1.0</option> |
| 212 | + <option value="stable-diffusion-v1-5">SD 1.5</option> |
| 213 | + <!-- More can be added --> |
| 214 | + </select> |
| 215 | + </div> |
| 216 | + <div class="flex1"> |
| 217 | + <label for="sd_stability_style_preset">Style Preset</label> |
| 218 | + <select id="sd_stability_style_preset"> |
| 219 | + <option value="enhance">Enhance</option> |
| 220 | + <option value="anime">Anime</option> |
| 221 | + <option value="photographic">Photographic</option> |
| 222 | + <!-- More can be added --> |
| 223 | + </select> |
| 224 | + </div> |
| 225 | + </div> |
| 226 | + </div> |
| 193 | 227 | <div class="flex-container"> |
| 194 | 228 | <div class="flex1"> |
| 195 | 229 | <label for="sd_model" data-i18n="Model">Model</label> |