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.38.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

blue_stability-4.38.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blue_stability-4.38.1.tar.gz
  • Upload date:
  • Size: 7.9 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.38.1.tar.gz
Algorithm Hash digest
SHA256 caf166a178d25756cd87d5bc3312b74c9270dcffa357a72866c248b10577029a
MD5 6945c388a80296f60b21254cc38cf307
BLAKE2b-256 d89ab23a4fd0cc7f8ead9b846985520cc6522fbb604a08747a00ce1669d81a54

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for blue_stability-4.38.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4086ea7c96975d69514bdefd22cb85bd95dad2f4137433b4dff77c76ee535e
MD5 a4aabacd080d58df99f0b3e930f77ce4
BLAKE2b-256 58c9e33c713d789cd6455d047a52557edd38fbfcc0aec030055a81abb3fabfb1

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