F5 TTS
sandbase-ai/f5-ttsF5 TTS clones a voice from a reference clip and speaks new text in it, using the F5-TTS or E2-TTS flow-matching model, with optional silence removal.
- Taban fiyat
- $0.05USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 5
Modeli deneyin
Oynatma Alanı
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Model kartı
Teknik özellikler
Fiyatlandırma
- Temel fiyat
- $0.05 / çalıştırma
Bağlam ve modaliteler
- Girdi
- Şemada tanımlı
- Çıktı
- audio
Yetenekler
- Sohbet
- Desteklenmiyor
- Görsel
- Desteklenmiyor
- Akıl yürütme
- Desteklenmiyor
- Yapılandırılmış çıktı
- Desteklenmiyor
- Fonksiyon çağırma
- Desteklenmiyor
- Ses girdisi
- Desteklenmiyor
Erişim
- Sağlayıcı
- SandBase AI
- Model kimliği
- sandbase-ai/f5-tts
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
F5 TTS
F5 TTS speaks up to 5,000 characters of text in a voice cloned from a reference clip, using the F5-TTS or E2-TTS model.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak. |
reference_audio | audio file or URL, required | — | Voice to clone. |
reference_text | string | `` | Transcript of the reference clip; auto-transcribed when empty. |
tts_model | F5-TTS / E2-TTS | F5-TTS | Synthesis model. |
remove_silence | boolean | true | Trim silences from the output. |
Billing
$0.05 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 200 characters | $0.01 |
| 1,000 characters | $0.05 |
| 5,000 characters | $0.25 |
Failed runs are not charged.
Prompting
- Provide
reference_textfor the clip to avoid transcription errors.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# 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": "sandbase-ai/f5-tts",
"text": "I don't really care what you call me. I've been a silent spectator, watching species evolve.",
"tts_model": "F5-TTS",
"reference_text": "Some call me nature, others call me mother nature.",
"remove_silence": true,
"reference_audio": "https://storage.googleapis.com/falserverless/example_inputs/reference_audio.wav"
}
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"Giriş Şeması
5 parametre · 2 zorunlu · 3 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
text | string | Zorunlu | The text to convert to speech (up to 5,000 characters). · Maks. uzunluk: 5000 |
reference_audio | string | Zorunlu | Reference voice to clone, as an audio file or URL. |
tts_model | string | İsteğe bağlı | Model used for synthesis. · Seçenekler: F5-TTS, E2-TTS · Varsayılan: "F5-TTS" F5-TTSE2-TTS |
reference_text | string | İsteğe bağlı | Transcript of the reference audio. When empty, speech recognition generates it. · Varsayılan: "" |
remove_silence | boolean | İsteğe bağlı | Remove silence from the output audio. · Varsayılan: true |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İnsan tarafından okunabilir hata açıklaması |
Asenkron İş Akışı
Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
F5 TTSBu model SandBase AI | Ses | $0.05 / çalıştırma | 17 Eki 2024 |
SandBase AI | Ses | $0.01 / çalıştırma | 16 Haz 2026 |
SandBase AI | Ses | $0.06 / çalıştırma | 7 Oca 2026 |
SandBase AI | Ses | $0.01 / çalıştırma | 24 Eki 2025 |
sandbase-ai | Ses | $0.02 / çalıştırma | 7 Eki 2025 |
SandBase AI | Ses | $0.05 / çalıştırma | 4 Nis 2025 |
Sorular
SSS
SandBase AI F5 TTS'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "sandbase-ai/f5-tts" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Ayrı bir SandBase AI hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size SandBase AI F5 TTS ve katalogdaki diğer modellere erişim sağlar; SandBase AI için ayrıca kayıt olmanız gerekmez.
