2022-08-24 21:04:30 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2022-08-25 19:03:40 +00:00
|
|
|
<title>Stable Diffusion Dream Server</title>
|
2022-08-24 21:04:30 +00:00
|
|
|
<link rel="icon" href="data:,">
|
2022-08-25 19:01:08 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2022-08-24 21:04:30 +00:00
|
|
|
|
2022-08-25 19:27:43 +00:00
|
|
|
<link rel="stylesheet" href="static/dream_web/index.css">
|
|
|
|
<script src="static/dream_web/index.js"></script>
|
2022-08-24 21:04:30 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="search">
|
2022-08-25 19:03:40 +00:00
|
|
|
<h2 id="header">Stable Diffusion Dream Server</h2>
|
2022-08-24 21:04:30 +00:00
|
|
|
|
2022-08-25 03:03:02 +00:00
|
|
|
<form id="generate-form" method="post" action="#">
|
2022-08-25 19:01:08 +00:00
|
|
|
<fieldset id="fieldset-search">
|
2022-08-24 21:04:30 +00:00
|
|
|
<input type="text" id="prompt" name="prompt">
|
|
|
|
<input type="submit" id="submit" value="Generate">
|
|
|
|
</fieldset>
|
2022-08-25 19:01:08 +00:00
|
|
|
<fieldset id="fieldset-config">
|
2022-08-25 19:03:40 +00:00
|
|
|
<label for="iterations">Images to generate:</label>
|
2022-08-29 01:35:52 +00:00
|
|
|
<input value="1" type="number" id="iterations" name="iterations" size="4">
|
2022-08-24 21:04:30 +00:00
|
|
|
<label for="steps">Steps:</label>
|
|
|
|
<input value="50" type="number" id="steps" name="steps">
|
|
|
|
<label for="cfgscale">Cfg Scale:</label>
|
|
|
|
<input value="7.5" type="number" id="cfgscale" name="cfgscale" step="any">
|
2022-08-29 01:35:52 +00:00
|
|
|
<label for="sampler">Sampler:</label>
|
|
|
|
<select id="sampler" name="sampler" value="k_lms">
|
|
|
|
<option value="ddim">DDIM</option>
|
|
|
|
<option value="plms">PLMS</option>
|
2022-08-29 04:06:42 +00:00
|
|
|
<option value="k_lms" selected>KLMS</option>
|
2022-08-29 01:35:52 +00:00
|
|
|
<option value="k_dpm_2">KDPM_2</option>
|
|
|
|
<option value="k_dpm_2_a">KDPM_2A</option>
|
|
|
|
<option value="k_euler">KEULER</option>
|
|
|
|
<option value="k_heun">KHEUN</option>
|
|
|
|
</select>
|
|
|
|
<br>
|
2022-08-24 21:04:30 +00:00
|
|
|
<label title="Set to multiple of 64" for="width">Width:</label>
|
2022-08-26 17:35:27 +00:00
|
|
|
<select id="width" name="width" value="512">
|
|
|
|
<option value="64">64</option> <option value="128">128</option>
|
|
|
|
<option value="192">192</option> <option value="256">256</option>
|
|
|
|
<option value="320">320</option> <option value="384">384</option>
|
2022-08-27 01:26:22 +00:00
|
|
|
<option value="448">448</option> <option value="512" selected>512</option>
|
2022-08-26 17:35:27 +00:00
|
|
|
<option value="576">576</option> <option value="640">640</option>
|
|
|
|
<option value="704">704</option> <option value="768">768</option>
|
|
|
|
<option value="832">832</option> <option value="896">896</option>
|
|
|
|
<option value="960">960</option> <option value="1024">1024</option>
|
|
|
|
</select>
|
2022-08-24 21:04:30 +00:00
|
|
|
<label title="Set to multiple of 64" for="height">Height:</label>
|
2022-08-26 17:35:27 +00:00
|
|
|
<select id="height" name="height" value="512">
|
|
|
|
<option value="64">64</option> <option value="128">128</option>
|
|
|
|
<option value="192">192</option> <option value="256">256</option>
|
|
|
|
<option value="320">320</option> <option value="384">384</option>
|
2022-08-27 01:26:22 +00:00
|
|
|
<option value="448">448</option> <option value="512" selected>512</option>
|
2022-08-26 17:35:27 +00:00
|
|
|
<option value="576">576</option> <option value="640">640</option>
|
|
|
|
<option value="704">704</option> <option value="768">768</option>
|
|
|
|
<option value="832">832</option> <option value="896">896</option>
|
|
|
|
<option value="960">960</option> <option value="1024">1024</option>
|
|
|
|
</select>
|
2022-08-25 03:03:02 +00:00
|
|
|
<br>
|
|
|
|
<label title="Upload an image to use img2img" for="initimg">Img2Img Init:</label>
|
|
|
|
<input type="file" id="initimg" name="initimg" accept=".jpg, .jpeg, .png">
|
2022-08-24 21:04:30 +00:00
|
|
|
<label title="Set to -1 for random seed" for="seed">Seed:</label>
|
|
|
|
<input value="-1" type="number" id="seed" name="seed">
|
2022-08-25 01:38:47 +00:00
|
|
|
<button type="button" id="reset">↺</button>
|
2022-08-29 01:35:52 +00:00
|
|
|
<span>•</span>
|
|
|
|
<button type="button" id="reset-all">Reset to Defaults</button>
|
2022-08-28 20:37:27 +00:00
|
|
|
<br>
|
2022-08-29 01:04:32 +00:00
|
|
|
<p><em>The options below require the GFPGAN and ESRGAN packages to be installed</em></p>
|
|
|
|
<label title="Strength of the gfpgan (face fixing) algorithm." for="gfpgan_strength">GPFGAN Strength:</label>
|
2022-08-29 01:35:52 +00:00
|
|
|
<input value="0.8" min="0" max="1" type="number" id="gfpgan_strength" name="gfpgan_strength" step="0.05">
|
2022-08-29 02:42:31 +00:00
|
|
|
<label title="Upscaling to perform using ESRGAN." for="upscale_level">Upscaling Level</label>
|
|
|
|
<select id="upscale_level" name="upscale_level" value="">
|
2022-08-29 04:06:42 +00:00
|
|
|
<option value="" selected></option>
|
2022-08-29 01:04:32 +00:00
|
|
|
<option value="2">2x</option>
|
|
|
|
<option value="4">4x</option>
|
|
|
|
</select>
|
2022-08-29 02:42:31 +00:00
|
|
|
<label title="Strength of the esrgan (upscaling) algorithm." for="upscale_strength">Upscale Strength:</label>
|
|
|
|
<input value="0.75" min="0" max="1" type="number" id="upscale_strength" name="upscale_strength" step="0.05">
|
2022-08-24 21:04:30 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2022-08-25 19:03:40 +00:00
|
|
|
<div id="about">For news and support for this web service, visit our <a href="http://github.com/lstein/stable-diffusion">GitHub site</a></div>
|
2022-08-27 01:10:13 +00:00
|
|
|
<br>
|
|
|
|
<progress id="progress" value="0" max="1"></progress>
|
2022-08-29 16:08:18 +00:00
|
|
|
<div id="scaling-inprocess-message">
|
|
|
|
<i><span>Postprocessing...</span><span id="processing_cnt">1/3</span></i>
|
|
|
|
</div>
|
2022-08-24 21:04:30 +00:00
|
|
|
</div>
|
|
|
|
<div id="results">
|
2022-08-25 03:03:02 +00:00
|
|
|
<div id="no-results-message">
|
2022-08-24 21:04:30 +00:00
|
|
|
<i><p>No results...</p></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|