Describe the bug
Running the nova-canvas-notebook.ipynb and nova-reel-notebook.ipynb notebooks from a workshop event JupyterLab fails with "The provided model identifier is invalid".
This is because nova canvas and reel models are not available in the default region (us-west-2).
You have to switch regions to us-east-1 on the Bedrock console page, request nova canvas and reel access. Then in the notebooks, modify the client for region_name = 'us-east-1', then it will work.
To Reproduce
Steps to reproduce the behavior (or some version of this):
- Create a workshop event for amazon-bedrock-workshop using the default region us-west-2
- In the 04_Image_and_Multimodal module, run either of the notebooks nova-canvas-notebook.ipynb or nova-reel-notebook.ipynb
- Invoke the model, see the error: "The provided model identifier is invalid"
Expected behavior
The prerequisite steps should have you enable Nova models in us-east-1 via the Bedrock console also. The notebooks should explicitly specify region "us-east-1" for the bedrock-runtime client.
! Additional context !
- Sagemaker Studio JupyterLab with Python 3 Kernel used
- Default region used us-west-2