









Summarizing a video is easy, right? Just chuck the transcript to an LLM and ask for a title, description, and tags.
To be honest with you, yes, pretty much. That will give you something, but it’s likely going to smell like AI and when you actually look at the output, you’ll ask yourself: Do I want to show this to my users? Is this title actually a good title for my video? Do these tags even make sense?
And then you get problems like: I have a tag for funny and for comedy, why do I have that? That should be the same thing.
This is how you take Mux Robots from a plaything, an experiment, into an actual production workflow that delivers value to your users.
Let’s dive into how you can use the Mux Robots Summarize workflow to generate video titles, descriptions, and tags that you are excited to put in front of your users.
The baseline input is tone — that gets set up front, and you can choose from:
What you are going to get back is:
Summarize is based on @mux/ai, and we run and publish evals you can check out here.
The first steps of basic guidance you can provide are:
That tunes the basic shape, and you’re still getting the default output when it comes to the actual content.
This is where you can really make the output your own:
Say you're running a space-mission video archive. Your users browse by topic, so your tags need to come from a fixed set.
Here's NASA's five-minute Artemis overview, How We Are Going to the Moon, run through Summarize with the defaults:
bash
mux robots summarize $ASSET_ID --waitTitle: NASA Artemis Mission Overview
Description: This overview explains NASA's Artemis program for returning humans to the moon. It highlights the Orion spacecraft, the Space Launch System rocket, and the use of the Gateway station in lunar orbit to facilitate lunar landings, scientific research, and preparation for future missions to Mars.
Tags:
All of this is accurate and appropriate. Nothing is wrong here. A lot of what you want depends on the context of your product and how the tags are used. Are you using the tags for embeddings, search, and indexing? Or are you showing these tags to end users? Both have slightly different needs.
If you are a general purpose UGC platform where users are uploading all kinds of videos, those tags might be perfect. But if you are specifically operating a space-mission video archive, where all of your videos are roughly space related, then tags like space exploration and rocket are not so helpful.
Now the steered version. Same video, same job, updated request params.
We’re adding:
json
{
"tone": "professional",
"title_length": 12,
"description_length": 60,
"tag_count": 6,
"output_steering": {
"summary_style": "editorial",
"audience": "Space fans browsing a mission video archive, deciding what to watch next",
"brand_terms": ["NASA", "Artemis", "Orion", "Space Launch System", "Gateway"],
"tag_taxonomy": {
"name": "Mission archive topics",
"values": [
{
"label": "Moon & Artemis",
"description": "Lunar exploration: the Artemis program, lunar landers, and Moon science",
"aliases": ["lunar", "Moon missions", "Artemis program"]
},
{
"label": "Rockets & Launch",
"description": "Launch vehicles, boosters, engines, and launch operations",
"aliases": ["SLS", "launch vehicle", "liftoff", "boosters"]
},
{
"label": "Spacecraft & Hardware",
"description": "Crew capsules, space stations, and mission hardware like Orion and Gateway",
"aliases": ["Orion", "capsule", "Gateway", "space station"]
},
{
"label": "Mars & Deep Space",
"description": "Mars exploration and missions beyond the Moon",
"aliases": ["Mars missions", "deep space", "red planet"]
}
],
"allow_other": false
}
}
}Let’s call that file steering.json.
bash
mux robots summarize $ASSET_ID -f steering.json --waitTitle: NASA Artemis Mission Overview
Title: Artemis: The Path to the Moon and Beyond
Description: This overview explains NASA's Artemis program for returning humans to the moon. It highlights the Orion spacecraft, the Space Launch System rocket, and the use of the Gateway station in lunar orbit to facilitate lunar landings, scientific research, and preparation for future missions to Mars.
Description: An overview of the Artemis program, detailing the mission architecture designed to establish a long-term human presence on the Moon as a foundational step for future Mars exploration. This analysis covers the integrated systems approach, utilizing the Orion spacecraft, the Space Launch System rocket, and the orbital Gateway station to enable sustainable lunar surface operations and deep space capability development.
Tags:
Tags:
This is how you take Mux Robots summarize and tagging and guide it to give you the exact output you want.
If you’re like me, you’ll want to try and level this up a step. Instead of me hand-tuning and tweaking the output steering params, I’m going to fire up my coding agent to give this a first pass. After I get some feedback I’ll probably tweak the final steering parameters, but this gives me a quick way to iterate.
Try handing this prompt to your agent to help it figure out the best output steering parameters.
prompt for tuning Robots summarize output
I want to start using Mux Robots to generate titles, descriptions, and tags for my videos. See details here: https://www.mux.com/docs/guides/robots-summarize
Consider how we currently use videos, how we plan to use videos, and what kind of titles, descriptions, and tags we currently show, if any, and how those could be improved. Run a few isolated tests with different parameters and output_steering options to determine the exact parameters we should set on the summarize job when we run this for all of our videos. Poke around and make a plan, and then ask me questions before you get started. As you start to experiment with different settings, summarize what you are seeing, give me an easy way to review it, then give me your best recommendation, and ask me to confirm the final decision.No credit card required to get started.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。