Λογότυπο Iblai Api Heygen

Iblai Api Heygen

Οργανισμός
iblai
iblai-api-heygen

Drive HeyGen through ibl.ai's dedicated video API — list and clone voices, synthesize speech, create photo and digital-twin avatars, generate avatar videos and poll them, upload media assets, and run interactive streaming avatar sessions end to end. Covers the credit rules, the ownership gate, and the LiveKit handoff. Use when building avatar video generation, voice cloning, or a talking-avatar experience; see /iblai-api-external-service-proxy for the generic multi-provider proxy door.

Επισκόπηση

Εκδότηςiblai
Αποθετήριοvibe
Όνομα δεξιότηταςiblai-api-heygen
Αστέρια
229
Διακλαδώσεις
8
Συνοδευτικά αρχεία
2
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 2

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό iblai. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Iblai Api Heygen στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-heygen
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iblai/vibe.git /tmp/vibe
mkdir -p .claude/skills
cp -r /tmp/vibe/skills/content/iblai-api-heygen .claude/skills/iblai-api-heygen
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Iblai Api Heygen σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Iblai Api Heygen μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Iblai Api Heygen δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

iblai-api-heygen

Two doors to HeyGen. This skill documents the dedicated surface under providers/heygen/video/ — member-reachable, credit-metered, with an ownership gate and first-class streaming support. /iblai-api-external-service-proxy documents the generic door (/api/ai-proxy/orgs/{org}/services/heygen/{action}/), which is organization-admin-only and reaches a wider action catalog. Pick the dedicated surface for anything a signed-in user does for themselves; pick the proxy for admin automation over actions this surface does not expose.

Generate and manage HeyGen media through ibl.ai. The Data Manager forwards to HeyGen and returns HeyGen's own response body, so HeyGen's API docs describe the payload shapes; what this skill adds is the ibl.ai envelope around them — auth, credits, ownership, and the parts that are not verbatim.

  • Voices — list, clone, synthesize speech.
  • Avatars — create photo or digital-twin avatar groups, poll training, list looks, mint a consent URL.
  • Videos — generate, poll to completion.
  • Assets — upload media for the above to reference.
  • Streaming — create an interactive session, then drive a live talking avatar.

The schema is the contract

These endpoints live on the Data Manager service and its live OpenAPI schema is the single source of truth — the URLs and fields below exist for orientation and can drift between releases. Validate before building requests:

  • Schema (raw): https://api.iblai.app/dm/api/docs/schema/
  • Swagger UI: https://api.iblai.app/dm/api/docs/
bash
curl -sS "https://api.iblai.app/dm/api/docs/schema/" -o /tmp/iblai_schema.yaml
grep -nE "providers/heygen" /tmp/iblai_schema.yaml

For the payload shapes inside a response, HeyGen's own documentation is the source of truth — ibl.ai passes them through unchanged.

Auth & conventions

  • dm_url = https://api.iblai.app/dm — these are Data Manager endpoints reached through the gateway's /dm prefix.
  • base = {dm_url}/api/ai-agent/orgs/{org}/users/{username}/providers/heygen/video
  • Header: Authorization: Api-Token $IBLAI_API_KEY on every request.
  • Placeholders:
    • {org} = your organization key = $IBLAI_ORG.
    • {username} = the user the call acts for. It must be your own username unless you are an organization admin, who may act on any member's path.
  • Prefix twin: {dm_url}/api/ai-mentor/... resolves to the same views. The ai-agent spelling used here is canonical; ai-mentor is marked deprecated in the generated schema but still works.
  • Upstream versions: voices, avatars, videos and assets target HeyGen v3; everything under streaming/ targets v1.
  • Responses are HeyGen's body, verbatim — including HeyGen's {"data": ...} envelope and its sibling pagination fields (has_more, next_token). Unwrap it yourself. One endpoint is not verbatim: streaming/knowledge-bases/ is flattened (see below).
  • Undeclared fields are forwarded. Anything you send beyond the fields listed here is passed to HeyGen untouched, so newer HeyGen parameters work without waiting for ibl.ai to add them. Validation only covers the fields named here.
  • Not connected yet? Run /iblai-api-login first.

Access

Every member of the organization can use this surface on their own {username} path out of the box — the default member role carries the whole family. Organization admins reach any member's path.

The RBAC verbs, for building a custom role, resolve at resource /platforms/{id}/heygen/:

VerbCovers
Ibl.Mentor/Heygen/listvoices/, avatar-groups/{id}/looks/, streaming/knowledge-bases/, streaming/avatars/
Ibl.Mentor/Heygen/readavatar-groups/{id}/, videos/{id}/
Ibl.Mentor/Heygen/actionevery POST in this skill

There is no write or delete verb — creation is covered by action.

Ownership gate. Every billable create records the id it produced against the user who made it. The routes that take an id back — avatar-groups/{group_id}/…, videos/{video_id}/, streaming/sessions/{session_id}/… — return 403 when the id belongs to someone else. Two caveats worth knowing: an admin may act on any id owned within their own organization but never across organizations, and an id with no ownership record is allowed through. That last one is deliberate, so ids minted before the gate existed keep working — but it means an id that did not come from this surface is not protected by it.

Reads

Voices

  • GET {base}/voices/?[type=public|private][&engine=][&language=][&gender=male|female][&limit=][&token=] — list voices. All params optional and forwarded to HeyGen, which supplies the defaults. limit must be ≥1. token is the cursor from a previous page's next_token.

Avatars

  • GET {base}/avatar-groups/{group_id}/ — avatar group detail. This is the poll target for digital-twin training; the training status lives in the body.
  • GET {base}/avatar-groups/{group_id}/looks/ — list the looks in a group. group_id comes from the path and overrides any group_id you send as a query param; every other query param is forwarded to HeyGen untouched.

Videos

  • GET {base}/videos/{video_id}/ — video detail, and the poll target for generation. HeyGen's body carries status (pending | processing | completed | failed), duration in seconds, created_at / completed_at, and the output URLs once finished.

Streaming

  • GET {base}/streaming/avatars/ — list the avatars available for interactive sessions. Verbatim.
  • GET {base}/streaming/knowledge-bases/ — list knowledge bases for grounding a session. The one transformed response on this surface: HeyGen returns {"data": {"list": [...]}} and ibl.ai returns {"data": [...]}, preserving every other top-level key. Write your client against the flattened shape.

Writes

Every endpoint in this section is a POST. The five marked billable consume credits — see Credits in Notes.

Voices

  • POST {base}/voices/clone/ — billable. Confirm with the user first. Clone a voice from a recording.

    json
    {
      "voice_name": "string (required)",
      "audio": { "…": "object (required) — references an uploaded asset" },
      "language": "string",
      "remove_background_noise": false
    }

    HeyGen bills voice-clone training when it completes, which is well after this call returns.

  • POST {base}/voices/speech/ — billable. Synthesize speech from text.

    json
    { "voice_id": "string (required)", "text": "string (required)" }

Avatars

  • POST {base}/avatar-groups/ — billable. Confirm with the user first. Create a photo or digital-twin avatar.

    json
    {
      "type": "digital_twin | photo (required)",
      "name": "string (required)",
      "file": { "…": "object (required) — references an uploaded asset" }
    }

    HeyGen's response nests two ids: data.avatar_group.id is the group id that every avatar-groups/{group_id}/… route below takes, and data.avatar_item.id is a look id. Using the look id where a group id belongs is the most common mistake on this surface. Digital-twin training is charged by HeyGen at completion.

  • POST {base}/avatar-groups/{group_id}/consent/ — mint a consent URL for a digital twin. Send an empty body; nothing is read or forwarded. Not billable despite being a POST.

Videos

  • POST {base}/videos/ — billable. Confirm with the user first. Generate a video.

    FieldTypeRequired
    typeavatar | imageyes
    avatar_idstringwhen type is avatar
    imageobjectwhen type is image
    scriptstringno
    voice_idstringno
    audio_urlstringno
    audio_asset_idstringno
    titlestring | nullno

    Only avatar and image are accepted here; HeyGen's other video types are rejected. Exactly one audio source should be supplied — ibl.ai does not enforce that, HeyGen does. engine and resolution (4k | 1080p | 720p) are forwarded like any undeclared field and are what determine HeyGen's own per-minute price. Returns data.video_id; poll GET {base}/videos/{video_id}/.

Assets

  • POST {base}/assets/ — upload a media file for the endpoints above to reference. multipart/form-data only, one part named file. Default cap 32 MiB, configurable per organization; over-cap is a 400, not a 413. Not billable. Returns HeyGen's asset_id and url.

Streaming

  • POST {base}/streaming/sessions/ — billable. Open an interactive session.

    json
    {
      "avatar_name": "string",
      "quality": "string",
      "voice": { "…": "object" },
      "language": "string",
      "knowledge_base_id": "string",
      "disable_idle_timeout": false,
      "activity_idle_timeout": 120
    }

    ibl.ai injects version: "v2", video_encoding: "H264" and source: "sdk" when you omit them; anything you send wins. Returns session_id, access_token and url. The media never touches ibl.ai — the browser connects to LiveKit at url and opens HeyGen's chat websocket directly with access_token.

  • POST {base}/streaming/sessions/{session_id}/{action}/ — drive the session. {action} is one of exactly seven slugs: start, stop, interrupt, keep-alive, start-listening, stop-listening, task. Anything else is a 404 before HeyGen is called. session_id comes from the path and overrides any you put in the body. Only task has a validated body:

    json
    { "text": "string (required)", "task_type": "talk | repeat", "task_mode": "sync | async" }

    None of the seven is billable — deliberately, so a keep-alive can never fail with a payment error mid-session. → Full lifecycle, cadence and each action's effect: references/streaming.md.

Example

Generate an avatar video and poll it to completion:

bash
dm_url="https://api.iblai.app/dm"
base="$dm_url/api/ai-agent/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/providers/heygen/video"
auth="Authorization: Api-Token $IBLAI_API_KEY"

# pick a voice
curl -s "$base/voices/?limit=5" -H "$auth" | jq '.data[] | {voice_id, name}'

# generate — returns data.video_id
vid=$(curl -s -X POST "$base/videos/" -H "$auth" -H "Content-Type: application/json" \
  -d '{"type":"avatar","avatar_id":"Abigail_expressive_2024112501",
       "script":"Welcome to the course.","voice_id":"f38a635bee7a4d1f9b0a654a31d050d2",
       "resolution":"1080p","title":"welcome"}' | jq -r '.data.video_id')

# poll until terminal
while :; do
  s=$(curl -s "$base/videos/$vid/" -H "$auth" | jq -r '.data.status')
  echo "$s"; case "$s" in completed|failed) break ;; esac; sleep 5
done

Open a streaming session:

bash
curl -s -X POST "$base/streaming/sessions/" -H "$auth" -H "Content-Type: application/json" \
  -d '{"avatar_name":"Wayne_20240711","quality":"high"}' \
  | jq '{session_id: .data.session_id, url: .data.url}'
# then: POST $base/streaming/sessions/<id>/start/, drive with .../task/,
# keep-alive every 60s, and .../stop/ when done.

Notes

  • Credits are charged only when ibl.ai supplies the HeyGen account. An organization that configures its own HeyGen key pays HeyGen directly and is never charged credits here. When ibl.ai's account serves the call and a price is configured, the five billable endpoints check the balance before calling HeyGen and return 402 if it is short. The charge is recorded after a successful call, so a failed call is never billed, and a failure to record a charge never turns a successful call into an error.
  • Reads, controls, consent and asset upload are always free and never return 402.
  • HeyGen's price is not ibl.ai's price. HeyGen bills video by the second at a rate set by engine and resolution; the credit price here is a flat per-call figure the organization configures. They will not agree, by design.
  • A 403 on an id you did not create is the ownership gate — use your own resources. A 403 on the {username} path segment means you are acting on someone else's path without being an admin.
  • Upstream auth failures surface as 502, not 401. If HeyGen rejects the server's key you get 502; a 401 you receive is always about your ibl.ai token. HeyGen's 503 is normalised to 429.
  • Poll, do not wait. Video generation, voice-clone training and digital-twin training are all asynchronous with no callback on this surface. Poll the matching detail read; 5 s is a reasonable interval.
  • streaming/knowledge-bases/ is the only reshaped response. Everything else is HeyGen's body byte for byte.
  • Interactive session time is invisible to this API. Once a session is open the browser talks to LiveKit directly, so session duration is not reported back through any endpoint here. Send stop when you are done rather than abandoning the session.
  • For the generic multi-provider proxy, including HeyGen actions this surface does not expose (translation, webhooks, talking photos, remaining quota), see /iblai-api-external-service-proxy.

Reference material

The endpoints above are the primary; these carry the exhaustive material.

  • references/streaming.md — the interactive session lifecycle end to end: all seven control actions, the LiveKit handoff, keep-alive cadence, idle timeouts and teardown.
  • references/errors.md — every status, the condition behind it, the upstream-to-ibl.ai status translation, and the full 402 body.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Iblai Api Heygen;

Drive HeyGen through ibl.ai's dedicated video API — list and clone voices, synthesize speech, create photo and digital-twin avatars, generate avatar videos and poll them, upload media assets, and run interactive streaming avatar sessions end to end. Covers the credit rules, the ownership gate, and the LiveKit handoff. Use when building avatar video generation, voice cloning, or a talking-avatar experience; see /iblai-api-external-service-proxy for the generic multi-provider proxy door.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Iblai Api Heygen στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Iblai Api Heygen είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Iblai Api Heygen στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-heygen. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Iblai Api Heygen;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Iblai Api Heygen;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Iblai Api Heygen με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Iblai Api Heygen;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό iblai με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇