npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@slates-integrations/stability-ai

v0.2.0-rc.7

Published

Generate images from text prompts using Stable Diffusion models, edit images with tools like inpainting, outpainting, erase, search-and-replace, search-and-recolor, and background removal. Upscale images to 4K resolution with conservative, creative, or fa

Readme

Stability AI

Generate images from text prompts using Stable Diffusion models, edit images with tools like inpainting, outpainting, erase, search-and-replace, search-and-recolor, and background removal. Upscale images to 4K resolution with conservative, creative, or fast modes. Apply style guide and style transfer controls to images guided by references. Replace backgrounds and adjust lighting on subject images. Generate or transform audio with Stable Audio text-to-audio, audio-to-audio, and inpaint workflows. Create 3D assets from single images. Check account credit balance and usage. Generated media is returned as Slate attachments with metadata in tool outputs.

Tools

Control Image Generation

Generate images guided by structural inputs using Stability AI's control tools. Four control modes: - sketch: Generate production-grade images from hand-drawn sketches or line drawings. - structure: Generate images that maintain the structural composition and edges of a reference image. - style: Generate new content in the visual style of a reference image (Style Guide). - style_transfer: Restyle an existing image with a separate style reference while preserving composition.

Edit Image

Edit images using Stability AI's suite of editing tools. Supports multiple operations: - erase: Remove unwanted elements using a mask. - inpaint: Fill or replace masked areas with new content based on a prompt. - outpaint: Extend image boundaries in any direction while maintaining visual consistency. - search_and_replace: Swap objects by describing what to find and what to replace it with (no mask needed). - search_and_recolor: Change colors of specific objects described in plain language (no mask needed). - remove_background: Remove the background from an image, leaving the subject on a transparent background.

Generate 3D Model

Generate 3D models from a single image using Stability AI's 3D generation models. Two models available: - stable-fast-3d: Generates high-quality 3D assets in ~0.5 seconds. Best for quick prototyping. - spar3d (Stable Point Aware 3D): More detailed generation with point cloud sampling. Better for complex objects and unseen backside details. Both models output UV-unwrapped and textured GLB files ready for use in 3D applications and game engines.

Generate Audio

Generate or transform audio using Stable Audio 3, Stable Audio 2.5, or Stable Audio 2. Supports text-to-audio, audio-to-audio, and audio inpainting workflows. Describe the desired audio including genre, mood, instruments, tempo, and style for best results.

Generate Image

Generate images from text prompts using Stability AI models. Supports three model tiers: - Ultra: Top-tier quality powered by Stable Diffusion 3.5, excels at typography, complex compositions, and photorealism. - Core: Fast, affordable generation with good quality. - SD3.5: Access to specific SD3.5 model variants with advanced controls like CFG scale. Style presets are supported where Stability AI exposes them. Optionally provide a reference image for image-to-image generation (Ultra and SD3.5 only).

Get Account Info

Retrieve Stability AI account information and credit balance. Returns the account email, profile picture, organizations, and current credit balance for monitoring API usage.

Replace Background & Relight

Replace the background of a subject image with a new AI-generated scene and adjust lighting. Useful for e-commerce product shots, real estate photography, and creative compositing. Provide a subject image and describe the desired background. Optionally control the lighting direction and intensity to match the new scene.

Upscale Image

Enhance image resolution using Stability AI's upscaling models. Three modes available: - fast: Quick 4x resolution increase without prompt guidance. Best for simple upscaling tasks. - conservative: Upscales up to 4K while preserving details and minimizing alterations. Requires a descriptive prompt. - creative: Significantly reinterprets and enhances images up to 4K resolution. Best for heavily degraded images. Accepts a creativity scale parameter. This is an async operation that may take longer.

License

This integration is licensed under the FSL-1.1.