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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: blue_stability-4.40.1.tar.gz
  • Upload date:
  • Size: 8.0 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.40.1.tar.gz
Algorithm Hash digest
SHA256 9cd4b2b4cba07c7ea734ca3ecd5b3ff2a2c031449aa94e6cdd53cfe404146fcd
MD5 503075145ff0ed7f777702f6cba628ab
BLAKE2b-256 bdf0b8f9065d7d85aef64568710416a622fc8a167e4f729badf8b61975e5fb61

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for blue_stability-4.40.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1967b88f9934df3109fae7fcc7b5a9972fee7542a04f143fc2767f6e2fd5b055
MD5 3ff9c617213827494eb0ed1d511e6b11
BLAKE2b-256 d7cb16cba0f7da8de7bb549c8e676597c2500c7993d5fc31757020ba9fbd193b

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