Set up Gan.ai in Metorial for Claude, ChatGPT and Cursor
Share Gan.ai with your team in Claude, ChatGPT and Cursor through Metorial: studio login or playground API key sign-in, 22 tools (11 read-only).
To give your team Gan.ai in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Gan.ai integration in a Metorial portal, and each person connects with a studio login. Agents can generate personalized videos, text-to-speech audio, AI avatars, lip-synced videos, and sound effects. The integration has 22 tools, 11 read-only, 9 write and 2 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Gan.ai in a portal and how each person connects
- What Gan.ai asks for when you connect, and where to find it
- How to keep the 11 read-only tools and reject the other 11
Before you start
- A portal with at least one access group
- A studio login from Gan.ai for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Studio Login (default) | Custom credentials | email and password |
| Playground API Key | API token | apiKey |
The portal and metorial setup use Studio Login unless someone picks another method.
Studio Login
To connect, a person enters these values:
email: Email address for Gan.AI Studiopassword: Password for Gan.AI Studio
Playground API Key
To connect, a person enters:
apiKey: API key from playground.gan.ai
Setup settings
Whichever method you pick, setup also asks for:
apiSurface(optional): Which Gan.AI API surface to use. "playground" uses os.gan.ai for TTS, avatars, lip-sync, and sound effects. "studio" uses api.gan.ai for personalized video campaigns. One of "playground", "studio".
Admin: share Gan.ai in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Gan.ai. Under Auth Method, keep Studio Login or pick another. For how members connect, choose Each person connects so everyone enters their own studio login, or Shared connection to enter one studio login for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Gan.ai.
Choose who gets it
Add the access groups that should see Gan.ai. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Gan.ai integration. Once it exists, check which groups have it:
Employee: connect Gan.ai
In the portal
Open Gan.ai in the catalog
Sign in to your portal and open Gan.ai. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your studio login (email and password).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses Studio Login. To connect with Playground API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Gan.ai connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as list_voices and list_avatars, and lose the 9 write tools, such as create_avatar or create_lipsync, and the 2 destructive tools, such as delete_avatars or delete_lipsyncs.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 22 tools, minus any you rejected. list_voices takes no input. It retrieves all available voices for text-to-speech and avatar video generation.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (11)
list_avatars: List AI avatars with optional filters for title, status, and date range.get_photo_avatar_inferences: Retrieve photo avatar video inference details.get_sfx_history: Retrieve the history of previously generated sound effects, or fetch audio for a specific sound effect by inference ID.list_projects: List all video projects within a workspace (Studio API). NeedsworkspaceId.get_tts_history: Retrieve the history of previously generated text-to-speech audio.list_lipsyncs: List lip-sync video inferences with optional filters, or get details for a specific lip-sync inference by ID.list_photo_avatars: List photo avatars with optional filters, or get details for a specific photo avatar by ID.list_workspaces: Retrieve all workspaces the authenticated user belongs to (Studio API).list_voices: Retrieve all available voices for text-to-speech and avatar video generation.get_avatar_inferences: Retrieve avatar video inference details.get_video_status: Check the generation status of a personalized video (Studio API). NeedsworkspaceId,projectIdandinferenceId.
Write tools (9)
create_avatar: Create a new AI avatar from a video recording. NeedsbaseVideoUrl.create_personalized_videos: Generate personalized videos in bulk for a project (Studio API). NeedsworkspaceId,projectIdandvideos.create_lipsync: Create a lip-synchronized video by combining a source video with an audio file. NeedsinputVideoUrl.generate_speech: Convert text into natural-sounding speech using a specified voice. NeedsvoiceIdandtext.create_photo_avatar: Create an AI avatar from a still photo image. NeedsbaseImageUrl.generate_avatar_video: Generate an HD video from a published AI avatar. NeedsavatarId.generate_photo_avatar_video: Generate a video from a published photo avatar. NeedsphotoAvatarId.generate_sound_effect: Generate audio sound effects from a text description. Needsprompt.manage_avatar_consent: Manage the consent verification process for an avatar. NeedsavatarIdandaction.
Destructive tools (2)
delete_lipsyncs: Bulk delete lip-sync video inferences by their inference IDs. NeedsinferenceIds.delete_avatars: Bulk delete avatars and/or avatar video inferences.
Triggers
Gan.ai has 2 triggers, which fire on events in Gan.ai:
studio_video_events: Receives webhook events from the Studio API when personalized video generation completes or fails.playground_events: Receives webhook events from the Playground API for avatar status changes, avatar video generation completions, and lip-sync video completions.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Gan.ai there
- Tool permissions: tool filters and what employees see
- Gan.ai on metorial.com: the integration overview