data
Stability AI MCP, CLI, and Lua Integration for AI Agents
Stability AI integration docs for AI agents: MCP gateway setup, Stability AI CLI commands, Lua API reference, credentials, and function schemas.Stability AI for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
stability.stability_get_account | Read read | 0 | Get the account associated with the Stability AI API key. |
stability.stability_get_balance | Read read | 0 | Get credit balance for the Stability AI API key. |
stability.stability_generate_core | Write write | 0 | Generate an image with Stable Image Core. |
stability.stability_generate_ultra | Write write | 0 | Generate a high-quality image with Stable Image Ultra. |
stability.stability_generate_sd3 | Write write | 0 | Generate an image with Stable Diffusion 3 or 3.5 models. |
stability.stability_inpaint | Write write | 0 | Fill or replace masked areas of an image. |
stability.stability_erase | Write write | 0 | Remove masked areas from an image. |
stability.stability_remove_background | Write write | 0 | Remove an image background. |
stability.stability_control_structure | Write write | 0 | Generate an image guided by the structure of an input image. |
stability.stability_upscale_fast | Write write | 0 | Quickly upscale an image. |
stability.stability_upscale_creative | Write write | 0 | Upscale an image with creative enhancement. |
stability.stability_image_to_video | Write write | 0 | Start an image-to-video generation job. |
stability.stability_get_video_result | Read read | 0 | Fetch the result of an image-to-video generation job. |