Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova Canvas complete image generation tasks (#9177) #9525

Merged
merged 4 commits into from
Mar 26, 2025

Conversation

krrishdholakia
Copy link
Contributor

  • add initial support for Amazon Nova Canvas model

  • adjust name to AmazonNovaCanvas and map function variables to config

  • tighten model name check

  • fix quality mapping

  • add premium quality in config

  • support all Amazon Nova Canvas tasks

  • remove unused import

  • add tests for image generation tasks and fix payload

  • add missing util file

  • update model prices backup file

  • remove image tasks other than text->image

  • add color guided generation task for Nova Canvas

  • fix merge

  • add nova canvas image generation documentation

  • add nova canvas unit tests


Title

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on (make test-unit)[https://docs.litellm.ai/docs/extras/contributing_code]
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

* add initial support for Amazon Nova Canvas model

Signed-off-by: omrishiv <[email protected]>

* adjust name to AmazonNovaCanvas and map function variables to config

Signed-off-by: omrishiv <[email protected]>

* tighten model name check

Signed-off-by: omrishiv <[email protected]>

* fix quality mapping

Signed-off-by: omrishiv <[email protected]>

* add premium quality in config

Signed-off-by: omrishiv <[email protected]>

* support all Amazon Nova Canvas tasks

* remove unused import

Signed-off-by: omrishiv <[email protected]>

* add tests for image generation tasks and fix payload

Signed-off-by: omrishiv <[email protected]>

* add missing util file

Signed-off-by: omrishiv <[email protected]>

* update model prices backup file

Signed-off-by: omrishiv <[email protected]>

* remove image tasks other than text->image

Signed-off-by: omrishiv <[email protected]>

* add color guided generation task for Nova Canvas

Signed-off-by: omrishiv <[email protected]>

* fix merge

Signed-off-by: omrishiv <[email protected]>

* add nova canvas image generation documentation

Signed-off-by: omrishiv <[email protected]>

* add nova canvas unit tests

Signed-off-by: omrishiv <[email protected]>

---------

Signed-off-by: omrishiv <[email protected]>
Co-authored-by: Krish Dholakia <[email protected]>
Copy link

vercel bot commented Mar 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ❌ Failed (Inspect) Mar 26, 2025 6:28pm

@krrishdholakia krrishdholakia merged commit 801ecb6 into main Mar 26, 2025
5 of 27 checks passed
@krrishdholakia krrishdholakia deleted the litellm_dev_contributor_prs_03_25_2025_p1 branch March 26, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants