Commit Graph

201 Commits (master)

Author SHA1 Message Date
Bryce db8d3b74ea feature: add "detail" control mode.
Add details to an image. Great for upscaling an image.
1 year ago
Bryce 9526a85a71 feature: add "edit" control mode
Edit images using text instructions with any SD 1.5 based model. Similar to instructPix2Pix.
1 year ago
Bryce 476a81a967 feature: add "shuffle" control mode
Image is generated from elements of control image. similar to style transfer
1 year ago
Bryce 750d4f7ea8 docs: cleanup 1 year ago
Bryce 9a82dc5e4c fix: raw control images are now properly loaded. fixes #296 1 year ago
Bryce 765e607c2c fix: file numbers start after latest image, even if some previous images were deleted 1 year ago
Bryce 4cbd278972 version: 11.1.1 1 year ago
Bryce 37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
1 year ago
Bryce eb26d5a7c5 feature: add art-scene, desktop-background, interior-style, painting-style phraselists
fix: file globbing works in the interactive shell
feature: make compilation animations simple slide shows
1 year ago
Bryce de2a72f718 version: 11.0.0 1 year ago
Bryce 70c58467c0 fix: img2img was broken for all samplers except ddim,plms
img2img was broken for all samplers except plms and ddim when init image strength was >~0.25.  Been this way for a while. whoops
1 year ago
Bryce 8273ab2c26 feature: add `--fix-faces` options to `aimg upscale` command 1 year ago
Bryce d14c8f98f4 feature: `aimg model-list` command lists included models 1 year ago
Bryce 173946fee3 docs: add some notes 1 year ago
Bryce 81b4a0687b version: 10.1.1 - doc fix 1 year ago
Bryce 9831d8a24a feature: `aimg colorize` attempts to use controlnet to colorize images 1 year ago
Bryce 7899d08181 docs: update changelog 1 year ago
Bryce b261c62d4e docs: update docs 1 year ago
Bryce 1ceb17c083 fix: edit was broken by recent changes 1 year ago
Bryce 929eff353e fix: edit was broken by recent changes 1 year ago
Bryce 08f6014941 version: 10.0.0 1 year ago
Bryce 882cc7e0f1 feature: generate large images with coherent composition 1 year ago
Bryce c3a88c44cd perf: tiled encoding of images
The fold/unfold/split_input_params images didn't look good
1 year ago
Bryce 2aef6089e0 feature: generate large images
Added a composition stage so large images are more coherent
1 year ago
Bryce b93b6a4d7c perf: use silu instead of nonlinearity for speedup 1 year ago
Bryce 68e7fd73c5 perf: add xformers dependency 1 year ago
Bryce 8a97213622 feature: sliced latent decoding
allows generation of bigger images. tile seams can be noticeable occasionally despite the feathering
1 year ago
Bryce da70b310d5 fix: edit interface was broken 1 year ago
Bryce d1dbd500eb fix: use entry_points for windows
python converts entry_points to exe files so they run on windows.  The scripts that work on linux/macos don't work on windows.
1 year ago
Bryce 5bedaebe45 version: 9.0.0 1 year ago
Bryce eeb80f81aa docs: update changelog 1 year ago
Bryce d220819377 feature: accept multiple input images to allow batch editing
- move "surprise me" to "edit-demo"
1 year ago
Bryce 63f32846bb docs: no mps training; how change cache dir 1 year ago
Deadolus 8df10576f3
fix: removing stray space from readme at inopportune location (#237)
In the multiline example with the "girl with the pearl earring" was a stray space that led to an error.

As the command line was interpreted as two separate commands.
I remove the stray space in this pull-request, to spare others the headache of finding the whitespace.
1 year ago
Bryce Drennan 9eacf5e7ed
perf: improve startup time by doing some imports lazily (#233)
just running `aimg --help` or `aimg --version` was very slow due to all the imports being brought in eagerly

Before changes `aimg --help`
`2.24s user 4.05s system 184% cpu 3.416 total`

After changes:
`0.04s user 0.02s system 8% cpu 0.625 total`

Used `PYTHONPROFILEIMPORTTIME=1 aimg --help` to find time consuming imports.

Also switched to using `scripts` instead of `entrypoints` since the scripts are much faster.

Made duplicate SAMPLER_TYPE_OPTIONS that can be loaded without loading all the samplers themselves.

Likely a breaking change - not sure.
1 year ago
Bryce b611a92b49 version: 8.3.1 1 year ago
Bryce Drennan e619dc2867
fix: init image strength (#225) 1 year ago
Bryce d7eaac2c5e version: 8.3.0 1 year ago
Bryce Drennan 9ee09ac842
feature: add compilation animations (#224)
- add generation/compare gifs
1 year ago
Bryce Drennan a67683d318
feature: add upscale command line function (#222) 1 year ago
Bryce Drennan 542e4fbd55
fix: tile mode was broken since latest perf improvements (#220) 1 year ago
Pavel Yakovlev e1c9f14489 feature: add openjourney models 1 year ago
Bryce 8791e15bec version: 8.2.0 1 year ago
Bryce Drennan 6d733ed3ff
feature: added `aimg system-info` command to help debug issues (#216) 1 year ago
Bryce Drennan 7bdde559cc
performance: memory management improvements (#210)
- tile mode made more efficient. especially when not being used
- add script to iteratively make bigger images
1 year ago
Bryce 16cef16c3e feature: facilitate references to previous image generation 1 year ago
Bryce 248679d8de feature: image sizes can now be multiples of 8 instead of 64
from https://github.com/CompVis/stable-diffusion/issues/60#issuecomment-1240294667
1 year ago
Bryce 9bef5a151a version: 8.0.5 1 year ago
Bryce 3a7c861f0a version: 8.0.4 1 year ago
Bryce bbe3f8473f version: 8.0.3 1 year ago
Bryce fce9fe9225 version: 8.0.2 1 year ago
mebelz 2571097087 fix: spelling typo
leave references to misspelled files- don't want to break any existing links
1 year ago
Bryce 7c05c3aae2 feature: image edit gifs and demo-reels 1 year ago
Bryce 2a3e19f5a1 feature: 🎉 Edit Images with Instructions alone! 1 year ago
Bryce 5b56f05da7 feature: print version
- fix: default config wasn't being selected for custom models
1 year ago
Bryce 9b1d130f93 feature: ability to load safetensors 1 year ago
Bryce 81f294216b feature: 🎉 outpainting 1 year ago
Bryce 993b039d7b docs: update memory requirements 1 year ago
Bryce 049059dc03 version: 7.4.3 1 year ago
Bryce 2dd99c183c version: 7.4.2 1 year ago
Bryce 85c084099c fix: incorrect config files being used for non-1.0 models 1 year ago
Bryce 5cc73f6087 feature: finetuning
- feature: finetuning your own image models
- feature: image prep command. crops to face or other interesting parts of photo
- fix: back-compat for hf_hub_download
- feature: add prune-ckpt command
- feature: allow specification of model config file
1 year ago
Bryce c46d1c373c version: 7.3.0 1 year ago
Bryce 239b235140 feature: depth-based image-to-image generations (and inpainting) 1 year ago
Bryce ad0b9e8ab8 feature: tile in a single dimension ("x" or "y") 2 years ago
Bryce 1f7403155e fix: more thorough cleaning of memory when switching models
also cleanup up some test failures
2 years ago
Bryce Drennan 8dcdef3c58
Update README.md 2 years ago
Bryce f30823e0b5 feature: Stable Diffusion 2.1 2 years ago
Bryce 2f8edc1530 feature: negative prompting
- feature: negative prompting.  `--negative-prompt` or `ImaginePrompt(..., negative_prompt="ugly, deformed, extra arms, etc")`
- feature: a default negative prompt is added to all generations. Images in SD-2.0 don't look bad anymore. Images in 1.5 look improved as well.
2 years ago
Bryce 0e342a126e version: 6.1.2 2 years ago
Bryce e0af5d0089 fix: version metadata was broken
Fixes #114
2 years ago
Bryce 4610d7f01d feature: xformers support
add more upscaling code (that doesn't yet work)
2 years ago
Bryce 9c153a8d2d feature: support k-sampler methods for SD-2.0-v (768) 2 years ago
Bryce 015088507f feature/refactor/fix: better defaults. correct version in metadata
- feature: use different default steps and image sizes depending on sampler and model selceted
- fix: #110 use proper version in image metadata
- refactor: samplers all have their own class that inherits from ImageSampler
2 years ago
Bryce 60620e0312 docs: add badges 2 years ago
Kian-Meng Ang 3d04df4dee Fix typos
Found via `codespell -S ./imaginairy/vendored`
2 years ago
Bryce Drennan c5402949c4
Update README.md 2 years ago
Bryce e67341223b feature: Stable Diffusion 2.0
working: CUDA and MacOS
working: 512p model with all samplers
working: inpainting with all samplers
working: 768p model with ddim sampler
2 years ago
Bryce 1a866c48e1 version: 5.1.0 2 years ago
Bryce 893b041a8f feature: progress image callback 2 years ago
Bryce 411f359f4e version: 5.0.1 2 years ago
Bryce d499ca307b fix: use inpainting source that doesn't require login 2 years ago
Bryce 584e0d9df0 feature: change default sampler to k_dpmpp_2m, which is more than twice as fast 2 years ago
Bryce 0f02fc587c fix: k_dpm_fast on MPS platform
fixes #75

As discussed here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2446#issuecomment-1279733739
2 years ago
Bryce 7af1ab66ca fix: add workaround for bug in k_diffusion on mps
As documented here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4558#issuecomment-1310387114

- make image logs more consistent
- note which step the progress images belong to in the filename
2 years ago
Bryce 7fba2972e8 feature: added `DPM++ 2S a` and `DPM++ 2M` samplers
-fix: fix bug with `--show-work`
2 years ago
Bryce 17399e7702 docs: update about inpainting 2 years ago
Bryce 94c0aeab12 feature: switch between models without restarting python instance 2 years ago
Bryce 97682da9ed version: 4.0.0 2 years ago
Bryce 8332593fed feature: dilation and erosion of masks
Previously the `+` and `-` characters in a mask (example: `face{+0.1}`) added to the grayscale value of any masked areas. This wasn't very useful. The new behavior is that the mask will expand or contract by the number of pixel specified. The technical terms for this are dilation and erosion.  This allows much greater control over the masked area.
2 years ago
Bryce 6f1455e912 docs: update readme 2 years ago
Bryce 4ba1965db8 feature: k-diff sampler img2img and masking 2 years ago
Bryce 497dc81d9e fix: k-sampler methods were broken 2 years ago
Bryce 6a80759016 feature: improved safety filter
- provides more informative logs
- provides a detailed safety score object
- adds non-bypassable filter for extreme content
2 years ago
Bryce 83db4ad795 docs: fix prompt expansion description
thanks to @Cybergate9 for identifying the mistakes

addresses #52
2 years ago
Bryce 26483ef128 version: 2.4.0 2 years ago
Bryce Drennan 31c2160e21
feature: prompt expansion (#51)
You can use `{}` to randomly pull values from lists.  A list of values separated by `|` and enclosed in `{ }` will be randomly drawn from in a non-repeating fashion. Values that are surrounded by `_ _` will pull from a phrase list of the same name.   Folders containing .txt phraselist files may be specified via
`--prompt_library_path`. The option may be specified multiple times.  Built-in categories:

      3d-term, adj-architecture, adj-beauty, adj-detailed, adj-emotion, adj-general, adj-horror, animal, art-movement,
      art-site, artist, artist-botanical, artist-surreal, aspect-ratio, bird, body-of-water, body-pose, camera-brand,
      camera-model, color, cosmic-galaxy, cosmic-nebula, cosmic-star, cosmic-term, dinosaur, eyecolor, f-stop,
      fantasy-creature, fantasy-setting, fish, flower, focal-length, food, fruit, games, gen-modifier, hair, hd,
      iso-stop, landscape-type, national-park, nationality, neg-weight, noun-beauty, noun-fantasy, noun-general,
      noun-horror, occupation, photo-term, pop-culture, pop-location, punk-style, quantity, rpg-item, scenario-desc,
      skin-color, spaceship, style, tree-species, trippy, world-heritage-site

   Examples:

   `imagine "a {red|black} dog" -r 2 --seed 0` will generate both "a red dog" and "a black dog"

   `imagine "a {_color_} dog" -r 4 --seed 0` will generate four, different colored dogs. The colors will eb pulled from an included
   phraselist of colors.

   `imagine "a {_spaceship_|_fruit_|hot air balloon}. low-poly" -r 4 --seed 0` will generate images of spaceships or fruits or a hot air balloon

   Credit to [noodle-soup-prompts](https://github.com/WASasquatch/noodle-soup-prompts/) where most, but not all, of the wordlists originate.
2 years ago
Bryce 0244d4151f version: 2.3.1 2 years ago
Bryce 5cc19c460c version: 2.3.0 2 years ago
Bryce 00fff23fdf docs: update macos installation instructions 2 years ago