Stability AI models - Amazon Bedrock

Stability AI models

This section describes the request parameters and response fields for Stability AI Diffusion models. Use this information to make inference calls to Stability AI Diffusion models with the InvokeModel and InvokeModelWithResponseStream (streaming) operations. This section also includes Python code examples that shows how to call Stability AI Diffusion models. To use a model in an inference operation, you need the model ID for the model. To get the model ID, see Amazon Bedrock model IDs. Some models also work with the Converse API. To check if the Converse API supports a specific Stability AI Diffusion model, see Supported models and model features. For more code examples, see Code examples for Amazon Bedrock using AWS SDKs.

Foundation models in Amazon Bedrock support input and output modalities, which vary from model to model. To check the modalities that Stability AI Diffusion models support, see Supported foundation models in Amazon Bedrock. To check which Amazon Bedrock features the Stability AI Diffusion models support, see Model support by feature. To check which AWS Regions that Stability AI Diffusion models are available in, see Model support by AWS Region.

When you make inference calls with Stability AI Diffusion models, you include a prompt for the model. For general information about creating prompts for the models that Amazon Bedrock supports, see Prompt engineering concepts. For Stability AI Diffusion specific prompt information, see the Stability AI Diffusion prompt engineering guide.