Skip to content

Commit

Permalink
chore(bedrock): support Titan Image Generator v2 (#31045)
Browse files Browse the repository at this point in the history
Add new foundation model.

Ref:
* https://aws.amazon.com/about-aws/whats-new/2024/08/titan-image-generator-v2-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*
  • Loading branch information
mazyu36 authored Aug 12, 2024
1 parent 1f0ba96 commit 4987ef2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export class FoundationModelIdentifier {
/** Base model "amazon.titan-image-generator-v1:0". */
public static readonly AMAZON_TITAN_IMAGE_GENERATOR_V1_0 = new FoundationModelIdentifier('amazon.titan-image-generator-v1:0');

/** Base model "amazon.titan-image-generator-v2:0". */
public static readonly AMAZON_TITAN_IMAGE_GENERATOR_V2_0 = new FoundationModelIdentifier('amazon.titan-image-generator-v2:0');

/** Base model "amazon.titan-embed-image-v1:0". */
public static readonly AMAZON_TITAN_EMBED_IMAGE_V1_0 = new FoundationModelIdentifier('amazon.titan-embed-image-v1:0');

Expand Down

0 comments on commit 4987ef2

Please sign in to comment.