View a markdown version of this page

Pegasus v1.2 - Amazon Bedrock

As traduções são geradas por tradução automática. Em caso de conflito entre o conteúdo da tradução e da versão original em inglês, a versão em inglês prevalecerá.

Pegasus v1.2

Ícone mostrando setas ramificadas representando um padrão de fluxo de trabalho de mesclagem ou divisão. TwelveLabs — Pegasus v1.2

Detalhes do modelo

O Pegasus v1.2 é um TwelveLabs modelo de geração de vídeo para texto que produz descrições detalhadas, resumos e respostas sobre conteúdo de vídeo. Para obter mais informações sobre desenvolvimento e desempenho do modelo, consulte o model/service cartão.

  • Data de lançamento do modelo: 11 de fevereiro de 2025

  • Data EOL do modelo: N/A

  • Contratos de licença de usuário final e termos de uso: Visualizar

  • Ciclo de vida do modelo: Ativo

  • ID do produto do Marketplace: prod-635pcy5x5pc2a

Modalidades de entrada Modalidades de saída APIs suportadas Endpoints suportados
Red circle with white X icon indicating error, cancel, or close action.ÁudioRed circle with white X icon indicating error, cancel, or close action.IncorporaçãoRed 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.ImagemRed circle with white X icon indicating error, cancel, or close action.ImagemRed 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.DiscursoRed circle with white X icon indicating error, cancel, or close action.DiscursoGreen circle with white checkmark icon. Invoke
Green circle with white checkmark icon.TextoGreen circle with white checkmark icon.TextoRed circle with white X icon indicating error, cancel, or close action. Converse
Green circle with white checkmark icon.VídeoRed circle with white X icon indicating error, cancel, or close action.Vídeo
dica

Sempre que possível, recomendamos usar o bedrock-runtime endpoint para novos aplicativos. Para mais detalhes, consulte Endpoints compatíveis com o Amazon Bedrock.

Capacidades e características

Características do Bedrock

Recursos compatíveis com o uso do bedrock-runtime endpoint

Preços

Para obter informações sobre preços, consulte a página de preços do Amazon Bedrock.

Acesso programático

Use os seguintes IDs de modelo e URLs de endpoint para acessar esse modelo de forma programática. Para obter mais informações sobre as APIs e endpoints disponíveis, consulte APIs suportadas e Endpoints suportados.

Endpoint ID do modelo In-Region URL do endpoint ID de inferência geográfica ID de inferência global
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

Por exemplo, se a região for us-east-1 (Norte da Virgínia), a URL do endpoint bedrock-runtime será "" e para bedrock-mantle será https://bedrock-runtime.us-east-1.amazonaws.com "”. https://bedrock-mantle.us-east-1.api.aws/v1

Níveis de serviço

O Amazon Bedrock oferece vários níveis de serviço para atender às suas necessidades de carga de trabalho. O Standard fornece acesso pago por token sem compromisso (defina "service_tier": "default" ou omita o campo). O Priority oferece os tempos de resposta mais rápidos por um preço premium (conjunto"service_tier": "priority"). O Flex fornece acesso de baixo custo para cargas de trabalho flexíveis e não sensíveis ao tempo (conjunto). "service_tier": "flex" O Reserved fornece uma taxa de transferência dedicada com um compromisso de prazo para cargas de trabalho previsíveis; ela é definida no nível da conta e não por solicitação (entre em contato com sua equipe de contas da AWS para habilitar). Para obter mais informações, consulte os níveis bedrock/latest/userguide/service-tiers-inference.html de serviço.

Padrão Priority Flexionar Reservado
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.

Disponibilidade regional

Visão geral da disponibilidade regional

O Amazon Bedrock oferece três opções de inferência: In-Region mantém as solicitações em uma única região para conformidade estrita, Cross-Region rotas geográficas entre regiões dentro de uma geografia (como EUA, UE e APAC), respeitando a residência de dados, e Cross-Region rotas globais em qualquer lugar do mundo, quando não há restrições de residência. Consulte a Disponibilidade regional por modelos página para obter mais detalhes.

Região In-Region Geo Global
us-east-1(Norte da Virgínia)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(Norte da Califórnia)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(Canadá)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(Zurique)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(Estocolmo)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(Milão)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(Espanha)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(Irlanda)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(Londres)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(Taipé)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(Tóquio)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(Seul)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(Osaka)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(Cingapura)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(Sidney)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(Jacarta)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(Malásia)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(Tailândia)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(Telavive)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(EMIRADOS ÁRABES UNIDOS)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(Bahrein)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(Cidade do Cabo)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(México)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.

Detalhes da inferência geográfica

Geolocalização: EUA

ID de inferência geográfica: us.twelvelabs.pegasus-1-2-v1:0

Região de origem Regiões de destino
us-east-1 (N. Virginia)us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-1 (Norte da Califórnia), us-west-2 (Oregon)
us-east-2 (Ohio)us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon)
us-west-1 (Norte da Califórnia)us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-1 (Norte da Califórnia), us-west-2 (Oregon)
us-west-2 (Oregon)us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon)

Geolocalização: UE

ID de inferência geográfica: eu.twelvelabs.pegasus-1-2-v1:0

Região de origem Regiões de destino
eu-central-1 (Frankfurt)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)
eu-central-2 (Zurique)eu-central-1 (Frankfurt), eu-central-2 (Zurique), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), eu-oeste-1 (Irlanda), eu-oeste-3 (Paris)
eu-north-1 (Estocolmo)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)
eu-south-1 (Milão)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)
eu-south-2 (Espanha)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)
eu-west-1 (Irlanda)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)
eu-west-2 (Londres)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-2 (Londres), eu-oeste-3 (Paris)
eu-west-3 (Paris)eu-central-1 (Frankfurt), ue-norte-1 (Estocolmo), ue-sul-1 (Milão), ue-sul-2 (Espanha), ue-oeste-1 (Irlanda), ue-oeste-3 (Paris)

Detalhes da inferência global

ID de inferência global Américas EMEA Ásia-Pacífico
global.twelvelabs.pegasus-1-2-v 1:0
  • us-east-1 (N. Virginia)

  • us-east-2 (Ohio)

  • us-west-1 (Norte da Califórnia)

  • us-west-2 (Oregon)

  • ca-central-1 (Canadá)

  • ca-west-1 (Calgary)

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

  • mx-central-1 (México)

  • eu-central-1 (Frankfurt)

  • eu-central-2 (Zurique)

  • eu-north-1 (Estocolmo)

  • eu-south-1 (Milão)

  • eu-south-2 (Espanha)

  • eu-west-1 (Irlanda)

  • eu-west-2 (Londres)

  • eu-west-3 (Paris)

  • il-central-1 (Tel Aviv)

  • me-central-1 (Emirados Árabes Unidos)

  • me-south-1 (Bahrein)

  • af-south-1 (Cidade do Cabo)

  • ap-east-2 (Taipé)

  • ap-northeast-1 (Tóquio)

  • ap-northeast-2 (Seul)

  • ap-northeast-3 (Osaka)

  • ap-south-1 (Mumbai)

  • ap-south-2 (Hyderabad)

  • ap-southeast-1 (Singapura)

  • ap-southeast-2 (Sydney)

  • ap-southeast-3 (Jacarta)

  • Alto-sudeste-4 (Melbourne)

  • ap-southeast-5 (Malásia)

  • ap-southeast-7 (Tailândia)

Cotas e limites

Sua AWS conta tem cotas padrão para manter o desempenho do serviço e garantir o uso adequado do Amazon Bedrock. As cotas padrão atribuídas a uma conta podem ser atualizadas dependendo de fatores regionais, histórico de pagamentos, uso fraudulento e and/or aprovação de uma solicitação de aumento de cota. Para obter mais informações, consulte a Cotas do Amazon Bedrock documentação e os limites do modelo.

Código de exemplo

Etapa 1 - AWS Conta: Se você já tem uma AWS conta, pule esta etapa. Se você não conhece AWS, cadastre-se em uma conta da AWS.

Etapa 2 - Chave de API: acesse o console do Amazon Bedrock e gere uma chave de API de longo prazo.

Etapa 3 - Obtenha o SDK: para usar este guia de introdução, você deve ter o Python já instalado. Em seguida, instale o software relevante, dependendo das APIs que você está usando.

pip install boto3

Etapa 4 - Definir variáveis de ambiente: configure seu ambiente para usar a chave de API para autenticação.

AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"

Etapa 5 - Execute sua primeira solicitação de inferência: salve o arquivo como 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()))