stability-ai
Skill by sickn33
Generates and edits images through the Stability AI API. It covers text-to-image, img2img, inpainting, upscaling, background removal and search-and-replace, with 15 artistic style presets for art and illustration work.
Install stability-ai
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/stability-ai ~/.claude/skills/stability-aiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/stability-ai ~/.gemini/antigravity-cli/skills/stability-aiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The stability-ai skill generates and edits images with the Stability AI API. It supports text-to-image with SD3.5, Ultra and Core models, plus img2img, inpainting, upscaling, background removal, object erase and search-and-replace. The source lists 15 artistic style presets and 8 aspect ratios.
A Python helper script, scripts/generate.py, runs each mode from the command line and saves outputs with metadata. Hosted API calls may use paid credits, so the source advises checking current prices and rights before sending prompts or images. According to the source's comparison table, it suits artwork, illustration, concept art, posters, wallpapers and game assets.
Written from the project's SKILL.md and checked against it.
What it can do
- Text-to-imageGenerates images from a text prompt with SD3.5, Ultra or Core models.
- Image-to-imageCreates a new image from an input image and a text prompt, with adjustable strength.
- InpaintingEdits part of an image using an explicit mask file.
- UpscaleIncreases image resolution using the conservative upscale mode.
- Remove backgroundRemoves the background and returns a transparent PNG.
- Search and replaceReplaces a named object in an image with a text description.
- EraseRemoves part of an image using an explicit mask file.
- Style presetsAdds style qualifiers such as anime, oil painting, pixel art or noir to prompts.
- Aspect ratiosSets output shape from presets such as square, portrait, wide and stories.
- Prompt analysisSuggests prompt improvements with the --analyze option.
What you need
- Stability AI account at platform.stability.ai
- Stability AI API key stored as STABILITY_API_KEY in .env
- Python with dependencies from scripts/requirements.txt
Try asking
- Remove the background from produto.jpg using the stability-ai skill
- Create a fantasy concept art castle at sunset in 16:9 with stability-ai
- Replace the cat with a golden retriever in parque.jpg using stability-ai
Good to know
- Hosted API calls may cost credits, and prices and quotas are set by the service.
- The local image counter defaults to 100 per day and is not a financial cap.
- Creative upscale is not implemented, and inpaint and erase require an explicit mask.
- Retries happen only on HTTP 429, and ambiguous POST failures are not resent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/stability-ai/SKILL.md, skills/stability-ai/scripts/config.py, skills/stability-ai/scripts/generate.py, skills/stability-ai/scripts/styles.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/api-reference.md8 KB -
references/prompt-engineering.md6 KB -
references/setup-guide.md3 KB -
scripts/config.py10 KB
Show all 8 files
-
scripts/generate.py26 KB -
scripts/requirements.txt98 B -
scripts/styles.py6 KB
Alternatives to stability-ai
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
stability-ai: common questions
Does Stability AI cost money?
The source says the hosted API may charge credits, and the account is listed as free to create. Check current prices and rights before sending prompts or images.
Which edit modes need a mask?
Inpaint and erase modes require an explicit mask in the helper script. Creative upscale is not implemented in the helper.
Where are generated images saved?
Images are saved in data/outputs/ with a .meta.json file. The metadata can include prompts and private paths, so the source says to treat outputs as sensitive data.
How do I install stability-ai?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is stability-ai free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is stability-ai safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to stability-ai?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
