Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_amazon_titan_image_gen

Ishaan Jaffer627d6153221e
diff --git a/tests/image_gen_tests/test_bedrock_image_gen_unit_tests.py b/tests/image_gen_tests/test_bedrock_image_gen_unit_tests.py
index 96da3271829..a7f609c394d 100644
--- a/tests/image_gen_tests/test_bedrock_image_gen_unit_tests.py
+++ b/tests/image_gen_tests/test_bedrock_image_gen_unit_tests.py
@@ -528,9 +528,10 @@ def test_backward_compatibility_regular_nova_model():
def test_amazon_titan_image_gen():
+ """Test Amazon Titan image generation with cost tracking."""
from litellm import image_generation
- model_id = "bedrock/stability.stable-image-core-v1:1"
+ model_id = "bedrock/amazon.titan-image-generator-v1"
response = litellm.image_generation(
model=model_id,