View a markdown version of this page

Nova Pro - Amazon Bedrock

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

Nova Pro

Amazon-Logo mit geschwungenem Pfeil von A bis Z, der ein Lächeln bildet. Amazon — Nova Pro

Modelldetails

Nova Pro ist das ausgewogene multimodale Modell von Amazon, das eine hohe Genauigkeit, Geschwindigkeit und Kosten für eine Vielzahl von Aufgaben in den Bereichen Text, Bild und Video bietet. Weitere Informationen zur Modellentwicklung und Leistung finden Sie auf der model/service Karte.

Modalitäten der Eingabe Modalitäten der Ausgabe Unterstützte APIs Unterstützte Endpunkte
Red circle with white X icon indicating error, cancel, or close action.AudioRed circle with white X icon indicating error, cancel, or close action.EinbettenRed circle with white X icon indicating error, cancel, or close action. ResponsesGreen circle with white checkmark icon. bedrock-runtime
Green circle with white checkmark icon.BildRed circle with white X icon indicating error, cancel, or close action.BildRed circle with white X icon indicating error, cancel, or close action. Chat CompletionsRed circle with white X icon indicating error, cancel, or close action. bedrock-mantle
Red circle with white X icon indicating error, cancel, or close action.RedeRed circle with white X icon indicating error, cancel, or close action.RedeGreen circle with white checkmark icon. Invoke
Green circle with white checkmark icon.TextGreen circle with white checkmark icon.TextGreen circle with white checkmark icon. Converse
Green circle with white checkmark icon.-VideoRed circle with white X icon indicating error, cancel, or close action.-Video
Tipp

Wann immer möglich, empfehlen wir, den bedrock-runtime Endpunkt für neue Anwendungen zu verwenden. Details dazu finden Sie unter Von Amazon Bedrock unterstützte Endpunkte.

Fähigkeiten und Funktionen

Funktionen von Bedrock

Funktionen, die mithilfe bedrock-runtime von Endpoint unterstützt werden

Promptes Zwischenspeichern mithilfe des Endpunkts bedrock-runtime

Weitere Informationen finden Sie unter Prompt-Caching für eine schnellere Modellinferenz.

Prompt-Caching wird unterstützt Mindestanzahl an Tokens pro Cache-Checkpoint Max. Cache-Checkpoints pro Anfrage Unterstütztes TTL Felder, die Prompt-Cache-Checkpoints akzeptieren
Ja 1K* 4 5 Minuten system und messages

* Amazon Nova-Modelle unterstützen maximal 20.000 Token für das Prompt-Caching. Das Zwischenspeichern von Eingabeaufforderungen dient hauptsächlich Textaufforderungen.

Preisgestaltung

Preisinformationen finden Sie auf der Amazon Bedrock-Preisseite.

Programmatischer Zugriff

Verwenden Sie die folgenden Modell-IDs und Endpunkt-URLs, um programmgesteuert auf dieses Modell zuzugreifen. Weitere Informationen zu den verfügbaren APIs und Endpunkten finden Sie unter Unterstützte APIs und Unterstützte Endpunkte.

Endpunkt Modell-ID In-Region URL des Endpunkts Geoinferenz-ID Globale Inferenz-ID
bedrock-runtime amazon.nova-pro-v1:0 https://bedrock-runtime.{region}.amazonaws.com

us.amazon.nova-pro-v1:0

eu.amazon.nova-pro-v1:0

Nicht unterstützt

Wenn die Region beispielsweise us-east-1 (Nord-Virginia) ist, lautet die Bedrock-Runtime-Endpunkt-URL "" und für https://bedrock-runtime.us-east-1.amazonaws.com bedrock-Mantle "“. https://bedrock-mantle.us-east-1.api.aws/v1

Servicestufen

Amazon Bedrock bietet mehrere Servicestufen, um Ihren Workload-Anforderungen gerecht zu werden. Standard bietet Pay-per-Token-Zugriff ohne Verpflichtung (setzen Sie das Feld ein "service_tier": "default" oder lassen Sie es weg). Priority bietet die schnellsten Reaktionszeiten gegen einen Preisaufschlag (Set). "service_tier": "priority" Flex bietet kostengünstigen Zugriff auf flexible, nicht zeitkritische Workloads (Set). "service_tier": "flex" Reserved bietet einen dedizierten Durchsatz mit einer bestimmten Laufzeit für vorhersehbare Workloads. Dieser Wert wird auf Kontoebene und nicht pro Anfrage festgelegt (wenden Sie sich zur Aktivierung an Ihr AWS-Kontenteam). Weitere Informationen finden Sie unter Servicestufen.

Standard Priorität Flex Reserviert
Green circle with white checkmark icon. Green circle with white checkmark icon. Green circle with white checkmark icon. Red circle with white X icon indicating error, cancel, or close action.

Regionale Verfügbarkeit

Regionale Verfügbarkeit auf einen Blick

Amazon Bedrock bietet drei Ableitungsoptionen: In-Region Es werden Anfragen innerhalb einer einzigen Region zur strikten Einhaltung der Vorschriften gespeichert, Cross-Region Geo-Routen zwischen Regionen innerhalb einer Region (z. B. USA, EU und APAC) unter Berücksichtigung der Datenresidenz, und globale Cross-Region Routen überall auf der Welt, wenn keine Wohnsitzbeschränkungen bestehen. Weitere Informationen finden Sie auf der SeiteRegionale Verfügbarkeit nach Modellen.

Region In-Region Geo Global
us-east-1(Nord-Virginia)Green circle with white checkmark icon.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
us-east-2(Ohio)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
us-west-1(Nordkalifornien)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
us-west-2(Oregon)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
us-gov-west-1 (GovCloud)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.
eu-central-1(Frankfurt)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
eu-north-1(Stockholm)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
eu-south-1(Mailand)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
eu-south-2(Spanien)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
eu-west-1(Irland)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
eu-west-2(London)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.
eu-west-3(Paris)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
ap-southeast-2(Sydney)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.
ap-southeast-3(Jakarta)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.
il-central-1(Tel Aviv)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
me-central-1(VAE)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.

Einzelheiten zur Geo-Inferenz

Geo: USA

Geo-Inferenz-ID: us.amazon.nova-pro-v1:0

Quellregion Zielregionen
us-east-1 (N. Virginia)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)
us-east-2 (Ohio)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)
us-west-1 (Nordkalifornien)US-East-1 (Nord-Virginia), US-East-2 (Ohio), US-West-1 (Nordkalifornien), US-West-2 (Oregon)
us-west-2 (Oregon)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)

Region: EU

Geoinferenz-ID: eu.amazon.nova-pro-v1:0

Quellregion Zielregionen
eu-central-1 (Frankfurt)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-West-1 (Irland), EU-West-3 (Paris)
eu-nord-1 (Stockholm)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-West-1 (Irland), EU-West-3 (Paris)
eu-süd-1 (Mailand)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-West-1 (Irland), EU-West-3 (Paris)
eu-Süd-2 (Spanien)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-west-1 (Ireland)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-West-1 (Irland), EU-West-3 (Paris)
eu-west-3 (Paris)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-West-1 (Irland), EU-West-3 (Paris)
il-Central-1 (Tel Aviv)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-West-1 (Irland), EU-West-3 (Paris), IL-Central-1 (Tel Aviv)

Kontingente und Einschränkungen

Ihr AWS Konto verfügt über Standardkontingente, um die Leistung des Dienstes aufrechtzuerhalten und eine angemessene Nutzung von Amazon Bedrock sicherzustellen. Die einem Konto zugewiesenen Standardkontingente können je nach regionalen Faktoren, Zahlungsverlauf, betrügerischer Nutzung und and/or Genehmigung einer Anfrage zur Kontingenterhöhung aktualisiert werden. Weitere Informationen finden Sie in der Kontingente für Amazon Bedrock Dokumentation und in den Grenzwerten für das Modell.

Beispiel-Code

Schritt 1 — AWS Konto: Wenn Sie bereits ein AWS Konto haben, überspringen Sie diesen Schritt. Wenn Sie neu bei uns sind AWS, registrieren Sie sich für ein AWS-Konto.

Schritt 2 — API-Schlüssel: Gehen Sie zur Amazon Bedrock-Konsole und generieren Sie einen langfristigen API-Schlüssel.

Schritt 3 — Holen Sie sich das SDK: Um dieses Handbuch für die ersten Schritte verwenden zu können, muss Python bereits installiert sein. Installieren Sie dann die entsprechende Software je nach den von Ihnen verwendeten APIs.

pip install boto3

Schritt 4 — Umgebungsvariablen festlegen: Konfigurieren Sie Ihre Umgebung so, dass der API-Schlüssel für die Authentifizierung verwendet wird.

AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"

Schritt 5 — Führen Sie Ihre erste Inferenzanforderung aus: Speichern Sie die Datei unter bedrock-first-request.py

Invoke API
import json import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.invoke_model( modelId='amazon.nova-pro-v1:0', body=json.dumps({ 'messages': [{ 'role': 'user', 'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}] }], 'inferenceConfig': { 'maxTokens': 1024 } }) ) print(json.loads(response['body'].read()))
Converse API
import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.converse( modelId='amazon.nova-pro-v1:0', messages=[ { 'role': 'user', 'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}] } ] ) print(response)