HeyGen Voice Turbo
heygen/voice/turboHeyGen Voice Turbo turns text into natural, expressive speech in 39 languages with 24 public voices or an instant voice clone from a reference recording. Turbo is the faster, lower-cost tier.
- Precio base
- $0.005USD / ejecución
- Ejecución
- async
- Tipo de modelo
- audio
- Campos de entrada
- 5
Probar el modelo
Entorno de pruebas
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Ficha del modelo
Especificaciones
Precios
- Precio base
- $0.005 / ejecución
Contexto y modalidades
- Entrada
- Definido por esquema
- Salida
- audio
Capacidades
- Chat
- No compatible
- Visión
- No compatible
- Razonamiento
- No compatible
- Salida estructurada
- No compatible
- Llamadas a funciones
- No compatible
- Entrada de audio
- No compatible
Acceso
- Proveedor
- HeyGen
- ID del modelo
- heygen/voice/turbo
- Ejecución
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README de la API
HeyGen Voice Turbo
HeyGen Voice Turbo speaks up to 5,000 characters of text in 39 languages with 24 public voices or an instant clone of a single-speaker reference recording, and returns a 44.1 kHz WAV file. Turbo is the fast, low-cost tier.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak. |
voice | string | Jonah | Public voice; ignored when reference_audio is set. See the schema for supported values. |
reference_audio | audio file or URL | — | Single-speaker clip (MP3/WAV/OGG) to clone; first 3 minutes used. |
language | string | — | Language code; detected from the text when omitted. See the schema for supported values. |
expressiveness_boost | number 0–1 | 1 | 0 = flat, 1 = most expressive. |
Billing
$0.005 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 200 characters | $0.001 |
| 1,000 characters | $0.005 |
| 5,000 characters | $0.025 |
Failed runs are not charged.
Prompting
- Use punctuation to guide phrasing; give a clean, single-speaker clip for cloning.
Also on SandBase
Related: heygen/voice, heygen/avatar6/image-to-video.
Empiece a construir
Envíe su primera solicitud
Endpoint compatible con OpenAI con autenticación unificada y seguimiento de uso.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "heygen/voice/turbo",
"text": "Hello! This is HeyGen Voice, speaking on SandBase.",
"voice": "Jonah",
"expressiveness_boost": 1
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Esquema de entrada
5 parámetros · 1 obligatorios · 4 opcionales
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
text | string | Obligatorio | The text to speak. · Longitud mínima: 1 · Longitud máxima: 5000 |
voice | string | Opcional | HeyGen public voice. Ignored when `reference_audio` is set. · Opciones: Jonah, Nadine, Tabitha, Soren, Elowen, Vincent, Jocelyn, Marielle, Corinne, Lucian, Kieran, Hugh, Noelle, Bram, Ewan, Iona, Cecily, Simon, Weston, Felicity, Gareth, Rory, Meredith, Sabrina · Valor predeterminado: "Jonah" JonahNadineTabithaSorenElowenVincentJocelynMarielleCorinneLucianKieranHughNoelleBramEwanIonaCecilySimonWestonFelicityGarethRoryMeredithSabrina |
language | string | Opcional | Language of the text. Detected from the text when omitted. It does not translate the text. · Opciones: ar, be, bg, ca, cs, da, de, el, en, es, fa, fi, fr, he, hi, hr, hu, id, it, ja, ko, mk, ms, nl, pl, pt, ro, ru, sk, sl, sr, sv, ta, th, tl, tr, uk, vi, zh arbebgcacsdadeelenesfafifrhehihrhuiditjakomkmsnlplptroruskslsrsvtathtltrukvizh |
reference_audio | string | Opcional | Recording of a single speaker to clone instead of using a public voice, as an audio file or URL (MP3, WAV, or OGG). Only the first 3 minutes are used. |
expressiveness_boost | number | Opcional | How expressive the delivery is. · Mín.: 0 · Máx.: 1 · Valor predeterminado: 1 |
Esquema de salida
| Campo | Tipo | Descripción |
|---|---|---|
id | string | Identificador único de la tarea de generación |
status | string | Estado de la tarea: pending, running, completed, failed, timeout |
model | string | Modelo usado para la generación |
outputs | array | Matriz de elementos de salida |
outputs[].url | string | URL del artefacto generado |
outputs[].content_type | string | Tipo MIME (por ejemplo, image/png, video/mp4) |
error | object | null | Detalles del error si falla; null en caso de éxito |
error.type | string | Código de tipo de error legible por máquina |
error.message | string | Descripción del error legible por humanos |
Flujo asíncrono
Este modelo se ejecuta de forma asíncrona. Envía una solicitud y luego consulta el resultado.
- Enviar: haz POST a /v1/run y lee el
iddevuelto. - Consultar: haz GET a /v1/run/{id} hasta que el estado sea
completed,failedotimeout. - Recuperar: lee
outputsde la respuesta completada.
Elija su modelo
Comparar modelos
| Modelo | Tipo | Precio predeterminado | Lanzamiento |
|---|---|---|---|
HeyGen Voice TurboEste modelo HeyGen | Audio | $0.01 / ejecución | 21 oct 2026 |
HeyGen | Audio | $0.03 / ejecución | 21 oct 2026 |
HeyGen | Audio | $0.04 / ejecución | 21 oct 2026 |
HeyGen | Audio | $0.00 / ejecución | 21 oct 2026 |
Preguntas
FAQ
¿Cómo llamo a HeyGen Voice Turbo a través de SandBase?
Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "heygen/voice/turbo" a Unified Run API (/v1/run) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.
¿Necesito una cuenta separada de HeyGen?
No. Una sola clave API y saldo de SandBase te dan acceso a HeyGen Voice Turbo y a los demás modelos del catálogo; no necesitas registrarte aparte en HeyGen.
