

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Stability AI 模型
<a name="model-parameters-stability-diffusion"></a>

此部分介绍 Stability AI 模型的请求参数和响应字段。使用此信息通过[InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html)操作对稳定性 AI 模型进行推理调用。此部分还包括 Python 代码示例，该示例展示了如何调用 Stability AI 模型。要在推理操作中使用模型，您需要相关模型的模型 ID。要获取模型 ID，请参阅 [Amazon Bedrock 中支持的根基模型](models-supported.md)。有些模型还能与 [Converse API](conversation-inference.md) 配合使用。要查看 Converse API 是否支持特定的 Stability AI 模型，请参阅[支持的模型和模型功能](conversation-inference-supported-models-features.md)。有关更多代码示例，请参阅 [使用 Amazon Bedrock 的代码示例 AWS SDKs](service_code_examples.md)。

Amazon Bedrock 中的基础模型支持输入和输出模态，这些模态因模型而异。要查看 Stability AI 模型支持的模态，请参阅 [Amazon Bedrock 中支持的根基模型](models-supported.md)。要查看 Stability AI 模型支持哪些 Amazon Bedrock 功能，请参阅 [Amazon Bedrock 中支持的根基模型](models-supported.md)。要查看稳定性 AI 模型在哪些AWS区域可用，请参阅[Amazon Bedrock 中支持的根基模型](models-supported.md)。

使用 Stability AI 模型进行推理调用时，您可以为模型创建提示。有关为 Amazon Bedrock 支持的模型创建提示的一般信息，请参阅 [提示工程概念](prompt-engineering-guidelines.md)。有关 Stability AI 的特定提示信息，请参阅 [Stability AI 提示工程指南](https://platform.stability.ai/docs/getting-started)。

## 支持的模型和图像服务
<a name="supported-stability-models"></a>

Amazon Bedrock 支持以下 Stability AI 模型和图像服务。

**注意**  
正在逐步停止提供对所有其他 Stability AI 模型的支持。


| 模型 | 使用案例 | 示例 | 
| --- | --- | --- | 
|  [超稳定影像](model-parameters-diffusion-stable-ultra-text-image-request-response.md)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/bedrock/latest/userguide/model-parameters-stability-diffusion.html)  |  一家奢侈品牌借助 Stable Image Ultra 为其最新系列打造杂志内页所需的惊艳视觉大片，确保呈现出与其高标准相契合的尊贵质感。  | 
|  [Stable Diffusion 3.5 Large](model-parameters-diffusion-3-5-large.md)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/bedrock/latest/userguide/model-parameters-stability-diffusion.html)  |  游戏开发团队使用 SD3 .5 Large 来创建详细的环境纹理和角色概念，从而加快他们的创作流程。  | 
|  [稳定的图像核心](model-parameters-diffusion-stable-image-core-text-image-request-response.md)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/bedrock/latest/userguide/model-parameters-stability-diffusion.html)  |  一家在线零售商使用Stable Image Core为新到货快速生成产品图片，从而使其能够更快地发布商品并保留其目录 up-to-date。  | 
|  [Stability AI 图像服务](stable-image-services.md)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/bedrock/latest/userguide/model-parameters-stability-diffusion.html)  |  一家媒体公司使用搜索并重新着色、风格迁移及背景去除功能，生成多种图像变体以用于广告活动。  | 

**Topics**
+ [支持的模型和图像服务](#supported-stability-models)
+ [Stable Image Ultra 请求和响应](model-parameters-diffusion-stable-ultra-text-image-request-response.md)
+ [Stability.ai Stable Diffusion 3.5 Large](model-parameters-diffusion-3-5-large.md)
+ [Stable Image Core 请求和响应](model-parameters-diffusion-stable-image-core-text-image-request-response.md)
+ [Stability AI 图像服务](stable-image-services.md)