# 🟦 blue-stability
🟦 `blue-stability` (`bstab`) is a bash cli for [stability-sdk](https://github.com/Stability-AI/stability-sdk).
## installation
```bash
pip install blue-stability
```
```bash
> 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](https://raw.githubusercontent.com/kamangir/blue-stability/main/assets/carrot.png)
## text -> video
```bash
abcli select; \
open .; \
blue_stability generate video \
~dryrun,frame_count=5,marker=PART,url \
https://www.gutenberg.org/cache/epub/51833/pg51833.txt
```
![image](https://raw.githubusercontent.com/kamangir/blue-stability/main/assets/minds.gif)
## notebook
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/kamangir/blue-stability/blob/main/nbs/demo_colab.ipynb)
```bash
blue_stability notebook
```
---
[![PyPI version](https://img.shields.io/pypi/v/blue-stability.svg)](https://pypi.org/project/blue-stability/)
Raw data
{
"_id": null,
"home_page": "https://github.com/kamangir/blue-stability",
"name": "blue-stability",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Arash Abadpour (Kamangir)",
"author_email": "arash@kamangir.net",
"download_url": "https://files.pythonhosted.org/packages/35/2f/5fdb8ac8b827d153cb6a9dbd84f440f10fc2b8c6cf8ac24966346912addc/blue_stability-4.48.1.tar.gz",
"platform": null,
"description": "# \ud83d\udfe6 blue-stability\n\n\ud83d\udfe6 `blue-stability` (`bstab`) is a bash cli for [stability-sdk](https://github.com/Stability-AI/stability-sdk).\n\n## installation\n\n```bash\npip install blue-stability\n```\n\n```bash\n > blue_stability help\nblue_stability dashboard\n . browse blue-stability dashboard.\nblue_stability generate image \\\n\t[~dryrun,height=<576>,~sign,~tag,width=<768>] \\\n\t[<image>] [<previous-image>] \\\n\t[\"<prompt>\"] \\\n\t[--seed 42]\n . <prompt> -[<previous-image>]-> <image>.png.\nblue_stability generate video \\\n\t[~dryrun,frame_count=16,marker=PART,~publish,~render,resize_to=1280x1024,~sign,slice_by=words|sentences,~upload,url] \\\n\t<filename.txt|url> \\\n\t[--seed 42 --start_schedule 0.9]\n . <filename.txt>|url -> video.mp4\nblue_stability generate validate \\\n\t[dryrun,what=all|image|video]\n . validate blue_stability.\nblue_stability notebook\n . browse blue stability notebook.\nblue_stability transform \\\n\t[count=<1>,~dryrun,extension=jpg,~sign,~tag,~upload] \\\n\t[<object-name>] \\\n\t[\"<prompt>\"] \\\n\t[-]\n . <object-name> -<prompt>-> 2023-12-27-18-08-30-90155.\n```\n\n## sentence -> image\n\n```bash\nabcli select; \\\nopen .; \\\nblue_stability generate image \\\n ~dryrun,height=576,width=768 \\\n carrot - \\\n \"an orange carrot walking on Mars.\"\n```\n\n![image](https://raw.githubusercontent.com/kamangir/blue-stability/main/assets/carrot.png)\n\n## text -> video\n\n```bash\nabcli select; \\\nopen .; \\\nblue_stability generate video \\\n ~dryrun,frame_count=5,marker=PART,url \\\n https://www.gutenberg.org/cache/epub/51833/pg51833.txt\n```\n\n![image](https://raw.githubusercontent.com/kamangir/blue-stability/main/assets/minds.gif)\n\n## notebook\n\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/kamangir/blue-stability/blob/main/nbs/demo_colab.ipynb)\n\n```bash\nblue_stability notebook\n```\n\n---\n\n[![PyPI version](https://img.shields.io/pypi/v/blue-stability.svg)](https://pypi.org/project/blue-stability/)\n",
"bugtrack_url": null,
"license": "Public Domain",
"summary": "\ud83d\udfe6 a command interface to stability.ai.",
"version": "4.48.1",
"project_urls": {
"Homepage": "https://github.com/kamangir/blue-stability"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "260104cc96751b2b0e9014a9110e917ac94eaeab7cd50368a4d7bb84a8ed9b18",
"md5": "c2fec712392ea32a1d2ef2b60be09d16",
"sha256": "6fce96e0409b6caddc1dc63f72d907fc47e6d1a10ee12b3d60e0e8c0990386b2"
},
"downloads": -1,
"filename": "blue_stability-4.48.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c2fec712392ea32a1d2ef2b60be09d16",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8815,
"upload_time": "2024-10-13T20:06:14",
"upload_time_iso_8601": "2024-10-13T20:06:14.098771Z",
"url": "https://files.pythonhosted.org/packages/26/01/04cc96751b2b0e9014a9110e917ac94eaeab7cd50368a4d7bb84a8ed9b18/blue_stability-4.48.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "352f5fdb8ac8b827d153cb6a9dbd84f440f10fc2b8c6cf8ac24966346912addc",
"md5": "d277ed8f151deea05a28ef6bb7cb9e19",
"sha256": "b2facdea0a3c8cfa7a5d6afc607a1f8fe2f51a9a30ffeba1d913a9aed7cf82eb"
},
"downloads": -1,
"filename": "blue_stability-4.48.1.tar.gz",
"has_sig": false,
"md5_digest": "d277ed8f151deea05a28ef6bb7cb9e19",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7908,
"upload_time": "2024-10-13T20:06:15",
"upload_time_iso_8601": "2024-10-13T20:06:15.137131Z",
"url": "https://files.pythonhosted.org/packages/35/2f/5fdb8ac8b827d153cb6a9dbd84f440f10fc2b8c6cf8ac24966346912addc/blue_stability-4.48.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-13 20:06:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kamangir",
"github_project": "blue-stability",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "blue-stability"
}