Difference between revisions of "Stable Diffusion"
Line 2: | Line 2: | ||
=== Parameters === | === Parameters === | ||
− | <code>--prompt</code> | + | <code>--prompt</code> [''"a painting of a fantasy landscape"'']: Sentence (prompt) to generate an image off, between double quotes<br> |
− | <code>--outdir</code> Directory (folder) to save the generated image to<br> | + | <code>--outdir</code> ['outputs/txt2img-samples'] Directory (folder) to save the generated image to<br> |
<code>--skip_grid</code> Generate single images instead of multiple images in a grid<br> | <code>--skip_grid</code> Generate single images instead of multiple images in a grid<br> | ||
<code>--skip_save</code> <br> | <code>--skip_save</code> <br> |
Revision as of 14:21, 24 August 2022
Generating images from a sentence
Parameters
--prompt
["a painting of a fantasy landscape"]: Sentence (prompt) to generate an image off, between double quotes
--outdir
['outputs/txt2img-samples'] Directory (folder) to save the generated image to
--skip_grid
Generate single images instead of multiple images in a grid
--skip_save
--ddim_steps
--fixed_code
--ddim_eta
--n_iter
--H
--W
--C
--f
--n_samples
--n_rows
--scale
--from-file
--seed
--small_batch
--precision
Image sizes
[1:1] Square: --W 512 --H 512
[16:9] Widescreen: --W 1024 --H 576
[9:16] Mobile first (Instagram stories, Snapchat etc): --W 576 --H 1024
[10:16] Portrait: --W 640 --H 1024
Code
Github: https://github.com/mywdka/stable-diffusion
Tools
Dataset explorer: https://knn5.laion.ai (mirror)
Prompt builder: https://promptomania.com/stable-diffusion-prompt-builder/
Community
Discord: http://discord.gg/stablediffusion