Skip to main content

🟦 a command interface to stability.ai.

Project description

🟦 blue-stability

blue-stability (bstab) is a bash cli for stability-sdk.

Install

Install awesome-bash-cli (abcli), then,

abcli git clone blue-stability install
blue_stability help verbose
 > blue_stability help
blue_stability dashboard
 . browse blue-stability dashboard.
blue_stability generate image \
	[~dryrun,height=<576>,~sign,~tag,width=<768>] \
	[<image>] [<previous-image>] \
	["<prompt>"] \
	[--seed 42]
 . <prompt> -[<previous-image>]-> <image>.png.
blue_stability generate video \
	[~dryrun,frame_count=16,marker=PART,~publish,~render,resize_to=1280x1024,~sign,slice_by=words|sentences,~upload,url] \
	<filename.txt|url> \
	[--seed 42 --start_schedule 0.9]
 . <filename.txt>|url -> video.mp4
blue_stability generate validate \
	[dryrun,what=all|image|video]
 . validate blue_stability.
blue_stability notebook
 . browse blue stability notebook.
blue_stability transform \
	[count=<1>,~dryrun,extension=jpg,~sign,~tag,~upload] \
	[<object-name>] \
	["<prompt>"] \
	[-]
 . <object-name> -<prompt>-> 2023-12-27-18-08-30-90155.
```

## Sentence -> Image

```bash
abcli select; \
open .; \
blue_stability generate image \
  ~dryrun,height=576,width=768 \
  carrot - \
  "an orange carrot walking on Mars."

image

Text -> Video

abcli select; \
open .; \
blue_stability generate video \
  ~dryrun,frame_count=5,marker=PART,url \
  https://www.gutenberg.org/cache/epub/51833/pg51833.txt

image

Notebook

Open In Colab

blue_stability notebook

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blue_stability-4.36.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

blue_stability-4.36.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file blue_stability-4.36.1.tar.gz.

File metadata

  • Download URL: blue_stability-4.36.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for blue_stability-4.36.1.tar.gz
Algorithm Hash digest
SHA256 14b1858738a7566b28b3eb6dd2f6789cc19a0cf29bb9dfef3242c902fe83b0f8
MD5 48635a533a56ed0ba7954ffdcc6daa90
BLAKE2b-256 763aaf42cfcfe09bcc941d5fe403b36ab598dda5d0ddccace500eeaa3218ef5e

See more details on using hashes here.

Provenance

File details

Details for the file blue_stability-4.36.1-py3-none-any.whl.

File metadata

File hashes

Hashes for blue_stability-4.36.1-py3-none-any.whl
Algorithm Hash digest
SHA256 192e75c82a76a4dc81aebac9fc58f1941ceba1c6757eb3bba157ac4ed6463e48
MD5 45360eba86635db2aaeb7c2224ab5587
BLAKE2b-256 12bbb8dfcda9545e382cef94be8bf09235911ae08ca16336472fd57812076765

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page