Skip to main content
PyPI-Server Monthly Downloads Test Coveralls License MIT Project generated with PyScaffold

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)

Source distribution for giger 0.3.4
File Size Uploaded
giger-0.3.4.tar.gz 130.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for giger 0.3.4
File Interpreter ABI Platform
giger-0.3.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page