Stability AI integration
Stability AI's image generation and manipulation APIs including Stable Diffusion 3.5, Stable Image Core, and Stable Image Ultra models. Generate images from text, edit existing images, upscale resolution, remove backgrounds, control composition, and apply style transformations.
Say what should happen.
The workflow builds itself.
Common Stability AI use cases
- Async polling
- Product visualization
- Object removal
- Style transfer
- Canvas expansion
- Engine selection
- Object insertion
- 3D asset creation
- Print preparation
- Balance monitoring
What you can do with Stability AI
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Image, 18 operations
control_sketchControl sketchPOSTTransforms sketch drawings into photorealistic images guided by text prompts.control_structureControl structurePOSTGenerates images preserving the structural composition of a reference image.control_styleControl stylePOSTGenerates images applying the artistic style from a reference image to new content.edit_eraseEdit erasePOSTRemoves unwanted objects from images using mask-guided AI erasure.edit_inpaintEdit inpaintPOSTFills masked regions in images with AI-generated content guided by text prompts.edit_outpaintEdit outpaintPOSTExtends image boundaries in any direction by generating new contextual content.edit_remove_backgroundEdit remove backgroundPOSTAutomatically removes backgrounds from images using AI segmentation with transparency.edit_replace_background_and_relightEdit replace background and relightPOSTReplaces image backgrounds and adjusts lighting to seamlessly match the subject.edit_search_and_recolorEdit search and recolorPOSTFinds and recolors specific objects in images without requiring a mask.edit_search_and_replaceEdit search and replacePOSTAutomatically detects and replaces objects in images using dual text prompt guidance.generate_coreGenerate corePOSTGenerates images using Stable Image Core with simplified API and style presets.generate_sd3Generate sd3POSTGenerates images using Stable Diffusion 3.5 with text-to-image and image-to-image modes.generate_ultraGenerate ultraPOSTGenerates ultra-high-quality photorealistic images with Stable Image Ultra model.replace_background_and_relight_resultReplace background and relight resultGETFetches the result of an asynchronous replace-background-and-relight operation by generation ID.upscale_conservativeUpscale conservativePOSTUpscales images conservatively while preserving original details and quality.upscale_creativeUpscale creativePOSTUpscales images with prompt-guided creative enhancements. Returns async generation ID.upscale_creative_resultUpscale creative resultGETFetches the result of an asynchronous creative upscale operation by generation ID.upscale_fastUpscale fastPOSTFast 2x upscale of an image with minimal processing time.
Account, 1 operation
get_user_accountGet user accountGETRetrieves the authenticated user's account information and profile details.
Balance, 1 operation
get_user_balanceGet user balanceGETRetrieves the user's credit balance for monitoring API usage costs.
Engine, 1 operation
list_enginesList enginesGETRetrieves the catalog of available generation engines and models.
Model, 1 operation
stable_fast_3dStable fast 3dPOSTConverts a 2D image into a 3D model using Stable Fast 3D.
Use Stability AI from Claude Code, Cursor or Codex
Connect Stability AI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Stability AI operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Stability AI
- Create your workspace
Sign up free. Nothing to install.
- Connect Stability AI once
Add your Stability AI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Stability AI integration FAQ
What can you do with the Stability AI integration?
LiveContext exposes 22 operations on Stability AI, covering image, account, balance and engine. Common uses include Async polling, Product visualization and Object removal.
