Salta l'installazione. Attivo in meno di 2 minuti.
Avvia una prova gratuita su cloud.anythingmcp.com, aggiungi HeyGen con un clic, poi punta il tuo client AI (Claude, ChatGPT, Copilot o Cursor) all'endpoint MCP generato. Niente Docker, niente git clone, nessuna esperienza di sviluppo richiesta.
In breve
Fai creare alla tua AI video con avatar HeyGen usando la tua chiave: scegli avatar e voci, trasforma uno script o un prompt in un video parlato, compila i tuoi template, traduci video in altre lingue con il lip-sync, crea photo avatar e controlla i render e il tuo saldo.
Prova a chiedere
Prompt di esempio per HeyGen
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → HeyGen, inserisci le credenziali, genera una MCP API key e hai finito. Niente Docker, niente
git clone, niente server locale.
HeyGen + Gemini
Fai creare alla tua AI video con avatar HeyGen usando la tua chiave: scegli avatar e voci, trasforma uno script o un prompt in un video parlato, compila i tuoi template, traduci video in altre lingue con il lip-sync, crea photo avatar e controlla i render e il tuo saldo.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
HEYGEN_API_KEY
Step 1 — Ottieni le credenziali
- Accedi a
https://app.heygen.come apri la dashboard API (https://app.heygen.com/developers/api). - Genera una API key e copiala. L'uso delle API viene fatturato separatamente da un abbonamento web a HeyGen: se l'account non ne ha, aggiungi lì del saldo o un metodo di pagamento.
- Incolla la chiave in
HEYGEN_API_KEYe installa il connettore. La chiave viene inviata solo a HeyGen. Una chiave limitata ad alcuni scope ha bisogno dell'accesso in lettura ad avatar, voci, video, template, traduzioni e utente, e dell'accesso in scrittura per i tool che creano contenuti. - Inizia con
heygen_get_account: mostra il tuo tipo di fatturazione e quanto ti resta da spendere.
Addebitato sul tuo saldo API HeyGen: video, traduzioni e avatar vengono pagati con il tuo saldo API (un wallet a consumo o i crediti del tuo piano). HeyGen fattura i video in base a durata e motore; i prezzi attuali sono nella dashboard API, e una chiamata rifiutata (402) indica quanto sarebbe servito. Elencare e controllare è gratuito.
Prima conferma: prima di heygen_create_video, heygen_generate_from_template, heygen_create_agent_video o heygen_translate_video, l'AI ti dice cosa verrà creato (avatar, voce, lunghezza dello script, formato, lingue, motore) e aspetta il tuo sì. heygen_create_photo_avatar accetta solo la foto di una persona che ha dato il proprio consenso, per esempio tu stesso, e l'AI ti chiede di confermare che ne hai il diritto. heygen_delete_video è disattivato all'installazione.
Come nasce un video:
- L'AI sceglie un personaggio con
heygen_list_avatar_groupse uno dei suoi look conheygen_list_avatar_looks; il look è il presentatore. Una voce daheygen_list_voicesè facoltativa, altrimenti parla la voce propria dell'avatar. heygen_create_videoriceve lo script (fino a 5.000 caratteri), il formato (per esempio 9:16 per gli short) e il motore, e restituisce subito un id video.- Il video viene renderizzato in background. L'AI controlla
heygen_get_videocirca ogni 30 secondi; un render richiede da un minuto a diversi minuti, di più per gli script lunghi. - Il video finito arriva con un link MP4, una versione con sottotitoli, i sottotitoli SRT e un link al video in HeyGen. I link di download scadono; chiedine di nuovi.
Altri modi per creare un video:
- Template:
heygen_list_templateseheygen_get_templatemostrano i tuoi template pronti per le API e le loro variabili;heygen_generate_from_templatecompila ogni variabile di testo e renderizza il video. - Video Agent:
heygen_create_agent_videotrasforma un prompt in un video completo (script, scene, avatar);heygen_get_agent_sessionlo segue finché il video non è renderizzato. - Traduzione:
heygen_translate_videotraduce un video da un link pubblico in una o più lingue, con la voce clonata di chi parla e il lip-sync oppure solo come audio;heygen_list_translation_languageselenca le lingue di destinazione. - Photo avatar:
heygen_create_photo_avatarcrea un presentatore da un solo ritratto;heygen_get_avatar_lookmostra quando è pronto all'uso.
Motori: avatar_iv è quello predefinito. avatar_v offre i movimenti più naturali, ma solo per i look che lo supportano. avatar_iii supporta il 4K per digital twin e studio avatar.
Limiti: con il piano a consumo, 10 tra video, traduzioni o sessioni agente in render contemporaneamente (di più su Enterprise), 300 chiamate di elenco e 500 controlli di stato al minuto. I file sorgente devono essere link pubblici: video fino a 100 MB, audio fino a 50 MB e 10 minuti.
Errori comuni: 401: la chiave è sbagliata o revocata. 402 insufficient_credit: il saldo non copre questo video, e il messaggio indica quanto serve. usage_limit_reached o trial_limit_exceeded: un limite del workspace o della prova che un amministratore o un piano a pagamento può rimuovere. 403 insufficient_api_key_scope: la chiave è limitata; assegnale gli scope indicati sopra. 400 invalid_parameter: il messaggio indica il campo, per esempio un motore che il look non supporta. 404: un id che non esiste; l'AI lo verifica con i tool di elenco. 429: troppe richieste; aspetta e riprova una volta più tardi.
Il connettore usa l'API v3 di HeyGen (HeyGen dismette i vecchi endpoint v1 e v2 il 31 ottobre 2026). Non copre video studio multi-scena, image-to-video, lip-sync di video esistenti, clonazione e design delle voci, text to speech a sé stante, avatar interattivi in streaming, upload di file (le sorgenti devono essere link pubblici), revisione delle traduzioni, webhook, brand kit, cartelle né batch.
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
Gemini CLI legge i server MCP da ~/.gemini/settings.json (su Windows %USERPROFILE%\.gemini\settings.json). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Crea una chiave API MCP in AnythingMCP da MCP Servers → il tuo server → API keys e incollala al posto di
YOUR_MCP_API_KEY. - Salva il file e riavvia
gemini. - Esegui
/mcpin Gemini CLI (oppuregemini mcp listdal terminale):anythingmcpdovrebbe risultare connesso. - Inizia a scrivere prompt: Gemini CLI ora può chiamare i tool di
HeyGen.
Tool disponibili
| Tool | What it does |
|---|---|
heygen_list_avatar_groups | List avatar characters (groups): HeyGen's public stock avatars and the user's own (digital twins, photo avatars), with id, name, gender… |
heygen_list_avatar_looks | List avatar looks (a character's outfits, poses and styles) |
heygen_get_avatar_look | Get one avatar look: type, character, default voice, supported engines, orientation, preview links and, for the user's own avatars, the… |
heygen_list_voices | List the voices a video can speak with: HeyGen's public voices or the user's own cloned voices, with id, name, language, gender and a… |
heygen_create_video | Make a talking avatar video: an avatar look speaks a script (or lip-syncs an audio file) |
heygen_get_video | Check a video (also one made from a template or by the video agent): status pending, processing, completed or failed |
heygen_list_videos | List the videos in the HeyGen account, newest first, with id, title, status, duration and links |
heygen_delete_video | Delete a video and its files from the HeyGen account |
heygen_list_templates | List the workspace's video templates that are ready for the API (templates are designed in the HeyGen editor; only those with variables… |
heygen_get_template | Get a template's variables with their current values (keyed by variable name, each with its type: text, image, video, audio, character or… |
heygen_generate_from_template | Make a video from a template by filling its variables |
heygen_list_translation_languages | List the target languages video translation supports, as the exact names heygen_translate_video expects (e.g |
heygen_translate_video | Translate a video into one or more languages with the speaker's cloned voice and matching lip movements (or the audio only) |
heygen_get_video_translation | Check a video translation: status pending, running, completed or failed |
heygen_list_video_translations | List the video translation jobs in the account with status, languages and links |
heygen_create_agent_video | Let HeyGen's Video Agent make a whole video from a prompt: it writes the script, picks an avatar (or uses the one given), builds the scenes… |
heygen_get_agent_session | Follow a Video Agent session: status (thinking, waiting_for_input, reviewing, generating, completed, failed), progress 0 to 100, title… |
heygen_create_photo_avatar | Create an avatar from one photo of a person, to use as a presenter in videos |
heygen_get_account | Show the HeyGen account behind the key and what it has left to spend: billing type and, depending on it, the API wallet balance (USD or… |
Esempi di prompt
- "Quanto resta sul mio saldo API HeyGen?"
- "Mostrami i miei avatar e quali dei loro look funzionano meglio in 9:16."
- "Crea un video 9:16 di 45 secondi con il mio digital twin che legge questo script. Prima conferma con me avatar, voce e durata, poi mandami il link MP4 quando è pronto."
- "Compila il nostro template di aggiornamento settimanale con queste tre notizie e fai il render."
- "Traduci questo video demo del prodotto in spagnolo (Spagna) e giapponese con il lip-sync e dimmi quando entrambe le versioni sono pronte."
FAQ
Dove cerca i server MCP Gemini CLI? In ~/.gemini/settings.json per il tuo utente, oppure in .gemini/settings.json dentro un progetto. gemini mcp list mostra ogni server e se si connette.
Prossimi passi
Questa guida ti è stata utile?