Skip to content

Commit

Permalink
chore(bedrock): add Amazon Nova Canvas, Lite, Micro, Pro, Reel models (
Browse files Browse the repository at this point in the history
…aws#32374)

Add Amazon Nova models.


https://aws.amazon.com/blogs/aws/introducing-amazon-nova-frontier-intelligence-and-industry-leading-price-performance/

* amazon.nova-canvas-v1:0
* amazon.nova-lite-v1:0
* amazon.nova-lite-v1:0:300k
* amazon.nova-micro-v1:0
* amazon.nova-micro-v1:0:128k
* amazon.nova-pro-v1:0
* amazon.nova-pro-v1:0:300k
* amazon.nova-reel-v1:0

```sh
% aws bedrock get-foundation-model --model-identifier amazon.nova-canvas-v1:0 --region us-east-1

{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-canvas-v1:0",
        "modelId": "amazon.nova-canvas-v1:0",

// omit

% aws bedrock get-foundation-model --model-identifier amazon.nova-lite-v1:0 --region us-east-1

{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-lite-v1:0",
        "modelId": "amazon.nova-lite-v1:0",

// omit

% % aws bedrock get-foundation-model --model-identifier amazon.nova-lite-v1:0:300k --region us-east-1
{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-lite-v1:0:300k",
        "modelId": "amazon.nova-lite-v1:0:300k",

// omit

% aws bedrock get-foundation-model --model-identifier amazon.nova-micro-v1:0 --region us-east-1

{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-micro-v1:0",
        "modelId": "amazon.nova-micro-v1:0",

// omit

% aws bedrock get-foundation-model --model-identifier amazon.nova-micro-v1:0:128k --region us-east-1
{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-micro-v1:0:128k",
        "modelId": "amazon.nova-micro-v1:0:128k",

// omit

% aws bedrock get-foundation-model --model-identifier amazon.nova-pro-v1:0 --region us-east-1

{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-pro-v1:0",
        "modelId": "amazon.nova-pro-v1:0",

// omit

%  aws bedrock get-foundation-model --model-identifier amazon.nova-pro-v1:0:300k --region us-east-1
{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-pro-v1:0:300k",
        "modelId": "amazon.nova-pro-v1:0:300k",

// omit

% aws bedrock get-foundation-model --model-identifier amazon.nova-reel-v1:0 --region us-east-1

{
    "modelDetails": {
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-reel-v1:0",
        "modelId": "amazon.nova-reel-v1:0",
        "modelName": "Nova Reel",

// omit
```

### Checklist
- [ ] 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 Dec 4, 2024
1 parent bb50c1a commit 935c06f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 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 @@ -59,6 +59,30 @@ export class FoundationModelIdentifier {
/** Base model "amazon.titan-embed-image-v1". */
public static readonly AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1 = new FoundationModelIdentifier('amazon.titan-embed-image-v1');

/** Base model "amazon.nova-canvas-v1:0". */
public static readonly AMAZON_NOVA_CANVAS_V1_0 = new FoundationModelIdentifier('amazon.nova-canvas-v1:0');

/** Base model "amazon.nova-lite-v1:0". */
public static readonly AMAZON_NOVA_LITE_V1_0 = new FoundationModelIdentifier('amazon.nova-lite-v1:0');

/** Base model "amazon.nova-lite-v1:0:300k". */
public static readonly AMAZON_NOVA_LITE_V1_0_300_K = new FoundationModelIdentifier('amazon.nova-lite-v1:0:300k');

/** Base model "amazon.nova-micro-v1:0". */
public static readonly AMAZON_NOVA_MICRO_V1_0 = new FoundationModelIdentifier('amazon.nova-micro-v1:0');

/** Base model "amazon.nova-micro-v1:0:128k". */
public static readonly AMAZON_NOVA_MICRO_V1_0_128_K = new FoundationModelIdentifier('amazon.nova-micro-v1:0:128k');

/** Base model "amazon.nova-pro-v1:0". */
public static readonly AMAZON_NOVA_PRO_V1_0 = new FoundationModelIdentifier('amazon.nova-pro-v1:0');

/** Base model "amazon.nova-pro-v1:0:300k". */
public static readonly AMAZON_NOVA_PRO_V1_0_300_K = new FoundationModelIdentifier('amazon.nova-pro-v1:0:300k');

/** Base model "amazon.nova-reel-v1:0". */
public static readonly AMAZON_NOVA_REEL_V1_0 = new FoundationModelIdentifier('amazon.nova-reel-v1:0');

/** Base model "ai21.j2-mid". */
public static readonly AI21_J2_MID = new FoundationModelIdentifier('ai21.j2-mid');

Expand Down

0 comments on commit 935c06f

Please sign in to comment.