Skip to navigation

Create Dynamic Tags with Text Prompts

Turn a list of keywords or phrases into tags, refine them with text and visual prompts, and publish them to score your dataset.

Dynamic Tags provide a fast, scalable way to generate metadata across large media libraries. With a list of user-defined keywords or natural language phrases, such as objects, activities, or locations, you can automatically classify and organize millions of images or hours of video in minutes.

Built on Coactive’s multimodal AI, the system maps content to your chosen tags and assigns each a relevance score. You can query these scores in SQL for precise filtering and large-scale analysis in metadata tagging, content discovery, and downstream analytics.

Text prompts and labels

This guide covers tag groups whose Type is Text prompts. You refine these tags by writing positive and negative prompts. To train tags from labeled examples instead, see Create Dynamic Tags with Labels.

How It Works

You create a tag group from a list of tag names and preview how each tag applies to your content. Then you refine the tags with text and visual prompts and publish the group to score your dataset.

Create Tags

Step 1: Start a Tag Group

  • Log in to your Coactive account
  • In the top navigation, select Metadata > Dynamic tags
  • Click “Add Group”
  • Give your tag group a name (for example, “Celebrities”)

Dynamic Tags Create Group

What’s a Group?

A Group is a logical category that helps organize related dynamic tags.

  • In e-commerce: a group like “Product Categories” might include tags like “Clothing,” “Appliances,” and “Toys.”
  • In media: “Celebrities” could include tags like “Taylor Swift,” “Will Smith,” and “Jennifer Lopez.”
  • In advertising: an “IAB Tags” group might contain tags such as “Food,” “Health,” and “News.”

Step 2: Add Your Tags

Enter one keyword or phrase per line in the bulk input box. Each entry becomes both the tag name and its initial positive prompt, which the model uses to get started.

Tag names are limited to letters, numbers, and spaces, while prompts can include special characters (punctuation, symbols, etc.) to better capture user intent. You can edit tag names or prompts later, but your initial preview will be based on these inputs.

Tag limit per group

You can create up to 20 tags per group by default, though this limit is configurable per organization. If you exceed it, group creation is blocked and you’ll see the message “You can only create up to 20 tags per group.” The same limit applies when adding tags to an existing group. If you need more tags, create additional groups to organize them.

Use clear, descriptive tag names. Avoid placeholders like test_v1 or andres2024, because tag names directly shape the model’s initial results.

Step 3: Select a Dataset

Choose a dataset within your organization to serve as the training dataset. The model will use this dataset to refine tag definitions with visual prompts.

When you publish the tag group, scoring automatically runs across all assets in this dataset.

Later in the workflow, you’ll also have the option to apply these trained tag definitions to other datasets in your organization.

Step 4: Create the Tag Group

Click “Add Group” to submit your tag list and generate your tag group.

Once created, you’ll land on the Group Overview page, where you can monitor the status of each tag. For what each status means, see Statuses.

Preview Tagging Results

When you open a tag, you’ll land on its Preview Page. Here you can review how the model applies the tag across different modalities and tagging levels:

  • Video Frames
  • Video Shots
  • Transcripts

Each frame, shot, or transcript segment is assigned a relevance score between 0 and 1.

Video Frames and Video Shot Views

By default, the Preview page shows a Compare View: A random sample of results the model considers positive or negative, based on the text and visual prompts you provided and a default threshold of 0.5.

You can adjust the threshold and instantly see how tag assignments change. If you save a custom threshold, it will be applied when populating the scoring tables.

You can also switch the view to show only positives or only negatives. These views aren’t exhaustive - they’re meant to help you experiment and decide the best threshold for your use case.

Transcript View

In the Transcript tab, the Preview page defaults to showing positive results. You can use the dropdown to switch and view negatives.

Just like in Frames and Shots, the results are samples only - they don’t represent the full set of content that matches this tag.

You can also:

  • Adjust the threshold to refine which transcript segments are considered positive vs. negative
  • Sort results by score within each bucket (positive or negative)

Video Aggregation Settings

When viewing video-level results, you can configure how tag scores are computed at the video level.

Long Shot Exclusion

Long Shot Exclusion filters out videos with shots that exceed a specified duration, preventing unusually long shots from skewing your aggregated video scores.

By default, new aggregations using ANY_HIT or COVERAGE_THRESHOLD methodologies have Long Shot Exclusion enabled with a maximum duration of 360 seconds (6 minutes).

To adjust this setting:

  1. Check or uncheck the Long shot exclusion checkbox
  2. Enter the maximum shot duration in seconds (default: 360)
  3. Videos with shots longer than this duration will be excluded from aggregation results

Uncheck the checkbox to disable Long Shot Exclusion entirely.

This is useful when extremely long shots—like static establishing shots or single-take sequences—don’t represent typical visual content in your videos.


Refine Tags

Once tags are created, you can refine them using the Preview Page. Adjusting tags helps improve both precision (fewer false positives) and relevance (better matches).

Refine Using Text Prompts

You can add or edit positive and negative text prompts to better guide the model.

  • Positive prompts tell the model what to look for
  • Negative prompts tell the model what to ignore

Example: Prompt = "soccer" → general soccer footage returns as positives with high relevance scores. Updated prompt = "soccer goalkeeper" → refines results to focus on goalkeepers.

When you update a text prompt, the classifier refreshes and the Preview results update.

Dynamic Tags Text Prompts

You can also choose a modality for each text prompt. By default, the tag name initializes both visual and transcript classifications, but you can adjust prompts for specific modalities.

Example:

  • Visual prompt (keyframes) = "goal keeper"
  • Transcript prompt = "coach"

In this case, the Transcript Preview will only display segments that match "coach."

LLM-Generated Text Prompts

Abstract tags can be tricky, because it’s not always obvious how to phrase a prompt so the model classifies effectively. To help, the system provides LLM-generated text prompts for each modality.

Example: tagging “scary scenes”

Dynamic Tags LLM Prompts

You can choose individual suggestions or add all suggested prompts at once to improve classification.

Refine Using Visual Labels

For keyframes, you can improve tag accuracy by giving visual feedback.

Start with text prompts

Use text prompts first whenever possible - they’re faster and more effective. Visual labels require at least 50-60 examples to achieve similar impact.

Three Ways to Add Visual Prompts

1. Label from the Preview Page

Hover over the asset you want to label and click the appropriate button (positive or negative). You can bulk label multiple assets. When finished, click “Add visual prompts” to confirm.

Use semantic search to quickly find relevant examples and add them as visual prompts.

  • Click “Update visual prompts”
  • Select “Add from search”
  • Enter a query that matches your tagging definition (for example, "jury duty")
  • Choose assets from the results to label as positive examples

3. Add from Uncertain Assets (available only after the tag group is published)

After publishing a tag, the system highlights the assets it is most uncertain about. Labeling these helps refine the decision boundary and improves model accuracy.

  • Click “Update visual prompts” in the upper-right corner
  • Select “Add from uncertain assets”
  • Review the suggested assets and label them as positive or negative

Visual feedback is supported only for keyframes. You can’t give feedback on video shots or transcripts.


Manage Tag Groups

Publish a Tag Group

After reviewing the Preview pages of all tags in a group, the group will be in Draft state, meaning it’s ready to be published. Publishing makes the group available for scoring on datasets within your organization.

When publishing, choose a visibility option:

  • Secret: The group is only available to the dataset it was trained on
  • Shareable: The group is visible to other datasets within your org, allowing admins or editors to apply it directly

Dynamic Tags Publish Options

Once you click “Publish group”, scoring is automatically triggered on the training dataset.

Non-training datasets can apply a tag group created from a training dataset (to score assets), but they cannot edit the tag definitions.

Review Previews After Publishing

After publishing a tag group, revisit each tag’s Preview Page. The keyframe previews refresh to show more balanced results. Instead of showing randomly selected frames as it does before scoring, the system uses stratified sampling:

  • 10 keyframes are selected from each scoring bucket
  • This ensures the Preview displays a more even distribution of positives and negatives

Check Scoring Progress

You can track the progress of all tag groups applied to a dataset by going to the Dataset Page and selecting “Manage groups.”

From here, you’ll see:

  • Which tag groups are applied
  • Their current scoring status (for example, Queued for scoring, Unscored, Scored, Error)
  • Whether the dataset is the group’s training dataset or just applying the tag group

You can also add a tag group trained on another dataset by searching for it here. Once you click “Save,” scoring will automatically start on the current dataset.

Scored = The scoring tables are complete and available for querying. See Query Dynamic Tag Data.

Check Tag Group Application

To see which datasets are using a tag group:

  1. Go to the Dynamic Tag Group Page
  2. Click “Dataset access”

You’ll see a list of all datasets where the group has been applied.

If a non-training dataset is not using the latest published version, an “Update available” tab will appear next to it.

Next Steps