Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

F5 TTS

sandbase-ai/f5-tts

F5 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
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
The text to convert to speech (up to 5,000 characters).
Reference voice to clone, as an audio file or URL.
Transcript of the reference audio. When empty, speech recognition generates it.
Model used for synthesis.
Remove silence from the output audio.
ÇıktıHazır

Çı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

FieldTypeDefaultNotes
textstring, required—Text to speak.
reference_audioaudio file or URL, required—Voice to clone.
reference_textstring``Transcript of the reference clip; auto-transcribed when empty.
tts_modelF5-TTS / E2-TTSF5-TTSSynthesis model.
remove_silencebooleantrueTrim silences from the output.

Billing

$0.05 per 1,000 characters of input text, billed per character.

TextPrice
200 characters$0.01
1,000 characters$0.05
5,000 characters$0.25

Failed runs are not charged.

Prompting

  • Provide reference_text for 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.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
sandbase-ai/f5-tts
# 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"
01

Giriş Şeması

5 parametre · 2 zorunlu · 3 isteğe bağlı

ParametreTürZorunluAçıklama
textstringZorunluThe text to convert to speech (up to 5,000 characters). · Maks. uzunluk: 5000
reference_audiostringZorunluReference voice to clone, as an audio file or URL.
tts_modelstringİsteğe bağlıModel used for synthesis. · Seçenekler: F5-TTS, E2-TTS · Varsayılan: "F5-TTS"
F5-TTSE2-TTS
reference_textstringİsteğe bağlıTranscript of the reference audio. When empty, speech recognition generates it. · Varsayılan: ""
remove_silencebooleanİsteğe bağlıRemove silence from the output audio. · Varsayılan: true
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİ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.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
F5 TTSBu model
SandBase AI
Ses$0.05 / çalıştırma17 Eki 2024
SandBase AISes$0.01 / çalıştırma16 Haz 2026
SandBase AISes$0.06 / çalıştırma7 Oca 2026
SandBase AISes$0.01 / çalıştırma24 Eki 2025
sandbase-aiSes$0.02 / çalıştırma7 Eki 2025
SandBase AISes$0.05 / çalıştırma4 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.