![]() fix: exclude broken versions of timm as dependencies.build: check for torch version at runtime (fixes #329).build: specify proper Pillow minimum version (fixes #325).MacOS M1, torch will not be able to use the M1 when generating images. While this will allow the dockerfile to build on fix: package will not try to install xformers on aarch64 machines.feature: show full stack trace on error in cli.feature: python interface allows configuration of controlnet strength.The inpainting controlnet doesn't work as well as the finetuned model.feature: inpainting controlnet can be used instead of finetuned inpainting model.If GPU is full, least-recently-used model is moved to RAM. □ □ feature: "better" memory management.□ □ feature: API support for Stablity AI's new open-source Generative AI interface, StableStudio.□□ feature: API server aimg server command.□□ feature: Graphical Web Interface StableStudio.□ feature: add colorization controlnet.pass in multiple -control-mode, -control-image, and -control-image-raw arguments. fix: add some routes to match StableStudio routes.fix: make lack of support for python 3.11 explicit.feature: show full stack trace when there is an api error.images are expected in base64 string format.ImaginePrompt is now a pydantic model and can thus be sent over the rest API.View the docs at after running aimg server feature: api server now has feature parity with the python API.To delete the cache remove the following folders: Q: How do I free up disk space?Ī: The AI models are cached in ~/.cache/ (or HUGGINGFACE_HUB_CACHE). # you really want to map the cache or you end up wasting a lot of time and space redownloading the model weightsĭocker run -it -gpus all -v $HOME/.cache/huggingface:/root/.cache/huggingface -v $HOME/.cache/torch:/root/.cache/torch -v `pwd `/outputs:/outputs imaginairy /bin/bash Running on Google ColabĮxample Colab Q&A Q: How do I change the cache directory for where models are stored?Ī: Set the HUGGINGFACE_HUB_CACHE environment variable. ![]() See example Dockerfile (works on machine where you can pass the gpu into the container) They can be installed via: curl -proto '=https' -tlsv1.2 -sSf | sh and pip install setuptools-rust For macOS rust and setuptools-rust must be installed to compile the tokenizer library.A CUDA supported graphics card with >= 11gb VRAM (and CUDA installed) or an M1 processor.# or imagine_image_files( prompts, outdir = "./my-art") Requirements ImaginePrompt( "strawberries", tile_mode = True), ![]() Imagine "a ", # amplify the stem mask x2 mask_mode = "replace", Skin-color, spaceship, style, tree-species, trippy, world-heritage-site Noun-horror, occupation, painting-style, photo-term, pop-culture, pop-location, punk-style, quantity, rpg-item, scenario-desc, ![]() Iso-stop, landscape-type, national-park, nationality, neg-weight, noun-beauty, noun-fantasy, noun-general, Want just quickly have some fun? Try edit-demo to apply some pre-defined edits.ģd-term, adj-architecture, adj-beauty, adj-detailed, adj-emotion, adj-general, adj-horror, animal, art-scene, art-movement,Īrt-site, artist, artist-botanical, artist-surreal, aspect-ratio, bird, body-of-water, body-pose, camera-brand,Ĭamera-model, color, cosmic-galaxy, cosmic-nebula, cosmic-star, cosmic-term, desktop-background, dinosaur, eyecolor, f-stop,įantasy-creature, fantasy-setting, fish, flower, focal-length, food, fruit, games, gen-modifier, hair, hd, □□ > edit gg-bridge.jpg -p "make it night time " -prompt-strength 15 -steps 30 -arg-schedule prompt-strength -compilation-anim gif Quick Image Edit Demo ![]() □□ > edit mona-lisa.jpg -p "make it a color professional photo headshot " -negative-prompt "old, ugly, blurry " -arg-schedule "prompt-strength " -compilation-anim gif # create an animation showing the edit with increasing prompt strengths □□ > edit pearl_girl.jpg -p "make her wear clown makeup " -compare-gif □□ > edit flower.jpg -p "make the flower out of paper origami " -arg-schedule prompt-strength -steps 25 -compilation-anim gif □□ > edit bluebird.jpg -p "make the bird wear a cowboy hat " -prompt-strength 10 □□ > edit freckled_woman.jpg -p "make her a cyborg " -prompt-strength 13 □□ > edit bowl_of_fruit.jpg -p "replace the fruit with strawberries " □□ > edit dog.jpg -p "make the dog red " -prompt-strength 5 □□ > edit scenic_landscape.jpg -p "make it winter " -prompt-strength 20 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |