HeyGen Voice Turbo (free)
HeyGen Voice Turbo is a lower-latency version of HeyGen Voice, HeyGen's text-to-speech model.
- Context Window
- —
- In
- Freeper million tokens
- Out
- Freeper million tokens
heygen
heygen/ heygen-voice-1-turbo:freeSpecifications
InFree
OutFree
- Modalities
- speech
- Price
- Free in · Free out, per million tokens
- Model ID
- heygen/heygen-voice-1-turbo:free
Quick start
heygen/heygen-voice-1-turbo:free
Free in · Free out, per million tokens
import OpenAI from 'openai'
const client = new OpenAI({
apiKey: process.env.HANZO_API_KEY,
baseURL: 'https://api.hanzo.ai/v1'
})
const response = await client.chat.completions.create({
model: 'heygen/heygen-voice-1-turbo:free',
messages: [{ role: 'user', content: 'Hello!' }]
})
console.log(response.choices[0].message.content)
from openai import OpenAI
client = OpenAI(
api_key=os.environ["HANZO_API_KEY"],
base_url="https://api.hanzo.ai/v1"
)
response = client.chat.completions.create(
model="heygen/heygen-voice-1-turbo:free",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://api.hanzo.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HANZO_API_KEY" \
-d '{
"model": "heygen/heygen-voice-1-turbo:free",
"messages": [{"role": "user", "content": "Hello!"}]
}'
package main
import (
"context"
"fmt"
"os"
"github.com/sashabaranov/go-openai"
)
func main() {
cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY"))
cfg.BaseURL = "https://api.hanzo.ai/v1"
client := openai.NewClientWithConfig(cfg)
resp, _ := client.CreateChatCompletion(context.Background(),
openai.ChatCompletionRequest{
Model: "heygen/heygen-voice-1-turbo:free",
Messages: []openai.ChatCompletionMessage{
{Role: openai.ChatMessageRoleUser, Content: "Hello!"},
},
},
)
fmt.Println(resp.Choices[0].Message.Content)
}
More from heygen
View all heygen models →$0Bill a month
$0 a month at 10M in and 2M out.
HeyGen Voice Turbo (free)$0—
- HeyGen Video HeyGen Video is a general-purpose video generation model from HeyGen. It renders short clips with synthesized audio (dialogue, ambience, and sound effects) in a single call, working from a text...
- HeyGen Voice HeyGen Voice is a text-to-speech model from HeyGen. It comes with 10 default voices, or bring your own HeyGen key to use voice clones from your own account. It streams...
- HeyGen Voice Turbo HeyGen Voice Turbo is a lower-latency version of HeyGen Voice, HeyGen's text-to-speech model. It has the same 10 default voices, or bring your own HeyGen key to use voice clones...
Use HeyGen Voice Turbo (free) via Hanzo AI
One API key. Every major model. OpenAI-compatible. Start free.
