ST

stability-ai

Provides image generation capabilities using the Stability AI API for artistic and photorealistic projects.

Install

mkdir -p .claude/skills/stability-ai && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15584" && unzip -o skill.zip -d .claude/skills/stability-ai && rm skill.zip

Installs to .claude/skills/stability-ai

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

ALWAYS use this when the request matches Stability AI: Geracao de imagens via Stability AI (SD3.5, Ultra, Core).
112 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Generate images from text using SD3.5, Ultra, or Core models
  • Transform images with text prompts (img2img)
  • Increase image resolution (upscale)
  • Remove backgrounds from images
  • Edit specific parts of an image (inpainting)
  • Replace objects within an image

How it works

The skill uses the Stability AI API to generate or modify images based on text prompts and specified modes, applying various artistic styles and aspect ratios.

Inputs & outputs

You give it
text prompt and optional image for generation or manipulation
You get back
generated or modified image file

When to use stability-ai

  • Generating digital art
  • Creating concept art
  • Performing image inpainting
  • Running image-to-image tasks

About this skill

Stability AI — Gerador de Imagens Profissional

Selective Reading Rule

Start with:

  • references/usage-routing.md
  • references/quality-checklist.md

Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.

Selective Reading Rule

Start with:

  • references/senior-master-standard.md

Then load only the references, scripts, assets, or examples needed for the user's actual task.

Overview

Geracao de imagens via Stability AI (SD3.5, Ultra, Core). Text-to-image, img2img, inpainting, upscale, remove-bg, search-replace. 15 estilos artisticos.

When to Use This Skill

  • When the user mentions "stability ai" or related topics
  • When the user mentions "stable diffusion" or related topics
  • When the user mentions "sd3.5" or related topics
  • When the user mentions "gerar arte" or related topics
  • When the user mentions "gerar ilustracao" or related topics
  • When the user mentions "image to image" or related topics

Do Not Use This Skill When

  • The task is unrelated to stability ai
  • A simpler, more specific tool can handle the request
  • The user needs general-purpose assistance without domain expertise

How It Works

Skill para gerar imagens artisticas e fotorrealistas usando a Stability AI API. Gratuito com Community License (sem limite para uso pessoal/pequenas empresas).

Quando Usar Esta Skill Vs Ai-Studio-Image

CenarioSkill recomendada
Foto humanizada para Instagram/redes sociaisai-studio-image
Arte digital, ilustracao, concept artstability-ai
Foto com camera de celular (realismo casual)ai-studio-image
Fotorrealismo cinematografico (8K, detalhado)stability-ai
Material educacional com visual profissionalai-studio-image
Poster, wallpaper, book cover, game assetstability-ai
Inpainting (editar parte de uma imagem)stability-ai
Upscale (aumentar resolucao)stability-ai
Remover fundo de imagemstability-ai
Search & Replace (trocar objeto em imagem)stability-ai
Apagar elemento de uma imagemstability-ai

Setup Rapido

  1. Criar conta em platform.stability.ai (gratuito)
  2. Copiar API Key do dashboard
  3. Colar no .env: STABILITY_API_KEY=sk-sua-chave-aqui
  4. pip install -r scripts/requirements.txt

Detalhes completos em references/setup-guide.md.

1. Modos De Operacao

ComandoO que fazEndpoint
--mode generateTexto para imagem (SD3.5)/generate/sd3
--mode ultraTexto para imagem premium/generate/ultra
--mode coreTexto para imagem rapido/generate/core
--mode img2imgImagem + texto para nova imagem/generate/sd3
--mode upscaleAumentar resolucao (conservativo)/upscale/conservative
--mode upscale-creativeAumentar resolucao com detalhes/upscale/creative
--mode remove-bgRemover fundo (PNG transparente)/edit/remove-background
--mode inpaintEditar parte da imagem (mascara)/edit/inpaint
--mode search-replaceTrocar objeto por descricao/edit/search-and-replace
--mode eraseApagar parte da imagem/edit/erase

2. Exemplos De Uso


## Geracao Basica (Sd 3.5 Large)

python scripts/generate.py --prompt "a serene mountain landscape at sunset" --mode generate

## Qualidade Maxima (Ultra)

python scripts/generate.py --prompt "cinematic portrait, dramatic lighting" --mode ultra --aspect-ratio 16:9

## Rapido Para Iteracao (Core)

python scripts/generate.py --prompt "cute cat ninja" --mode core --style anime

## Image-To-Image

python scripts/generate.py --prompt "watercolor style" --mode img2img --image foto.jpg --strength 0.7

## Upscale Conservativo

python scripts/generate.py --prompt "landscape photo" --mode upscale --image foto_pequena.jpg

## Remover Fundo

python scripts/generate.py --mode remove-bg --image produto.jpg

## Inpainting Com Mascara

python scripts/generate.py --prompt "red roses" --mode inpaint --image jardim.jpg --mask mascara.png

## Search & Replace

python scripts/generate.py --prompt "a golden retriever" --mode search-replace --image parque.jpg --search "the cat"

## Apagar Objeto

python scripts/generate.py --mode erase --image foto.jpg --mask area.png

## Listar Modelos

python scripts/generate.py --list-models

## Listar Estilos

python scripts/generate.py --list-styles

## Analisar Prompt (Sugestoes Automaticas)

python scripts/generate.py --prompt "anime warrior girl, widescreen" --analyze --json

3. Aspect Ratios

NomeRatioAliasesUso tipico
square1:1ig, instagram, quadradoFeed Instagram
portrait2:3retrato, pinterestRetrato, poster
landscape3:2paisagem, horizontalPaisagem, banner
photo4:5ig-feedInstagram feed otimizado
wide16:9widescreen, youtube, cinema, wallpaperCinema, YT
ultrawide21:9Monitor ultrawide
stories9:16vertical, tiktok, ig-storiesStories, Reels
phone9:21Wallpaper celular

4. Estilos (15 Presets)

Cada estilo adiciona qualificadores automaticamente ao prompt:

EstiloDescricaoIdeal para
photorealisticFotorrealismo cinematograficoRetratos, cenas
animeAnime/Manga japonesPersonagens, cenas
digital-artArte digital detalhadaIlustracoes gerais
oil-paintingPintura a oleo classicaArte classica
watercolorAquarela fluidaArte delicada
pixel-artPixel art retro 8/16-bitGames retro
3d-renderRender 3D fotorrealistaProdutos, cenas 3D
concept-artConcept art profissionalGames, filmes
comicComics/HQ estilizadoQuadrinhos
minimalistMinimalista limpoDesign, logos
fantasyFantasy art epicoRPG, medieval
sci-fiSci-fi futuristaCyberpunk, espaco
sketchDesenho a lapis/carvaoEstudos, rascunhos
pop-artPop art vibranteArte moderna
noirFilm noir dramaticoAtmosfera sombria

5. Output

Imagens salvas em data/outputs/ com naming: {mode}_{style}_{timestamp}_{index}.png

Metadados salvos em .meta.json com: prompt original, prompt final, modelo, aspect ratio, seed, tempo, tamanho.

Integracao Com Outras Skills

  • ai-studio-image: Complementar — Stability AI para arte, Gemini para fotos humanizadas
  • instagram: Gerar arte → publicar no Instagram
  • telegram: Gerar imagem → enviar via bot

Rate Limits & Seguranca

  • Community License: 150 requests/10 segundos
  • Limite diario: 100 imagens/dia (configuravel via SAFETY_MAX_IMAGES_PER_DAY)
  • Retry automatico com backoff exponencial em caso de 429
  • Fallback de API keys (primaria + backups)

Referencia De Arquivos

ArquivoQuando consultar
references/setup-guide.mdSetup inicial, API key, troubleshooting
references/prompt-engineering.mdTecnicas avancadas de prompt
references/api-reference.mdEndpoints, parametros, respostas, erros

Best Practices

  • Provide clear, specific context about your project and requirements
  • Review all suggestions before applying them to production code
  • Combine with other complementary skills for comprehensive analysis

Common Pitfalls

  • Using this skill for tasks outside its domain expertise
  • Applying recommendations without understanding your specific context
  • Not providing enough project context for accurate analysis

Related Skills

  • ai-studio-image - Complementary skill for enhanced analysis
  • comfyui-gateway - Complementary skill for enhanced analysis
  • image-studio - Complementary skill for enhanced analysis

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Prerequisites

Account on platform.stability.aiSTABILITY_API_KEY configured in .envpip install -r scripts/requirements.txt

Limitations

  • Community License has a rate limit of 150 requests/10 seconds
  • Daily limit of 100 images/day (configurable)

How it compares

This skill specializes in artistic and photorealistic image generation and manipulation using Stability AI models, offering specific modes like inpainting and search-replace, unlike general image generation tools.

Compared to similar skills

stability-ai side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
stability-ai (this skill)03moReviewBeginner
jimeng-mcp-skill194moCautionIntermediate
gemini-logo-remover98moReviewBeginner
ai-image99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

jimeng-mcp-skill

wwwzhouhui

使用jimeng-mcp-server进行AI图像和视频生成。当用户请求从文本生成图像、合成多张图片、从文本描述创建视频或为静态图像添加动画时使用此技能。支持四大核心能力:文生图、图像合成、文生视频、图生视频。需要jimeng-mcp-server在本地运行或通过SSE/HTTP访问。

19158

gemini-logo-remover

bear2u

Remove Gemini logos, watermarks, or AI-generated image markers using OpenCV inpainting. Use this skill when the user asks to remove Gemini logo, AI watermark, or any logo/watermark from images.

9115

ai-image

tyrchen

Generate AI images using OpenAI's gpt-image-1 model with customizable aspect ratios and artistic themes. Use when the user wants to create images, generate artwork, or mentions image generation with specific styles like Ghibli, futuristic, Pixar, oil painting, or Chinese painting.

9101

baoyu-article-illustrator

JimLiu

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

1848

nano-banana-pro-prompts-recommend-skill

YouMind-OpenLab

Recommend suitable prompts from 6000+ Nano Banana Pro image generation prompts based on user needs. Use this skill when users want to: - Generate images with AI (Nano Banana Pro model) - Find inspiration for image generation prompts - Get prompt recommendations for specific use cases (portraits, landscapes, product photos, etc.) - Create illustrations for articles, videos, podcasts, or other content - Translate and understand prompt techniques

1335

image-generation

onyx-dot-app

Generate images using nano banana.

634

Search skills

Search the agent skills registry