Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

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.

Grundpreis
$0.05USD / Ausführung
Ausführung
async
Modelltyp
audio
Eingabefelder
5
Produktionsroute

Modell testen

Playground

Playground öffnen
Eingabe
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.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

Modellkarte

Spezifikationen

Preisgestaltung

Basispreis
$0.05 / Ausführung

Kontext & Modalitäten

Eingabe
Schema-definiert
Ausgabe
audio

Funktionen

Chat
Nicht unterstützt
Vision
Nicht unterstützt
Reasoning
Nicht unterstützt
Strukturierte Ausgabe
Nicht unterstützt
Function Calling
Nicht unterstützt
Audioeingabe
Nicht unterstützt

Zugriff

Anbieter
SandBase AI
Modell-ID
sandbase-ai/f5-tts
Ausführung
async
Basis-URL
https://api.sandbase.ai
API
Unified Run API
Endpunkt
/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.

Jetzt loslegen

Senden Sie Ihre erste Anfrage

OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.

Produktions-API
Unified Run API-Endpunkt
https://api.sandbase.ai/v1/run
Modell-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

Eingabeschema

5 Parameter · 2 erforderlich · 3 optional

ParameterTypErforderlichBeschreibung
textstringErforderlichThe text to convert to speech (up to 5,000 characters). · Maximale Länge: 5000
reference_audiostringErforderlichReference voice to clone, as an audio file or URL.
tts_modelstringOptionalModel used for synthesis. · Optionen: F5-TTS, E2-TTS · Standard: "F5-TTS"
F5-TTSE2-TTS
reference_textstringOptionalTranscript of the reference audio. When empty, speech recognition generates it. · Standard: ""
remove_silencebooleanOptionalRemove silence from the output audio. · Standard: true
02

Ausgabeschema

FeldTypBeschreibung
idstringEindeutige Kennung für den Generierungsauftrag
statusstringStatus des Auftrags: pending, running, completed, failed, timeout
modelstringVerwendetes Modell für die Generierung
outputsarrayArray von Ausgabeelementen
outputs[].urlstringURL des generierten Artefakts
outputs[].content_typestringMIME-Typ (z. B. image/png, video/mp4)
errorobject | nullFehlerdetails bei Fehlschlag, bei Erfolg null
error.typestringMaschinenlesbarer Fehler-Typcode
error.messagestringMenschenlesbare Fehlerbeschreibung

Asynchroner Workflow

Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.

  1. Senden: Per POST an /v1/run senden und das zurückgegebene id lesen.
  2. Pollen: GET /v1/run/{id}, bis der Status completed, failed oder timeout ist.
  3. Abrufen: outputs aus der abgeschlossenen Antwort lesen.

Wählen Sie Ihr Modell

Modelle vergleichen

Alle Bild- und Videomodelle
ModellTypStandardpreisVeröffentlicht
F5 TTSDieses Modell
SandBase AI
Audio$0.05 / Lauf17. Okt. 2024
SandBase AIAudio$0.01 / Lauf16. Juni 2026
SandBase AIAudio$0.06 / Lauf7. Jan. 2026
SandBase AIAudio$0.01 / Lauf24. Okt. 2025
sandbase-aiAudio$0.02 / Lauf7. Okt. 2025
SandBase AIAudio$0.05 / Lauf4. Apr. 2025

Fragen

FAQ

Wie rufe ich SandBase AI F5 TTS über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "sandbase-ai/f5-tts" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Benötige ich ein separates SandBase AI-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf SandBase AI F5 TTS und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei SandBase AI registrieren.