Advertisement
Amazon Nova Pro 1.0 is a capable multimodal model from Amazon focused on providing a combination of accuracy, speed, and cost for a wide range of tasks. As of December...
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="amazon/nova-pro-v1",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)