Visualize embeddings

Use the Embed page to analyze semantic relationships between your video content and text queries. The visualization displays up to 500 clips from your selected index as interactive data points in a two-dimensional space. Dots that cluster together indicate content with similar characteristics. Each dot in the visualization has a distinct color:

  • Light green : Represents video clips.
  • Dark green: Indicates the currently selected video clip.
  • Orange: Represents your text query

When you enter a text query, its position relative to video clips indicates semantic similarity - clips positioned closer to your query are more semantically similar to the text you entered.

User interface

The following image shows the user interface and the key elements you can use to interact with the visualization:


  1. Choose index: Use this dropdown to select the index you want to visualize.  For best performance, choose an index with diverse videos.
  2. Visualization area: Displays dots representing video clips and the embedding for your text query.
  3. Create a text embedding: Use this text field to enter your text query. Note that your text cannot exceed 77 tokens. The token count is displayed at the bottom.
  4. View controls: Use these buttons to adjust the visualization:
    1. Zoom in
    2. Zoom out
    3. Fit: Reset the view to show all points
  5. Legend: Shows what the different colors represent.
  6. Selected embedding: Shows detailed information about the selected embedding. including a video player.
  7. View code: Displays the code the platform used to create the selected embedding. You can copy and paste it into your application.

Typical workflow

Follow the steps below to explore semantic relationships in your video content:

  1. Select an index to visualize its video clips.
  2. Enter a text query to find relevant video segments.
  3. Explore relationships by:
    1. Observing clusters of similar content
    2. Adjusting the view to focus on specific areas using the buttons in the View Controls area or your mouse.
    3. Selecting dots to preview video segments
  4. View the code to implement similar functionality in your application.