Highlights
Read a transcript, return N editorial picks, the most quotable moments for clipping, chapter generation, or social posts.
1 – 20
Still needed: Transcript (SRT/TXT)
Recipes using this pipeline
Articles about this pipeline
Highlights API
Call this pipeline from your own code. One request dispatches a run; the model is an input field, not a separate endpoint.
bun add @pipe2-ai/sdk import { createClient } from "@pipe2-ai/sdk";
const client = createClient(process.env.PIPE2_TOKEN!);
const { run_pipeline } = await client.RunPipeline({
pipeline_slug: "highlights",
input: {
transcript_asset_id: "a1b2c3d4-0000-4000-8000-000000000002",
},
});pip install pipe2 import asyncio
import os
from pipe2 import Pipe2Client
client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])
run = asyncio.run(client.run_pipeline(
pipeline_slug="highlights",
input={
"transcript_asset_id": "a1b2c3d4-0000-4000-8000-000000000002",
},
))go get github.com/pipe2-ai/sdk-go client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))
input := json.RawMessage(`{
"transcript_asset_id": "a1b2c3d4-0000-4000-8000-000000000002"
}`)
run, err := pipe2.RunPipeline(context.Background(), client, "highlights", input)
if err != nil {
log.Fatal(err)
}brew install pipe2-ai/tap/pipe2 pipe2 pipelines run \
--pipeline highlights \
--input-json '{"transcript_asset_id": "a1b2c3d4-0000-4000-8000-000000000002"}' \
--waitParameters
-
transcript_asset_idrequired -
Transcript to find highlights in. Asset id returned by an upload. See /docs/api/ for the upload flow.
string -
count -
How many highlight moments to return.
integerdefault5 -
language -
Transcript language. Leave unset to detect it automatically.
stringdefaulten
Show all 4 inputs
-
style -
Natural-language hint, "the funniest moments", "the strongest arguments", "the controversial takes". Leave empty for the default quotable-moments picker.
string
Use it from an AI agent
Point any MCP client at pipe2 and your agent gets these tools. It finds this pipeline, reads the same schema above, then runs it.
- list_pipelines
- get_pipeline_schema
- run_pipeline
- get_pipeline_run_status
- request_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}Highlights: Editorial Moment Picker
Drop in a transcript (SRT or plain text) and get back a ranked JSON list of the most quotable, hook-worthy moments. The AI reads the full text, applies your editorial directive, and returns each pick with a one-sentence context note and a target clip duration.
What you can do with it
- Feed the clip-factory recipe: the auto path in clip-factory runs highlights automatically between transcription and the per-clip trim loop, so you skip the manual clips.json step entirely
- Build chapter markers: use the picks to add YouTube chapter timestamps or podcast show-notes sections
- Generate social posts: each pick's context note is a ready-to-edit tweet or caption draft
- Steer the picker: pass a style hint like "the funniest moments" or "the strongest technical arguments" to get topic-specific cuts
How it works
- Transcribe your video or audio: run the Transcription pipeline to get an SRT asset in your library
- Attach the transcript and set the number of moments you want (default 5, max 20)
- Optionally add a style steer: plain English describing the kind of moments you want
- Download highlights.json: a JSON array of picks, each with a context note and desired_seconds
Frequently Asked Questions
What transcript formats are supported?
How does the style steer work?
How many moments should I ask for?
How does this work with the clip-factory recipe?
How much does it cost?
Explore more pipelines
See all →Generate AI videos from a text prompt, image, or reference clip. Cinematic shots, product reveals, lifestyle ads, with synchronized audio and natural motion.
Generate AI images from text or reference photos. Product shots, character art, posters with readable text, photoreal portraits, high resolution in seconds.
Turn text into natural speech with dozens of voices, 70+ languages, and custom style directions for tone, accent, and pacing.
Generate original background music that matches any mood, genre, and length you describe. Royalty-free, ready in seconds.