View a markdown version of this page

Pegasus v1.2 - 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.

Pegasus v1.2

Symbol mit verzweigten Pfeilen, die für ein Workflow-Muster zum Zusammenführen oder Teilen stehen. TwelveLabs — Pegasus v1.2

Modelldetails

Pegasus v1.2 ist ein TwelveLabs Modell zur Generierung von Video zu Text, das detaillierte Beschreibungen, Zusammenfassungen und Antworten zu Videoinhalten erstellt. Weitere Informationen zur Modellentwicklung und Leistung finden Sie auf der Karte. model/service

Eingabemodalitäten Ausgabemodalitäten 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
Red circle with white X icon indicating error, cancel, or close action.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.TextRed circle with white X icon indicating error, cancel, or close action. Converse
Green circle with white checkmark icon.-VideoRed circle with white X icon indicating error, cancel, or close action.-Video

Fähigkeiten und Funktionen

Eigenschaften von Bedrock

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

Preisgestaltung

Die Preise finden Sie auf der Seite mit den Preisen von Amazon Bedrock.

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 Endpunkt-URL Geoinferenz-ID Globale Inferenz-ID
bedrock-runtime twelvelabs.pegasus-1-2-v1:0 https://bedrock-runtime.{region}.amazonaws.com

us.twelvelabs.pegasus-1-2-v1:0

eu.twelvelabs.pegasus-1-2-v1:0

global.twelvelabs.pegasus-1-2-v1:0

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

Dienststufen

Amazon Bedrock bietet mehrere Servicestufen, um Ihren Workload-Anforderungen gerecht zu werden. Standard bietet unverbindlichen Pay-per-Token-Zugriff. Priority bietet einen höheren Durchsatz mit einer zeitbasierten Verpflichtung. Flex bietet kostengünstigeren Zugriff für flexible, nicht zeitkritische Workloads. Reserved bietet einen dedizierten Durchsatz mit einer festen Laufzeit für vorhersehbare Workloads. Weitere Informationen finden Sie unter Servicestufen.

Standard Priorität Flex Reserviert
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. Red circle with white X icon indicating error, cancel, or close action.

Regionale Verfügbarkeit

Die regionale Verfügbarkeit auf einen Blick

Bedrock bietet drei Inferenzoptionen: Anfragen werden innerhalb einer einzigen Region In-Regionaufbewahrt, um die strikte Einhaltung der Vorschriften zu gewährleisten, geografische Cross-Region Routen zwischen Regionen innerhalb einer Region (USA, EU usw.) für einen höheren Durchsatz bei gleichzeitiger Wahrung der Datenresidenz und globale Cross-Region Routen überall auf der Welt für maximalen Durchsatz, wenn es keine lokalen Beschränkungen gibt. Weitere Informationen finden Sie auf der Regionale Verfügbarkeit nach Modellen Seite.

Region In-Region Geo Global
us-east-1(Nord-Virginia)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-east-2(Ohio)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-west-1(Nord-Kalifornien)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-west-2(Oregon)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
ca-central-1(Kanada)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ca-west-1(Calgary)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
eu-central-1(Frankfurt)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-central-2(Zürich)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-north-1(Stockholm)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-south-1(Mailand)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-south-2(Spanien)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-1(Irland)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-2(London)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-3(Paris)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
ap-east-2(Taipeh)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-1(Tokio)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-2(Seoul)Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-3(Ōsaka)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-south-1(Mumbai)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-south-2(Hyderabad)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-1(Singapur)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-2(Sydney)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-3(Jakarta)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-4(Melbourne)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-5(Malaysia)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-7(Thailand)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
il-central-1(Tel Aviv)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
me-central-1(VAE)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
me-south-1(Bahrain)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
af-south-1(Kapstadt)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
sa-east-1(São Paulo)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
mx-central-1(Mexiko)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.

Einzelheiten zur Geoinferenz

Geo: USA

Geo-Inferenz-ID: us.twelvelabs.pegasus-1-2-v1:0

Quellregion Zielregionen
us-east-1 (N. Virginia)us-east-1 (Nord-Virginia), us-east-2 (Ohio), US-West-1 (Nordkalifornien), US-West-2 (Oregon)
us-east-2 (Ohio)us-east-1 (Nord-Virginia), us-east-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-east-1 (Nord-Virginia), us-east-2 (Ohio), US-West-2 (Oregon)

Geo: EU

Geo-Inferenz-ID: eu.twelvelabs.pegasus-1-2-v1:0

Quellregion Zielregionen
eu-central-1 (Frankfurt)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-central-2 (Zürich)eu-central-1 (Frankfurt), eu-central-2 (Zürich), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-nord-1 (Stockholm)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-south-1 (Mailand)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-south-2 (Spanien)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-west-1 (Ireland)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-west-2 (London)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-2 (London), eu-west-3 (Paris)
eu-west-3 (Paris)eu-central-1 (Frankfurt), eu-nord-1 (Stockholm), eu-south-1 (Mailand), eu-south-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)

Einzelheiten zu globalen Schlussfolgerungen

Globale Inferenz-ID Amerika EMEA Asien-Pazifik
global.twelvelabs.pegasus-1-2-v 1:0
  • us-east-1 (N. Virginia)

  • us-east-2 (Ohio)

  • us-west-1 (Nordkalifornien)

  • us-west-2 (Oregon)

  • ca-central-1 (Kanada)

  • ca-west-1 (Calgary)

  • sa-east-1 (São Paulo)

  • mx-central-1 (Mexiko)

  • eu-central-1 (Frankfurt)

  • eu-central-2 (Zürich)

  • eu-nord-1 (Stockholm)

  • eu-south-1 (Mailand)

  • eu-south-2 (Spanien)

  • eu-west-1 (Ireland)

  • eu-west-2 (London)

  • eu-west-3 (Paris)

  • il-central-1 (Tel Aviv)

  • me-central-1 (Vereinigte Arabische Emirate)

  • me-south-1 (Bahrain)

  • af-south-1 (Kapstadt)

  • ap-east-2 (Taipeh)

  • ap-northeast-1 (Tokyo)

  • ap-northeast-2 (Seoul)

  • ap-northeast-3 (Osaka)

  • ap-south-1 (Mumbai)

  • ap-south-2 (Hyderabad)

  • ap-southeast-1 (Singapur)

  • ap-southeast-2 (Sydney)

  • ap-southeast-3 (Jakarta)

  • ap-southeast-4 (Melbourne)

  • ap-Southeast-5 (Malaysia)

  • ap-Southeast-7 (Thailand)

Kontingente und Einschränkungen

Ihr AWS-Konto verfügt über Standardkontingente, um die Leistung des Service 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 Erhöhung des Kontingents 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 AWS sind, registrieren Sie sich für ein AWS-Konto.

Schritt 2 — API-Schlüssel: Rufen Sie die Amazon Bedrock-Konsole auf 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 nachdem, welche APIs Sie verwenden.

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 Inferenzanfrage 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='twelvelabs.pegasus-1-2-v1:0', body=json.dumps({ 'inputPrompt': 'Tell me about this video', 'mediaSource': { 's3Location': { 'uri': 's3://your-bucket/your-video.mp4', 'bucketOwner': '123456789012' } }, 'maxOutputTokens': 4096 }) ) print(json.loads(response['body'].read()))