Skip to content

Commit 586cb04

Browse files
authored
feat(bedrock): add Stable Image Ultra, Stable Diffusion 3 Large, and Stable Image Core model identifiers (#31327)
Add new foundation model. Ref: * https://aws.amazon.com/about-aws/whats-new/2024/09/stability-ais-text-to-image-models-amazon-bedrock/ * https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b5e4496 commit 586cb04

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts

+9
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ export class FoundationModelIdentifier {
239239
/** Base model "stability.stable-diffusion-xl-v1:0". */
240240
public static readonly STABILITY_STABLE_DIFFUSION_XL_V1_0 = new FoundationModelIdentifier('stability.stable-diffusion-xl-v1:0');
241241

242+
/** Base model "stability.sd3-large-v1:0". */
243+
public static readonly STABILITY_SD3_LARGE_V1_0 = new FoundationModelIdentifier('stability.sd3-large-v1:0');
244+
245+
/** Base model "stability.stable-image-ultra-v1:0". */
246+
public static readonly STABILITY_STABLE_IMAGE_ULTRA_V1_0 = new FoundationModelIdentifier('stability.stable-image-ultra-v1:0');
247+
248+
/** Base model "stability.stable-image-core-v1:0". */
249+
public static readonly STABILITY_STABLE_IMAGE_CORE_V1_0 = new FoundationModelIdentifier('stability.stable-image-core-v1:0');
250+
242251
/**
243252
* Constructor for foundation model identifier
244253
* @param modelId the model identifier

0 commit comments

Comments
 (0)