giger
CLI for Stable Diffusion tasks.
Read more: https://artificialhoney.github.io/giger
Installation
pip install giger git+https://github.com/ai-forever/Real-ESRGAN.git git+https://github.com/XPixelGroup/BasicSR@master
Usage
Please check first of all the help function and the examples.
giger --help
Also make sure to always obtain the latest version.
giger --version
Increase verbosity to also output the diffusers logging.
giger -vv
prompt
Generate a prompt with multiple well-known input keywords to choose.
giger prompt "A viking with long hair and sword" --time "Ancient" --type "Comic Book" --art_style "Concept art" --realism "Photorealistic" --rendering_engine "Octane render" --lightning_style "Cinematic" --camera_position "Ultra-Wide-Angle Shot" --resolution "8k"
You can also pipe from another command to the prompt task.
echo "A viking with long hair and sword" | giger prompt --time "Ancient" --type "Comic Book" --art_style "Concept art" --realism "Photorealistic" --rendering_engine "Octane render" --lightning_style "Cinematic" --camera_position "Ultra-Wide-Angle Shot" --resolution "8k"
image
The commands pull the chosen model from huggingface.co. You choose one with the --model option. Also the batch and image sizes can be configured and one can pass the prompt via pipe.
Please see the help function for more information.
txt2img
giger image "A viking with long hair and sword, Concept art, Photorealistic, Octane render, Cinematic, Ultra-Wide-Angle Shot, 8k" --output $HOME/Desktop/ --name viking
img2img
giger image "A viking with long hair and sword, Concept art, Photorealistic, Octane render, Cinematic, Ultra-Wide-Angle Shot, 8k" --output $HOME/Desktop/ --name viking --input input.png
controlnet
giger image "A viking with long hair and sword, Concept art, Photorealistic, Octane render, Cinematic, Ultra-Wide-Angle Shot, 8k" --output $HOME/Desktop/ --name viking --input input.png --controlnet_model "lllyasviel/sd-controlnet-hed"
swap
Simply change the face in an input image and render the result to disc.
giger swap --face face.jpg --input target.png --output output.png
upscale
Simply upscale an image and render the result to disc.
giger upscale --input image.png --output image@4x.png --scale 4
Metadata
Release files for giger 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| giger-0.3.4.tar.gz | 130.9 kB | Without provenance | Details for giger-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| giger-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for giger-0.3.4-py3-none-any.whl |
Total release size: 146.6 kB
Release files / giger-0.3.4.tar.gz
| Download URL | giger-0.3.4.tar.gz |
|---|---|
| Size | 130.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1b042873e87c54fa2eaadd97dd8b28e9bc1cae716cb8d2910c887b97d17b3c3
|
|
BLAKE2b-256 checksum How to use checksums |
869e1c8310415f2a0e0e61e8850a80a4fd9a9d7aa936355b830aefff9ac307c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / giger-0.3.4-py3-none-any.whl
| Download URL | giger-0.3.4-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17040d8d03753c5d17ce171674ebb13e0664770a36dae61ae2ee5af27d0a0cbe
|
|
BLAKE2b-256 checksum How to use checksums |
b30bfb21acdfb5f8b037a77fe4d746742da2a08f4516eded7c17e48591c928e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for giger 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.