How do I search a backlog of creator UGC video?
Index the clips themselves, with the creator and the usage rights attached to every piece. Upload each video file to a bucket with metadata for the creator, the product, where it came from and what you are allowed to do with it. Index it in short windows with a transcript, the on-screen text and a visual embedding. Then one retriever answers the questions a creative or social team asks ("someone holding the serum bottle up to the camera", "anyone who says it lasted all day") and returns the clip, the creator and the seconds to cut, limited to clips you have the rights to run.
Why can't I find anything in our UGC folder?
A creator backlog is filed by the things nobody searches for: a file name like
final_v2_FINAL.mp4, the creator's handle, the brief it answered, and maybe the caption they
posted with it. The things a team looks for live inside the video:Captions cover the first three only where the creator thought to mention them. Indexing the footage covers all of them, and the metadata covers the last.
What do teams search a UGC backlog for?
| Question | How it is matched |
|---|---|
| Clips where the product is held up to the camera | Visual embedding of each window |
| Anyone saying "lasted all day" or "worth the price" | Transcript, by meaning or by exact phrase |
| A text overlay or code on screen | On-screen text (OCR) |
| Unboxing openings for a new hook test | Visual search, then a model checks the first seconds |
| Every clip from one creator, or from one brief | Metadata filter |
| Only clips licensed for paid social | Metadata filter on the rights fields |
Most real questions combine a row from the top half with a row from the bottom half: "product held to camera, from creators we can run as ads this month".
How do I get the clips in with their creator and rights fields?
Use the files you already hold: creator deliverables, the masters from your UGC platform or creator marketplace export, and the originals of what your own accounts posted. Downloading other people's posts from TikTok, Instagram or YouTube usually breaks those platforms' terms, and you need the license anyway before a clip can run in an ad.
Create a bucket whose schema names the fields you will filter on, a collection that indexes it, then upload each file with its fields at the top level and start processing. Creator videos are short, usually vertical, and much of what matters is spoken or written on screen, so the collection splits them into three-second windows and turns on the transcript and on-screen text (OCR) along with the visual embedding:
import os, requests
API = "https://api.mixpeek.com"
HEADERS = {"Authorization": f"Bearer {os.environ['MIXPEEK_API_KEY']}",
"X-Namespace": os.environ["MIXPEEK_NAMESPACE"]}
FIELDS = ["creator", "product", "source", "brief", "usage_rights", "rights_expires"]
def call(path, body):
r = requests.post(f"{API}{path}", headers=HEADERS, json=body, timeout=300)
r.raise_for_status()
return r.json()
bucket = call("/v1/buckets", {"bucket_name": "creator-ugc", "bucket_schema": {"properties": {
"video": {"type": "video", "required": True},
**{f: {"type": "string"} for f in FIELDS}}}})["bucket_id"]
col = call("/v1/collections", {"collection_name": "ugc-clips",
"source": {"type": "bucket", "bucket_ids": [bucket]},
"feature_extractor": {"feature_extractor_name": "multimodal_extractor", "version": "v1",
"input_mappings": {"video": "video"},
"field_passthrough": [{"source_path": f} for f in FIELDS],
"parameters": {"split_method": "time", "time_split_interval": 3,
"run_multimodal_embedding": True, "run_transcription": True,
"run_transcription_embedding": True, "run_ocr": True,
"enable_thumbnails": True}}})["collection_id"]
clips = [ # one row per file: a URL Mixpeek can read, such as a presigned S3 link, and its fields
("https://ugc.example.com/2026/q3/maya_serum_take2.mp4",
{"creator": "@maya.skin", "product": "vitamin-c-serum", "source": "creator_brief",
"brief": "fall-launch-2026", "usage_rights": "paid_social", "rights_expires": "2027-03-31"}),
]
for url, fields in clips:
call(f"/v1/buckets/{bucket}/objects",
{"blobs": [{"property": "video", "type": "video", "data": url}], **fields})
call(f"/v1/collections/{col}/trigger", {})usage_rights to a short fixed list your team already uses (organic_only,
paid_social, all_media) so the filter later is an exact match. Every window gets
start_time and end_time, and field_passthrough copies the creator and rights fields
onto each one. Three seconds matches how these clips are edited: a hook, a product shot or a single
line usually fits in one window. When new deliverables arrive, upload them the same way and trigger
the collection again. The multimodal extractor
docs list the other parameters, and
Why does video search miss on-screen text?
explains why OCR matters for burned-in captions.What retriever finds the clips?
One retriever serves every row of the table. It searches the picture and the transcript with the same sentence, keeps clips with the rights you ask for, narrows to one product, and returns moments with times:
{
"retriever_name": "ugc-backlog-search",
"collection_identifiers": ["ugc-clips"],
"input_schema": {
"query": { "type": "text", "required": true },
"usage_rights": { "type": "text", "required": true },
"product": { "type": "text", "required": true }
},
"stages": [
{ "stage_name": "search", "stage_type": "filter",
"config": { "stage_id": "feature_search", "parameters": {
"final_top_k": 100,
"fusion": "rrf",
"searches": [
{ "feature_uri": "mixpeek://multimodal_extractor@v1/vertex_multimodal_embedding",
"query": { "input_mode": "text", "value": "{{INPUT.query}}" }, "top_k": 100 },
{ "feature_uri": "mixpeek://multimodal_extractor@v1/multilingual_e5_large_instruct_v1",
"query": { "input_mode": "text", "value": "{{INPUT.query}}" }, "top_k": 100 }
] } } },
{ "stage_name": "licensed", "stage_type": "filter",
"config": { "stage_id": "attribute_filter", "parameters": { "conditions": { "AND": [
{ "field": "usage_rights", "operator": "eq", "value": "{{INPUT.usage_rights}}" },
{ "field": "product", "operator": "eq", "value": "{{INPUT.product}}" }
] } } } },
{ "stage_name": "moments", "stage_type": "reduce",
"config": { "stage_id": "moment_group", "parameters": {
"parent_field": "source_object_id",
"time_field": "start_time",
"merge_tolerance_ms": 1000,
"max_moments_per_parent": 2,
"score_strategy": "max",
"output_mode": "annotated" } } }
]
}product condition.
time_field: "start_time" for a text query; with its default the moments come back empty.How do I match an exact line or a code on screen?
Meaning search finds paraphrases, which is what you want for "talks about the price". When legal needs every clip with one claim, or you need the clips that show an old discount code, match the words exactly in the transcript and the on-screen text with the
phrase operator:{ "stage_name": "exact_line", "stage_type": "filter",
"config": { "stage_id": "attribute_filter", "parameters": { "conditions": { "OR": [
{ "field": "transcription", "operator": "phrase", "value": "clinically proven" },
{ "field": "ocr_text", "operator": "phrase", "value": "clinically proven" }
] } } } }How do I find hooks and other moments a search can't rank alone?
Some questions need a judgment: "the first three seconds show the product before the creator speaks". Search for the visual part, then add LLM Filter after the licensed stage with the rule as its criteria. It sends each window to a model as video and keeps the ones it answers yes to:
{ "stage_name": "hook_check", "stage_type": "filter",
"config": { "stage_id": "llm_filter", "parameters": {
"criteria": "Keep only windows that start the video and show the product before anyone speaks",
"include_media": true,
"include_reasoning": true } } }How do I hand the results to an editor?
Run the retriever for each question and write the moments to a CSV with the creator, the clip and the seconds to cut. Drop clips whose license ends before the campaign does:
import csv, datetime
RUN_UNTIL = datetime.date(2026, 12, 31) # last day the new ad will run
def search(query, rights="paid_social", product="vitamin-c-serum"):
r = requests.post(f"{API}/v1/retrievers/ugc-backlog-search/execute", headers=HEADERS,
timeout=300, json={"inputs": {"query": query, "usage_rights": rights,
"product": product}})
r.raise_for_status()
return r.json()["documents"]
with open("ugc_pulls.csv", "w", newline="") as f:
w = csv.writer(f)
w.writerow(["query", "creator", "clip", "start_s", "end_s", "rights_expires", "score"])
for query in ["holding the bottle up to the camera", "says it lasted all day",
"applies it in a car mirror"]:
for doc in search(query):
expires = doc.get("rights_expires")
if expires and datetime.date.fromisoformat(expires) < RUN_UNTIL:
continue
for m in doc.get("moments", []):
w.writerow([query, doc.get("creator"), doc.get("source_object_id"),
m["start_ms"] / 1000, m["end_ms"] / 1000, expires,
round(m["score"], 4)])Frequently asked questions
Do I need to tag the clips first?
No. The transcript, the on-screen text and the visual embedding come from the video. Tag only what the video cannot tell you: the creator, the brief, the product SKU and the license.
Can I search clips from TikTok or Instagram directly?
Search the files you hold. Creator deliverables and the originals of your own posts are yours to index; pulling other accounts' posts off a platform usually breaks its terms and gives you no right to reuse them. To find where your own videos were reposted, see How do I find out if someone reposted my video?.
How is this different from moderating UGC?
Moderation decides whether a new upload may be published. Searching a backlog finds the clips worth reusing in ones you already accepted. The same index serves both; see AI content moderation for UGC for the review side and media archive intelligence for larger produced libraries.
Does it work with non-English creators?
The transcript embedding is multilingual, so a query in English can find a line spoken in another language, and the
phrase match works on the transcript in whatever language it was spoken.
Test a few clips in each language you hold before you rely on it.How do I find one moment in a long creator video or livestream?
The same windows and moments work on long videos. How do I find one specific moment in hours of footage? covers window length and search for longer recordings.