Xpersona
T

Text to Speech

CLAWHUB · Unverified

Generate speech audio from text using HeyGen's Starfish TTS model. Use when: (1) Generating standalone speech audio files from text, (2) Converting text to s... Skill: Text to Speech Owner: michaelwang11394 Summary: Generate speech audio from text using HeyGen's Starfish TTS model. Use when: (1) Generating standalone speech audio files from text, (2) Converting text to s... Tags: audio:2.23.0, heygen:2.23.0, latest:2.23.0, speech:2.23.0, starfish:2.23.0, text-to-speech:2.23.0, tts:2.23.0, voice:2.23.0 Version history: v2.23.0 | 2026-04-13T18:12:14.475Z | user Auto-publish fr

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171q3psxz493p60wc3kveddjx848c5x:text-to-speech-heygen
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-michaelwang11394-text-to-speech-heygen/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

101,140 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: text-to-speech
description: |
  Generate speech audio from text using HeyGen's Starfish TTS model. Use when: (1) Generating standalone speech audio files from text, (2) Converting text to speech with voice selection and speed control, (3) Creating audio for voiceovers, narration, or podcasts, (4) Working with HeyGen's /v3/voices endpoints, (5) Listing available TTS voices by language or gender.
allowed-tools: mcp__heygen__*
metadata:
  openclaw:
    requires:
      env:
        - HEYGEN_API_KEY
    primaryEnv: HEYGEN_API_KEY
---

# Text-to-Speech (HeyGen Starfish)

Generate speech audio files from text using HeyGen's in-house Starfish TTS model via the v3 API. This skill is for standalone audio generation — separate from video creation.

## Authentication

All requests require the `X-Api-Key` header. Set the `HEYGEN_API_KEY` environment variable.

```bash
curl -X GET "https://api.heygen.com/v3/voices?engine=starfish" \
  -H "X-Api-Key: $HEYGEN_API_KEY"
```

## Tool Selection

If HeyGen MCP tools are available (`mcp__heygen__*`), **prefer them** over direct HTTP API calls.

| Task | MCP Tool | Fallback (Direct API) |
|------|----------|----------------------|
| List TTS voices | `mcp__heygen__list_audio_voices` | `GET /v3/voices?engine=starfish` |
| Generate speech audio | `mcp__heygen__text_to_speech` | `POST /v3/voices/speech` |

## Default Workflow

1. List voices with `mcp__heygen__list_audio_voices` (or `GET /v3/voices?engine=starfish`)
2. Pick a voice matching desired language, gender, and features
3. Call `mcp__heygen__text_to_speech` (or `POST /v3/voices/speech`) with text and voice_id
4. Use the returned `audio_url` to download or play the audio

## List TTS Voices

Retrieve voices compatible with the Starfish TTS model.

> **Note:** This uses the unified `GET /v3/voices` endpoint with the `engine=starfish` filter to return only TTS-compatible voices. Not all video voices support Starfish TTS. The response is paginated — use `next_token` to fetch additional pages.

### Query Parameters

| Param | Type | Description |
|-------|------|-------------|
| `engine` | string | Filter by engine (use `starfish` for TTS voices) |
| `type` | string | `public` or `private` |
| `language` | string | Filter by language |
| `gender` | string | Filter by gender |
| `limit` | integer | Results per page, 1-100 |
| `token` | string | Pagination cursor from `next_token` |

### curl

```bash
curl -X GET "https://api.heygen.com/v3/voices?engine=starfish" \
  -H "X-Api-Key: $HEYGEN_API_KEY"
```

### TypeScript

```typescript
interface AudioVoiceItem {
  voice_id: string;
  name: string;
  language: string;
  gender: "female" | "male" | "unknown";
  preview_audio_url: string | null;
  support_pause: boolean;
  support_locale: boolean;
  type: string;
}

interface TTSVoicesResponse {
  error: null | string;
  data: AudioVoiceItem[];
  has_more: boolean;
  next_token: string | null;
}

async function listTTSVoices(): Promise<AudioVoiceItem[]> {
  const al

_meta.json

{
  "ownerId": "kn7dnc0jepdz3jy0rg589kcxns80dmr5",
  "slug": "text-to-speech-heygen",
  "version": "2.23.0",
  "publishedAt": 1776103934475
}

skill-card.md

## Description:

Generates standalone speech audio from text using HeyGen's Starfish TTS model, including voice listing, voice selection, speed control, SSML pauses, and multilingual locale options.

This skill is ready for commercial/non-commercial use.

## Publisher:

[michaelwang11394](https://clawhub.ai/user/michaelwang11394)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and content creators use this skill to list HeyGen Starfish-compatible voices and generate standalone speech audio for voiceovers, narration, podcasts, and related text-to-speech workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The agent needs access to a HeyGen API key.

Mitigation: Provide HEYGEN_API_KEY only in environments where the agent is approved to call HeyGen, and avoid exposing the key in prompts, logs, or generated examples.

Risk: Text chosen for speech generation is sent to HeyGen.

Mitigation: Do not submit confidential, regulated, or sensitive text unless that external processing is approved for the use case.

Risk: Broad HeyGen MCP tools may expose actions beyond the named text-to-speech workflow.

Mitigation: Prefer the named TTS tools when available and review any broader HeyGen MCP action before approval.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/michaelwang11394/skills/text-to-speech-heygen)
- [HeyGen Starfish voice listing endpoint](https://api.heygen.com/v3/voices?engine=starfish)
- [HeyGen speech generation endpoint](https://api.heygen.com/v3/voices/speech)

## Skill Output:

**Output Type(s):** [guidance, code, shell commands, configuration, API calls]

**Output Format:** [Markdown guidance with curl, TypeScript, Python, and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses HEYGEN_API_KEY and returns HeyGen voice metadata or generated audio URLs when the agent performs the described API calls.]

## Skill Version(s):

2.23.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Text to Speech and adjacent AI workflows.