From twelvelabs
Manage entity collections, assets, and entities for video search
npx claudepluginhub twelvelabs-io/twelve-labs-claude-code-plugin<subcommand># /twelvelabs:entities - Manage Entities Manage entity collections, upload reference images, and create/delete entities for entity-based video search. Requires Marengo 3.0. ## Usage **User provided:** `$ARGUMENTS` ## Subcommands | Subcommand | Description | |------------|-------------| | `create-collection` | Create a new entity collection | | `list-collections` | List all entity collections | | `upload` | Upload a reference image as an asset | | `create-entity` | Create a named entity from reference images | | `list-entities` | List entities in a collection | | `delete-entity` | Del...
Manage entity collections, upload reference images, and create/delete entities for entity-based video search. Requires Marengo 3.0.
/twelvelabs:entities create-collection <name>
/twelvelabs:entities list-collections
/twelvelabs:entities upload <path-or-url>
/twelvelabs:entities create-entity <collection-id> <name> <asset-ids...>
/twelvelabs:entities list-entities <collection-id>
/twelvelabs:entities delete-entity <collection-id> <entity-id>
/twelvelabs:entities delete-collection <collection-id>
User provided: $ARGUMENTS
| Subcommand | Description |
|---|---|
create-collection | Create a new entity collection |
list-collections | List all entity collections |
upload | Upload a reference image as an asset |
create-entity | Create a named entity from reference images |
list-entities | List entities in a collection |
delete-entity | Delete an entity from a collection |
delete-collection | Delete an entire collection |
/twelvelabs:entities create-collection "Team Alpha"
/twelvelabs:entities upload ./sarah-headshot.jpg
/twelvelabs:entities upload /Users/me/photos/john.png
/twelvelabs:entities upload https://example.com/photo.jpg
/twelvelabs:entities list-collections
/twelvelabs:entities list-entities abc123
/twelvelabs:entities create-entity abc123 "Sarah Chen" asset_001
/twelvelabs:entities create-entity abc123 "Sarah Chen" asset_001 asset_002 asset_003
/twelvelabs:entities delete-entity abc123 entity_456
/twelvelabs:entities delete-collection abc123
When the user invokes /twelvelabs:entities, parse $ARGUMENTS to determine the subcommand.
If $ARGUMENTS is empty or not recognized:
Usage: /twelvelabs:entities <subcommand>
Subcommands:
create-collection <name> Create a new entity collection
list-collections List all collections
upload <path-or-url> Upload a reference image
create-entity <collection-id> <name> <ids> Create an entity
list-entities <collection-id> List entities in a collection
delete-entity <collection-id> <entity-id> Delete an entity
delete-collection <collection-id> Delete an entire collection
Quick start: /twelvelabs:entities create-collection "My Collection"
create-collectionExtract the collection name from the remaining arguments.
If no name provided:
Please provide a name for the collection.
Usage: /twelvelabs:entities create-collection <name>
Tool: mcp__twelvelabs-mcp__create-entity-collection
Parameters:
name: "<collection name>"
On success:
Collection created.
Collection ID: <id>
Name: <name>
Next steps:
1. /twelvelabs:entities upload <image-path-or-url> Upload reference images
2. /twelvelabs:entities create-entity <collection-id> "Name" <asset-id> Create an entity
uploadExtract the path or URL from the remaining arguments.
If no path/URL provided:
Please provide an image path or URL.
Usage: /twelvelabs:entities upload <path-or-url>
Determine input type:
http:// or https://.jpg / .jpeg.png.webpTool: mcp__twelvelabs-mcp__create-asset
Parameters:
imageUrl: "<url>"
Tool: mcp__twelvelabs-mcp__create-asset
Parameters:
imageFile: "<absolute-path>"
On success:
Reference image uploaded.
Asset ID: <id>
Use this asset ID when creating an entity:
/twelvelabs:entities create-entity <collection-id> <name> <asset-id>
Tips: Use 3-5 reference images from different angles for best accuracy. Images should clearly show the person's face.
list-collectionsTool: mcp__twelvelabs-mcp__list-entity-collections
Display each collection's ID and name. If none exist:
No entity collections found.
Create one with: /twelvelabs:entities create-collection <name>
list-entitiesExtract the collection ID from the remaining arguments.
If no collection ID provided:
Please provide a collection ID.
Usage: /twelvelabs:entities list-entities <collection-id>
List collections: /twelvelabs:entities list-collections
Tool: mcp__twelvelabs-mcp__list-entities
Parameters:
collectionId: "<collection-id>"
Display each entity's name, ID, and search syntax:
Entities in collection <collection-id>:
- <name> (ID: <id>)
Search: /twelvelabs:search <@<id>> <action>
If no entities found:
No entities found in this collection.
Create one:
1. /twelvelabs:entities upload <image-path-or-url>
2. /twelvelabs:entities create-entity <collection-id> "Name" <asset-id>
create-entityParse the remaining arguments:
If arguments are incomplete:
Usage: /twelvelabs:entities create-entity <collection-id> <name> <asset-id-1> [asset-id-2...]
Example:
/twelvelabs:entities create-entity abc123 "Sarah Chen" asset_001 asset_002
Steps to get here:
1. /twelvelabs:entities list-collections (find your collection ID)
2. /twelvelabs:entities upload ./photo1.jpg (get asset IDs)
3. /twelvelabs:entities upload ./photo2.jpg
4. /twelvelabs:entities create-entity <collection-id> "Name" <asset-id-1> <asset-id-2>
Create the entity:
Tool: mcp__twelvelabs-mcp__create-entity
Parameters:
collectionId: "<collection-id>"
name: "<entity name>"
assetIds: ["<asset-id-1>", "<asset-id-2>"]
On success:
Entity created.
Entity ID: <id>
Name: <name>
Search for this entity:
/twelvelabs:search <@<id>>
/twelvelabs:search <@<id>> is giving a presentation
delete-entityExtract the collection ID and entity ID from the remaining arguments.
If arguments are incomplete:
Usage: /twelvelabs:entities delete-entity <collection-id> <entity-id>
List entities: /twelvelabs:entities list-entities <collection-id>
Warn the user: "This will permanently delete the entity. Continue?"
Tool: mcp__twelvelabs-mcp__delete-entity
Parameters:
collectionId: "<collection-id>"
entityId: "<entity-id>"
On success: "Entity <entity-id> deleted from collection <collection-id>."
delete-collectionExtract the collection ID from the remaining arguments.
If no collection ID provided:
Usage: /twelvelabs:entities delete-collection <collection-id>
List collections: /twelvelabs:entities list-collections
Warn the user: "This will permanently delete the collection and all entities in it. Continue?"
Tool: mcp__twelvelabs-mcp__delete-entity-collection
Parameters:
collectionId: "<collection-id>"
On success: "Collection <id> deleted."
/twelvelabs:search - Search for entities in videos using <@entity_id>/twelvelabs:index-video - Index videos for entity search/twelvelabs:help - Show all available commands