HeyGen · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for HeyGen Streaming API

9 actions 9 updates phrasing extends openapi/heygen-streaming-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for HeyGen's API. It is a proposal applied on top of the contract, not a document HeyGen publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/v1/streaming.task'].post
$.paths['/v1/streaming.stop'].post
$.paths['/v1/streaming.start'].post
$.paths['/v1/streaming.list'].get
$.paths['/v1/streaming.new'].post
$.paths['/v1/streaming.create_token'].post
$.paths['/v1/streaming.interrupt'].post
$.paths['/v1/streaming/avatar.list'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for HeyGen Streaming API
  version: 1.0.0
extends: openapi/heygen-streaming-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/v1/streaming.task'].post
  update:
    x-apievangelist-phrasing:
      intent: Make an avatar speak text over streaming
      effect: write
      questions:
      - How do I get an interactive avatar to speak a script over streaming?
      - Can I send text to an avatar and have it speak it in real time?
      instructions:
      - text: 'Send this text to the avatar over streaming: {text}.'
        slots:
          text: requestBody.RAW_BODY
      - text: Stream the script {text} to the avatar.
        slots:
          text: requestBody.RAW_BODY
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.stop'].post
  update:
    x-apievangelist-phrasing:
      intent: End an active streaming session
      effect: destructive
      questions:
      - How do I stop an avatar streaming session?
      - Can I terminate a streaming session by its session ID?
      instructions:
      - text: Close streaming session {session_id}.
        slots:
          session_id: requestBody.session_id
      - text: Stop the active avatar stream {session_id}.
        slots:
          session_id: requestBody.session_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.start'].post
  update:
    x-apievangelist-phrasing:
      intent: Start an existing streaming session
      effect: write
      questions:
      - How do I resume an existing streaming session?
      - Can I open a session I already started?
      instructions:
      - text: Start streaming session {session_id}.
        slots:
          session_id: requestBody.session_id
      - text: Resume the existing avatar session {session_id}.
        slots:
          session_id: requestBody.session_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.list'].get
  update:
    x-apievangelist-phrasing:
      intent: List active streaming sessions
      effect: read
      questions:
      - Which streaming sessions are currently active?
      - What avatar sessions are running right now?
      instructions:
      - text: List my active streaming sessions.
      - text: Show every avatar session that is currently streaming.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.new'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a new streaming session with an avatar
      effect: write
      questions:
      - How do I start a new avatar streaming session?
      - Can I pick an avatar and voice for a fresh streaming session?
      instructions:
      - text: Start a new streaming session with avatar {avatar_id}.
        slots:
          avatar_id: requestBody.avatar_id
      - text: Start a new avatar session using voice {voice_name}.
        slots:
          voice_name: requestBody.voice_name
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.create_token'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a token for a streaming session
      effect: write
      questions:
      - How do I get a token to access a streaming session?
      - Can I create a new access token for an avatar session?
      instructions:
      - text: Create a session token for this streaming session.
      - text: Generate a new access token for the avatar session.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming.interrupt'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop an avatar from speaking mid-sentence
      effect: destructive
      questions:
      - How do I make an avatar stop speaking immediately?
      - Can I interrupt an avatar's streaming speech?
      instructions:
      - text: Interrupt the avatar's speaking in session {session_id}.
        slots:
          session_id: requestBody.session_id
      - text: Stop the avatar mid-sentence in session {session_id}.
        slots:
          session_id: requestBody.session_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/streaming/avatar.list'].get
  update:
    x-apievangelist-phrasing:
      intent: List interactive avatars for streaming
      effect: read
      questions:
      - Which interactive avatars can I use for streaming?
      - What avatars are available for avatar sessions?
      instructions:
      - text: List the interactive avatars available for streaming.
      - text: Show every avatar I can start a streaming session with.
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/heygen-streaming-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.