Integration · Other
AI agents for Stability AI
Generate images from text with Stable Image Core, Ultra and Stable Diffusion 3.5, and edit images: remove a background, upscale, erase an object, replace an object described in words, or extend an image outward.
- Actions
- 9
- Read
- 1
- Write
- 8
Actions
What your agents can do in Stability AI
Generate images from text with Stable Image Core, Ultra and Stable Diffusion 3.5, and edit images: remove a background, upscale, erase an object, replace an object described in words, or extend an image outward. Images go in and come back as files (fil_… references) that a person can download and other tools can take. Each call spends Stability credits.
Read 1
Look things up. Nothing changes.
Get the credit balance
Returns how many Stability credits the API key's account or organization has left (credits).
Write 8
Create, change or send.
Generate an image (Core)
Creates one image of about 1.5 megapixels from a text prompt with Stable Image Core, Stability's fast, affordable model (3 credits).
Generate an image (Ultra)
Creates one high-quality, photorealistic image from a text prompt with Stable Image Ultra (8 credits), Stability's best model for detail, typography and print.
Generate an image (Stable Diffusion 3.5)
Creates one image with a Stable Diffusion 3.5 model: Large (6.5 credits), Large Turbo (4, faster) or Medium (3.5).
Remove an image's background
Cuts the foreground subject out of an image file and removes the background, returning a PNG (or WebP) with transparency as a file reference in file.
Upscale an image (4x)
Makes an image file four times larger in about a second, sharpening a small or compressed image (width and height between 32 and 1,536 pixels).
Replace an object in an image
Finds an object described in words (search_prompt, like "the red car") in an image file and replaces it with what prompt describes, with no mask needed.
Erase part of an image
Removes unwanted objects or blemishes from an image file, filling the area in naturally.
Extend an image
Adds new content around an image file, up to 2,000 pixels on each side (left, right, up, down; at least one), matching what is there, guided by an optional prompt.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Stability AI account.
What you enter
- API key
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Stability AI data
Ask a question in plain words. The agent can get the credit balance in Stability AI, then answers with what it found.
- 02
Let an agent update Stability AI
Have the agent generate an image (Core) or generate an image (Ultra) in Stability AI as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent Stability AI and Slack: it can get the credit balance in Stability AI and post a summary to a Slack channel in the same run.
FAQ
Stability AI and MyDeepAgents
Can MyDeepAgents connect to Stability AI?
Yes. The Stability AI connector has 9 actions: 1 reads and 8 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Stability AI?
Paste an API key from your Stability AI account. You'll need: API key. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Stability AI without asking?
Only if you let it. Each of the 8 actions that change data can be set to wait for a person's approval before it runs.
Can I use Stability AI in workflows as well as agents?
Yes. Every Stability AI action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Stability AI to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.