TwelveLabs Pegasus 1.5 on Amazon Bedrock: Video Understanding API, Timestamped Segments, Limits, Pricing, and Pegasus vs Marengo
TwelveLabs Pegasus 1.5 is a video language model, now available in Amazon Bedrock, that watches a video and answers in text: summaries, answers to questions, and, new in 1.5, timestamped segments returned as JSON (every goal in a match, every topic change in a news broadcast, every scene with a product on screen). It takes videos up to 2 hours long (double Pegasus 1.2's 1 hour), up to 2 GB from Amazon S3 or 25 MB sent inline as base64, and up to 30 reference images per request, with no indexing step first. In Bedrock its model ID is twelvelabs.pegasus-1-5-v1:0, available in US West (Oregon), with global. and us. cross-Region inference profiles; you call it with InvokeModel or the streaming version. It is billed through AWS Marketplace, metered by input video seconds and output tokens, so charges show under TwelveLabs on your AWS bill. Its sibling, Marengo, does something different: it turns video into embeddings for search. Below: what Pegasus 1.5 can do, a working Python call, the time-based metadata mode, every limit, cost, Pegasus vs Marengo, and the errors you are likely to hit.
The shop records its how-to videos for customers, and over two years they had built up hours of footage nobody could search. Jake's question was simple: "Which video shows how to reset the router?" Answering it meant watching. Ethan pointed Pegasus 1.5 at one of the longer recordings with a plain request: list every section where a device is being reset, with start and end times. The answer came back as a short JSON list with timestamps. It was the first time anyone had searched the shop's videos without pressing play.
New to Amazon Bedrock? The cards below cover Bedrock pricing, inference profiles and how Bedrock compares with Google's platform.
Video AI terms in plain English
A few words come up again and again on this page; here is what they mean:
- Video language model: an AI model that watches video (pictures, sound and on-screen text) and writes about it in words, the way a chat model writes about text.
- Segment: a stretch of the video with a start and an end time, such as "4:20 to 5:05: router reset".
- Time-based metadata: the list of segments, with details about each, that Pegasus 1.5 can produce in one pass.
- Embedding: a list of numbers that captures what a piece of content is about, used to search by meaning; this is what Marengo produces.
- Inference profile: an ID that tells Bedrock where it may run your request (one Region, US Regions, or worldwide).
- Base64: a way of turning a file into text so it can travel inside a request; fine for small clips, while larger videos are read from S3 instead.
- Output tokens: the pieces of text the model writes; you pay for them along with the seconds of video it watches.
What Pegasus 1.5 does
TwelveLabs builds models that understand video the way a person watching it would: what is on screen, what is said, what text appears, and when each thing happens. Pegasus is their generative model; you give it a video and an instruction, and it writes the answer. It understands the visual track, the audio and on-screen text together, so "when does the presenter mention the warranty?" works even if the word only appears in speech.
What Pegasus 1.5 adds over 1.2:
- Time-based metadata: describe the moments you care about (for example "a goal is scored" or "a product is shown close up"), and it returns each matching segment with start and end times and the fields you asked for, as JSON.
- Reference images: include up to 30 images with the request, such as a logo or a person's photo, and ask about where they appear.
- No ingestion step: the video is processed on the fly; you do not upload it to an index first.
- Video segmentation across the whole timeline.
- Longer videos: up to 2 hours per request, from 1 hour.
It keeps what earlier versions did: summaries, open questions about the content, reading objects, numbers and on-screen text, and finding when things happen. English has full support; Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Thai and Vietnamese have partial support.
Jake: "So it doesn't just describe the video, it tells you where in the video?"
Ethan: "That's the new part. Start time, end time, and whatever details you asked for, for every match."
Calling Pegasus 1.5 from Python
Getting from nothing to a first answer takes four steps:
- Upload the video to an S3 bucket in US West (Oregon), the Region where the model runs.
- Check permissions: your user or role needs
bedrock:InvokeModeland read access to that object (details below). - Install or update boto3 (
pip install -U boto3), so the client knows the current Bedrock runtime API. - Send one request with the video's location and your instruction:
import json
import boto3
from botocore.config import Config
# Long videos take a while: give the client a long read timeout
brt = boto3.client("bedrock-runtime", region_name="us-west-2",
config=Config(read_timeout=900))
body = {
"inputPrompt": "Summarize this video in five bullet points, then list the products shown.",
"mediaSource": {
"s3Location": {
"uri": "s3://shop-videos/howto/router-reset.mp4",
"bucketOwner": "111122223333"
}
},
"temperature": 0.2,
"maxOutputTokens": 2048
}
resp = brt.invoke_model(
modelId="global.twelvelabs.pegasus-1-5-v1:0",
body=json.JSONEncoder().encode(body),
contentType="application/json",
accept="application/json",
)
result = json.loads(resp["body"].read())
print(result["message"])
A few details that matter:
- Model ID or profile:
twelvelabs.pegasus-1-5-v1:0calls the model in its Region;global.twelvelabs.pegasus-1-5-v1:0uses the global cross-Region profile, andus.keeps processing within US Regions. If you see "on-demand throughput isn't supported", use a profile ID; our guide to that error explains why. - Inline video: instead of
s3Location, send"base64String": "..."for files up to 25 MB. - Streaming:
invoke_model_with_response_streamreturns the answer in chunks as it is written, useful for long summaries; our Bedrock streaming guide shows how to read the stream. - Usage: the response includes token counts and a stop reason; add
"includeMetering": trueto also get the billed video seconds.
The request fields at a glance:
| Field | What it does | Values |
|---|---|---|
inputPrompt | Your question or instruction | Text |
mediaSource | The video | S3 location (URI + bucket owner) or base64 string |
temperature | Randomness of the wording | 0 to 1, default 0.2 |
maxOutputTokens | Longest answer allowed | 512 to 98,304 |
responseFormat | A JSON Schema for structured answers, or segment definitions | Object |
analysisMode | Normal answer or timestamped segments | general (default) or time_based_metadata |
includeMetering | Return billed output tokens and input video seconds | true / false |
Time-based metadata: timestamped segments as JSON
This is the feature that makes 1.5 worth a look for archives. Set analysisMode to time_based_metadata and describe, in responseFormat, the kinds of segment you want. Each segment definition has:
- an id, such as
device_reset, which comes back on each match so you know which definition it fits; - a description in plain words: "the presenter resets a router or modem";
- fields you want filled in for each match, each with a name, a type and a description, for example
device_model(string) orsteps_shown(number); - a time format for the start and end: seconds,
hh:mm:ssorhh:mm:ss.fff.
The answer is a segments list: for every match, the start and end time, your fields, and the definition id it matched, plus a definition_errors list if any definition could not be applied. Long videos in this mode can take minutes, which is why the example sets a 900-second read timeout.
Practical tips for good segments:
- Describe what is visible or audible, not what you hope it means: "a person points at a red error light" works better than "a troubleshooting moment".
- Keep fields few and concrete; three well-described fields beat ten vague ones.
- Use several definitions in one call rather than one call per definition, since the video is processed once.
- Test on a short clip first, check the timestamps by eye, then run your archive.
- Store the JSON with the video's S3 key, so your website or search tool can jump straight to each segment.
Jake: "So I could get a list of every router reset across all our videos?"
Ethan: "One call per video, the same definitions each time, and the results go into a table we can search."
Segment definitions you can adapt
Good definitions are concrete and observable. Three sets that work as starting points, written the way you would describe them in the request:
- Support and how-to videos: "device_reset: a person presses or holds a reset button, or says they are resetting a device", with fields for the device model and whether the reset succeeded on screen; "cable_connection: a cable is plugged into a port, shown close up", with the port type; "settings_screen: a settings or configuration page is visible on a computer or phone", with the page title read from the screen.
- Meetings and webinars: "topic_change: the speaker introduces a new subject or a new slide title appears", with the topic in a few words; "question_from_audience: someone other than the presenter asks a question", with a one-line summary; "action_item: someone commits to doing something", with the owner and the task.
- Product and marketing footage: "product_closeup: a product fills most of the frame", with the product name if a reference image matches; "logo_visible: a brand logo is clearly visible", with which logo, using reference images for the ones you care about.
Start with two or three definitions, test them on a short clip, and add more once the first ones return clean segments. Each definition costs nothing extra in video seconds when it rides in the same request, so a well-built set turns one pass over the archive into several catalogs at once.
Structured answers in general mode
Time-based mode is for moments; general mode with a JSON Schema is for facts about the whole video. Pass a schema in responseFormat describing the object you want back, such as a title, a three-sentence summary, a list of products shown, and the overall topic, and the answer arrives in that shape, ready to store. Two habits keep it robust: describe every field in the schema, as you would for a person, and validate the result in code before saving, since any model can occasionally return a field empty or in the wrong form. For the shop, one schema produced the title, summary and product list for every how-to video's web page, so the support site's video pages now write themselves.
Pegasus 1.2 vs 1.5: upgrading
Pegasus 1.2 has been on Bedrock since 2025, and existing applications may still call it. The case for moving to 1.5:
- Twice the length: two hours per request instead of one, so fewer split files.
- Timestamped segments as JSON, which 1.2 does not offer in the same structured way.
- Reference images, up to 30 per request, for finding specific products, people or logos.
- No ingestion step, so a new video can be analyzed as soon as it lands in S3.
The switch itself is a model ID change, but prompts tuned for 1.2 may behave differently, so run your usual requests on a sample of videos with both versions and compare before moving everything. Check the price per video second for each version as well; a newer model is not always the same price, and for simple summaries the older one may still be enough.
Pegasus 1.5 limits
| Limit | Pegasus 1.5 |
|---|---|
| Video length | Up to 2 hours per request |
| File size | Up to 2 GB from S3; up to 25 MB inline (base64) |
| Resolution | 360×360 to 5184×2160 |
| Aspect ratio | 1:1 to 2.4:1 (or the inverse, for vertical video) |
| Formats | Anything FFmpeg can read |
| Reference images | Up to 30 per request |
| Output length | 512 to 98,304 tokens (maxOutputTokens) |
| Region | US West (Oregon), plus global and US cross-Region profiles |
Videos longer than 2 hours or bigger than 2 GB need splitting first (FFmpeg can cut by time without re-encoding), and you then adjust the timestamps of later parts by each part's start offset.
In practice the size limit bites before the length limit for high-quality recordings: two hours of 4K footage is far more than 2 GB, while two hours of 1080p screen recording at a sensible bitrate fits easily. Since Pegasus understands content, not pixels, a re-encoded 1080p copy made for analysis gives the same answers as the original at a fraction of the size, and it uploads faster too. The next section shows the commands.
Preparing videos: trim, split and compress
A few minutes of preparation saves both money (you pay per second of video) and failed requests. FFmpeg, a free tool for Windows, Mac and Linux, does all of it:
# cut away a 45-second intro and keep the rest, without re-encoding (fast) ffmpeg -ss 00:00:45 -i router-reset.mp4 -c copy router-reset-trimmed.mp4 # split a 3-hour recording into parts under 2 hours ffmpeg -i workshop.mp4 -t 01:55:00 -c copy part1.mp4 ffmpeg -ss 01:55:00 -i workshop.mp4 -c copy part2.mp4 # make a smaller 1080p analysis copy of a 4K file ffmpeg -i shoot-4k.mp4 -vf scale=-2:1080 -c:v libx264 -crf 28 -c:a aac -b:a 96k shoot-1080p.mp4
- Trim intros, outros and dead air: every second you remove is a second you do not pay for, and the model has less noise to read.
- Split long recordings at natural breaks if you can (a pause, a slide change), and record each part's start time so you can add it to the segment times Pegasus returns for that part.
- Compress for analysis: keep the original for viewers, and send a smaller copy to Pegasus. A
-crfaround 28 keeps text on screen readable while cutting size sharply. - Keep audio: speech is part of what Pegasus understands, so do not strip the soundtrack to save space.
On Windows, FFmpeg runs from PowerShell once its folder is on your PATH; the commands are identical. For a folder of files, a short PowerShell loop over Get-ChildItem *.mp4 applies the same command to each.
Jake: "Our workshop recordings are three hours."
Ethan: "Split at the coffee break, note that part two starts at 1:55, and add that to every timestamp from part two."
Access, permissions and API keys
- IAM permissions:
bedrock:InvokeModelandbedrock:InvokeModelWithResponseStreamon the model or inference profile, pluss3:GetObjecton the video, for the identity that calls it. - Bedrock API keys also work: set the key in
AWS_BEARER_TOKEN_BEDROCK; the key's identity needsbedrock:CallWithBearerTokentoo. - Marketplace subscription: Pegasus is a third-party model sold through AWS Marketplace, so the first use in an account involves a Marketplace subscription, and whoever triggers it needs the Marketplace subscribe permissions; afterwards ordinary Bedrock permissions are enough.
- Cost tracking per project: create an application inference profile for the model and call it by ARN; our application inference profile guide covers tagging and budgets.
A least-privilege setup for an archive job looks like this: one IAM role for the worker that runs the job, allowed to invoke only the Pegasus model or profile it uses, to read only the video prefix in the archive bucket, and to write only to the results prefix. Keep the Marketplace subscription step with an administrator, done once, rather than giving the worker role Marketplace permissions it never needs again. If several teams use Pegasus, an application inference profile per team, each with its own tags, splits the TwelveLabs line on the bill by team without any extra accounting work.
Cross-Region profiles deserve one thought before you use them: global. may process requests in any supported Region worldwide, and us. keeps them within US Regions. If your footage includes people or customer data with rules about where it is processed, pick the profile that matches those rules.
What Pegasus 1.5 costs
Pegasus 1.5 is billed through AWS Marketplace, so its charges appear on your normal AWS bill, and in Cost Explorer, under TwelveLabs rather than Amazon Bedrock. Usage is metered by the seconds of video you send and the output tokens it writes; the current rates are on the Bedrock pricing page under TwelveLabs. Some practical points:
- Video length drives the bill, so trim intros, outros and dead air before sending, and use segment definitions to get several answers from one pass rather than calling once per question.
- Set
includeMeteringon test runs to see exactly how many video seconds and output tokens each kind of request uses, then multiply by your archive size before committing. - S3 storage for the videos is billed separately, as usual.
Our Bedrock pricing guide covers the other Bedrock cost levers, from batch jobs to caching.
Estimate an archive before you run it. A reliable estimate takes an hour:
- Pick ten videos that represent the archive: short and long, talking heads and busy screen recordings.
- Run your real request on each, with the segment definitions you plan to use and
includeMeteringon. - Record the billed video seconds and output tokens for each, and work out the cost per minute of video at the current TwelveLabs rates for your Region.
- Multiply by the archive's total minutes (after trimming), and add 20% for retries and re-runs while you tune definitions.
Two things usually move the total most: how much dead air you trim before sending, and whether you get everything you need in one pass. Asking three separate questions of the same video bills its seconds three times; one request with three segment definitions bills them once.
Pegasus vs Marengo
TwelveLabs has two model families, and they do different jobs:
- Pegasus is generative: it reads a video and writes text (summaries, answers, timestamped segments). You ask; it answers about one video at a time.
- Marengo is an embedding model: it turns video, audio, images and text into vectors, so you can search a large library by meaning ("scenes of a red car at night") and find matching clips across thousands of videos.
They work well together: Marengo finds the right videos or clips in a big archive; Pegasus then explains or extracts details from the ones you found. For a small archive where you already know which video to look at, Pegasus alone is enough. If you are building search over text instead of video, our Titan Text Embeddings guide covers the text side.
From a folder of videos to a searchable help page
The shop's project, end to end, is a pattern any small business with a video library can copy in a weekend:
- Gather and trim: copy the how-to videos into one folder, trim the intros with FFmpeg, and upload them to an S3 bucket in US West (Oregon), one prefix per category.
- Write three definitions that match what customers ask about (resets, cable connections, settings screens), and test them on the two shortest videos.
- Run the batch with a simple script that loops over the bucket, calls Pegasus with the same definitions, and saves each answer as a JSON file next to the video.
- Turn the JSON into a table: one row per segment, with video name, start time, end time and description. A spreadsheet is fine at this size.
- Publish: each row becomes a help-site link that opens the video at its start time.
- Keep it current: new recordings go through the same script when they are uploaded.
For about a hundred short videos, the whole run was cheap enough to repeat after improving the definitions, and the biggest time cost was the first afternoon of writing and testing descriptions. Customers now find "how do I reset the router?" by searching the help page, and the phone rings less for it. The same table also shows which topics have no video at all, which told the shop exactly which three how-to videos to record next, a useful side effect nobody had planned for, and one the team now checks again every quarter.
Pegasus and the other ways to analyze video on AWS
Pegasus is not the only AWS tool that understands video, and the right one depends on the question you are asking:
| Tool | What it gives you | Best for |
|---|---|---|
| TwelveLabs Pegasus 1.5 | Answers, summaries and custom timestamped segments in your own words | Open-ended questions and custom catalogs of moments |
| TwelveLabs Marengo | Embeddings for search by meaning | Finding clips across a large library |
| Bedrock Data Automation (video) | Standard output: summary, chapters, transcript, text on screen; custom fields with a blueprint | A fixed, repeatable set of outputs for every video, priced per minute |
| Amazon Rekognition Video | Labels, faces, text, content moderation, shot and technical-cue detection | Precise detection of known things, at scale |
| Amazon Transcribe plus a text model | A transcript, then text analysis | Talk-heavy videos where the picture adds little |
A useful rule: if you can write down the exact fields you want for every video, Bedrock Data Automation's fixed outputs or a blueprint may be simpler and cheaper; if your questions change from video to video, or you need moments described in your own terms, Pegasus fits better. For talking-head content (webinars, lectures), a transcript and a cheap text model often answer most questions for less. And for spotting specific known things (a logo, unsafe content, scene cuts), Rekognition is precise and built for volume. Our Bedrock Data Automation guide covers the per-minute option in detail.
Writing instructions that work on video
Video adds a dimension that text prompts do not have: time. Instructions that account for it get much better answers:
- Say what to look and listen for: "when the presenter says the word warranty or a warranty card is shown" beats "warranty information".
- Ask for times explicitly in general mode if you want them: "give the start time of each step in mm:ss".
- Name the format: bullet points, a table, or a JSON Schema in
responseFormat, so the answer drops straight into your tools. - Use reference images for specific things: a photo of the product or the logo is more reliable than describing it in words.
- Keep temperature low (the default 0.2 is sensible) for factual extraction; raise it only for creative writing such as marketing descriptions.
- Ask for evidence: "for each item, say what is seen or heard that supports it", which makes spot-checking faster and discourages guesses.
Jake: "It said the router reset starts at 4:10, but it's really 4:20."
Ethan: "Close is normal. Ask it what it saw at that moment; usually it's when the presenter starts talking about the reset, not pressing the button."
Processing a whole video archive
Running Pegasus over hundreds or thousands of videos is a batch job, and it needs a little structure so it survives errors and does not run twice:
- List the work: an S3 Inventory report or a listing of the video prefix, written to a queue (Amazon SQS) with one message per video.
- Run workers that can wait: each Pegasus call on a long video can take minutes, longer than suits a short-lived function, so run the calls from a container task (ECS on Fargate) or a small EC2 instance that reads from the queue.
- Control concurrency: start with a few workers, and add more only while throttling stays rare; Bedrock quotas apply per account and Region.
- Make each video idempotent: write the result to a predictable key (for example
results/howto/router-reset.json) and skip videos whose result already exists, so a restart does not pay twice. - Record failures: messages that fail repeatedly go to a dead-letter queue, with the error, for a person to look at.
- Load the results into a searchable store: a DynamoDB table or a search index keyed by video and segment.
For new videos after the backfill, an S3 event on upload sends each new file to the same queue, so the archive stays current without another big job. Keep the segment definitions in one versioned file; when you change them, you can decide deliberately whether to re-run old videos or only apply the new ones going forward.
Turning segments into "jump to" links
The point of timestamps is to send people straight to the moment. Once the JSON is stored, building links is simple:
- Your own player: HTML5 video supports a time fragment, so a link to
router-reset.mp4#t=260starts playback at 4:20; a small script can also setvideo.currentTimewhen a chapter is clicked. - YouTube: links accept a start time, such as
?t=260, if your videos are published there. - Chapters: many players and video platforms build chapters from a list of start times and titles, which you can generate from the segments.
- Search: store segment text and times in a search index, so a customer's query returns "Router reset, 4:20 in How to set up your router" as a clickable result.
Round start times down by a couple of seconds when building links, so viewers land just before the moment rather than in the middle of it.
When the sound matters more than the picture
Many business videos are mostly talk: webinars, interviews, recorded calls with a shared screen. Pegasus uses the audio, so it handles these, but a few habits help:
- Clear audio beats high resolution: a recording with a good microphone and a 720p picture gives better answers than a 4K picture with an echoing room.
- Name the speakers in the prompt if you know them ("the presenter is Ethan; the customer asks the questions"), so answers attribute statements correctly.
- Ask for quotes when exact wording matters, and check them, since paraphrase is the model's default.
- Consider a transcript-first route for very long talk-only recordings: Amazon Transcribe produces the text, and a text model answers questions about it, often for less than video analysis of the same length.
Use Pegasus where the picture adds something the words do not: a demonstration, a screen being clicked through, a product being handled.
Checking the output before you trust it
Pegasus is good, but any model reading video can miss a moment, merge two, or place a boundary a few seconds off. A light review process keeps an archive trustworthy:
- Spot-check a sample: for every new set of definitions, check ten segments by eye, and adjust the descriptions where they drift.
- Look at definition errors: the response lists definitions it could not apply; they usually mean the description was too vague or contradicted the fields.
- Flag low-evidence answers: if you asked for evidence, segments with thin evidence are the ones to review first.
- Keep humans on sensitive decisions: brand safety, compliance and anything about people should be reviewed, with Pegasus doing the first pass.
Privacy, consent and sensitive footage
Video often shows people, homes, screens and documents, so treat it with care. Bedrock does not share your prompts and media with the model provider or use them to train models, and the video stays in your S3 bucket, read at request time. That covers the provider side; the rest is yours:
- Consent: make sure the people in recordings agreed to them being recorded and processed, especially customers and staff.
- Location: choose the inference profile (in-Region,
us.orglobal.) that matches where your rules allow processing. - Minimize: crop or blur screens with customer data before analysis if the question does not need them.
- Retention: keep the extracted JSON as long as you need it, and set lifecycle rules for analysis copies of videos.
What people use it for
- News and broadcast archives: catalog every editorial segment, topic and speaker change, so producers can find footage in seconds.
- Sports: find plays and scoring moments to cut highlights automatically.
- Streaming apps: recommendations by moment rather than by title, ad placement that fits the scene, and segment-level brand-safety checks.
- Training and support videos, like the shop's: chapters, step lists and "jump to the part where" links generated from existing recordings.
- Compliance review: flag segments where a logo, a person or a sensitive topic appears, for a human to check.
- Education: chapter lecture recordings, list the examples worked on the board, and pull out definitions students can jump to before an exam.
- Retail and e-commerce: tag product videos by which items appear and when, so shoppers can click from a product page straight to the moment it is demonstrated.
The common thread is turning hours of footage that people would have to watch into a list they can search or click. Wherever someone currently scrubs through a video to find a moment, Pegasus can usually do the finding first, and a person can confirm.
For monitoring in production, Bedrock publishes the usual CloudWatch metrics for the model (invocations, output tokens, latency and client errors) in the AWS/Bedrock namespace.
Monitoring, quotas and running it reliably
- Watch latency and throttles: alarms on invocation latency and on throttled invocations for the model ID show when an archive job is pushing too hard or the service is busy.
- Know your quotas: Bedrock limits requests per minute per model and account, visible in Service Quotas. For a large backfill, request an increase in advance rather than discovering the limit halfway through.
- Retry with backoff: throttling and occasional service errors are normal at volume; a worker that waits and retries a few times, then sends the video to a dead-letter queue, keeps the job moving.
- Log the metering: storing the billed video seconds and output tokens returned with each result gives you a per-video cost record you can sum by project or month.
Jake: "The overnight job stopped at video 140."
Ethan: "Throttled, then no retry. The worker now backs off and tries again, and the six that still fail go to a queue for us to check."
Common errors with Pegasus on Bedrock
- AccessDeniedException: missing
bedrock:InvokeModelon the model or profile ARN, or the Marketplace subscription step has not completed. - "on-demand throughput isn't supported": call the
global.orus.inference profile ID instead of the bare model ID. - ValidationException about the media: the video is over 2 hours or 2 GB, the base64 payload is over 25 MB, or the resolution or aspect ratio is outside the limits.
- S3 access errors: the bucket owner account in the request is wrong, or the caller cannot read the object; keep the bucket in the same Region.
- Read timeout in your code: long videos, especially in time-based mode, take minutes; raise the client's read timeout (900 seconds in the example) or stream the response.
- ThrottlingException: too many concurrent requests; retry with backoff, or spread an archive job over time.
Frequently asked questions
What is TwelveLabs Pegasus 1.5?
A video language model that watches a video and answers in text or timestamped JSON, available in Amazon Bedrock.
What is new in Pegasus 1.5?
Timestamped segment output, reference images, on-the-fly processing with no indexing, segmentation, and videos up to 2 hours instead of 1.
What is the Pegasus 1.5 model ID in Bedrock?
twelvelabs.pegasus-1-5-v1:0, or the global.twelvelabs.pegasus-1-5-v1:0 and us. cross-Region inference profiles.
Which Region is Pegasus 1.5 in?
US West (Oregon), us-west-2, with global and US cross-Region inference profiles.
How long can the video be?
Up to 2 hours per request, and up to 2 GB from S3 or 25 MB inline as base64.
How much does Pegasus 1.5 cost?
It is billed through AWS Marketplace by input video seconds and output tokens; current rates are on the Bedrock pricing page under TwelveLabs.
What is the difference between Pegasus and Marengo?
Pegasus writes text about a video; Marengo creates embeddings for searching across many videos by meaning.
Can Pegasus 1.5 return JSON?
Yes. Pass a JSON Schema in responseFormat for structured answers, or segment definitions in time-based metadata mode.
What is time-based metadata mode?
A mode where you describe kinds of moments, and Pegasus returns each matching segment with start and end times and the fields you asked for.
Does Pegasus understand speech in the video?
Yes. It uses the visual track, audio and on-screen text together.
Which languages does Pegasus 1.5 support?
English fully, and Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Thai and Vietnamese partially.
Can I stream the Pegasus response?
Yes, with InvokeModelWithResponseStream.
What permissions do I need to call Pegasus on Bedrock?
bedrock:InvokeModel (and the streaming action), read access to the video in S3, and a Marketplace subscription on first use.
Can I use a Bedrock API key with Pegasus?
Yes. Set it in AWS_BEARER_TOKEN_BEDROCK; the identity also needs bedrock:CallWithBearerToken.
What video formats does Pegasus accept?
Any format FFmpeg can read, from 360x360 up to 5184x2160, with aspect ratios from 1:1 to 2.4:1.
Why does my Pegasus call time out?
Long videos take minutes; raise your SDK client's read timeout or use the streaming API.
Do I need to index videos before using Pegasus 1.5?
No. Version 1.5 processes each video on the fly; there is no separate ingestion step.
How do I check that Pegasus found every moment?
Spot-check a sample by eye, read the definition errors in the response, and refine vague descriptions before running the whole archive.
What are common uses of Pegasus 1.5?
Chaptering training and support videos, cataloging news and sports archives, product tagging for shops, compliance flags for review, and lecture indexing.
Is Pegasus good for webinars and talk-heavy videos?
Yes, it uses the audio, but for long talk-only recordings a transcript plus a text model can cost less; use Pegasus where the picture matters.
What is a video language model?
An AI model that watches video, including its sound and on-screen text, and writes about it in words, such as summaries, answers or lists of moments.
Can a small business use Pegasus without a developer?
The calls need a short script, but the workflow is simple: trim videos, upload to S3, run the same request on each, and turn the JSON into a table of links.
Can Pegasus fill in a fixed set of fields for every video?
Yes. In general mode, pass a JSON Schema in responseFormat, such as title, summary and products shown, and validate the result before saving.
Should I upgrade from Pegasus 1.2 to 1.5?
Usually yes, for 2-hour videos, timestamped JSON segments and reference images; compare your prompts and the price per video second on a sample first.
What are good Pegasus segment definitions?
Concrete, observable descriptions such as "a person presses a reset button", with a few clearly described fields, tried out on a short clip first.
How do I avoid throttling in a Pegasus archive job?
Start with few workers, retry with backoff, send repeated failures to a dead-letter queue, and request a higher Bedrock quota before large backfills.
How do I send a video longer than 2 hours to Pegasus?
Split it with FFmpeg into parts under 2 hours, record each part's start time, and add that offset to the timestamps returned for that part.
How do I reduce Pegasus costs?
Trim intros and dead air, send compressed analysis copies, and get several answers in one request with multiple segment definitions.
Should I use Pegasus or Bedrock Data Automation for video?
Bedrock Data Automation for a fixed set of outputs on every video; Pegasus for open questions and custom timestamped moments.
Is Pegasus better than Amazon Rekognition Video?
They do different jobs: Rekognition detects known things such as labels, faces and text precisely at scale; Pegasus answers open questions about content.
How do I process thousands of videos with Pegasus?
Queue one message per video, run workers on ECS or EC2 that can wait minutes per call, skip videos already processed, and send failures to a dead-letter queue.
How do I make "jump to" links from Pegasus timestamps?
Use the HTML5 video time fragment such as #t=260, YouTube's ?t= parameter, or build player chapters from the segment start times.
Does Bedrock share my videos with TwelveLabs?
Bedrock does not share prompts and media with model providers or use them for training; the video stays in your S3 bucket.
How accurate are Pegasus timestamps?
Usually within a few seconds; spot-check a sample, ask for evidence, and round link times down slightly so viewers land just before the moment.
Can I estimate Pegasus cost for an archive?
Yes. Run ten representative videos with includeMetering, compute cost per minute, multiply by the trimmed archive length, and add a margin.
For readers preparing for an AWS certification
We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.
Exams that test this topic: AI Practitioner (AIF-C01) • AI Business Strategist (AIB-C01) • Cloud Practitioner.
Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:
1. A media company wants to generate summaries and timestamped metadata from long videos using a managed foundation model on AWS. Which service?
Amazon Bedrock, with a video understanding model such as TwelveLabs Pegasus.
2. What is the difference between a generative model and an embedding model?
A generative model produces new content such as text; an embedding model turns content into vectors for search and similarity.
3. Which Bedrock feature routes requests across Regions to increase throughput?
Cross-Region inference profiles (for example the global. or us. profile IDs).
4. How are third-party models such as TwelveLabs Pegasus billed when used through Bedrock?
Through AWS Marketplace, appearing on the AWS bill under the model provider.
5. Which API returns a model response in chunks as it is generated?
InvokeModelWithResponseStream (or ConverseStream).
6. How can you track Bedrock model costs per project?
With an application inference profile tagged for that project.
7. Which AWS service stores the videos a Bedrock video model reads by URI?
Amazon S3.
Exam codes and dates change often. Our AWS certification changes page and our guide to the AI Business Strategist exam keep track of what is current.
The shop's video library now has chapters: a nightly job sends each new recording to Pegasus with the same three segment definitions (device resets, cable connections, and settings screens), stores the JSON beside the video, and the support page now has "jump to" links. Jake no longer answers "which video shows..." by watching. Ethan's rule for the project: test every new definition on one short clip first, because a vague description returns vague segments.
The next step is already planned. The workshop recordings, split at the coffee break, go through the same job with a meeting-style set of definitions (topic changes, audience questions, action items), so staff can find the part of a training session they missed. The cost record from the metering numbers shows what each batch cost, which made the second project an easy yes.
📌 If you keep one line from this page
Pegasus 1.5 on Bedrock (twelvelabs.pegasus-1-5-v1:0, us-west-2 or the global profile) turns videos up to 2 hours into text or timestamped JSON segments, billed through AWS Marketplace by video seconds and output tokens; use Marengo when you need to search many videos.
2 GB from S3 · 25 MB inline · 30 reference images · no indexing step · raise your read timeout.
Revision note. Written October 19, 2026, the day Pegasus 1.5 arrived in Amazon Bedrock. We will add dated updates as Regions and prices change.