Skip to main content

audio models

F5 TTS API & Playground

Use the F5 TTS (officially known as F5-TTS) API via PiAPI to clone voices from a reference audio sample and generate natural, high-quality speech audio from text.

Get Started!

F5 TTS API Pricing

Pay-as-you-go access through PiAPI.

Text-to-Speechper 1k characters

$0.025

    F5 TTS API Features

    Capabilities from the production model page.

    Seamless Integration

    Call the F5 TTS AI API with a simple POST request, using standard JSON fields for model and input, and plug it into your existing backend or workflows in minutes.

    Batch Processing

    Process many text snippets in parallel by queuing multiple F5-TTS tasks, ideal for audiobooks, support responses, localization, or any high-volume text-to-speech workloads.

    High-Quality Results

    Zero-shot voice cloning with F5 text API produces natural, expressive speech that closely matches your reference voice sample for production-ready audio.

    Get started

    Create your API key

    Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

    Top up credits

    Add credits on the billing page when you are ready to scale beyond the free tier.

    Call the API

    POST your first task following the API docs, then poll the task until the result is ready.

    Iterate in the playground

    Prototype prompts and settings in the the playground above before wiring them into your product.

    curl -X POST 'https://api.piapi.ai/api/v1/task' \
      -H 'X-API-Key: YOUR_API_KEY' \
      -H 'Content-Type: application/json' \
      -d '{
        "model": "Qubico/tts",
        "task_type": "zero-shot",
        "input": {
          "gen_text": "Hi there, this is a sample generated with the F5-TTS API.",
          "ref_text": "",
          "ref_audio": "YOUR_AUDIO_URL"
        }
      }'
    
    # → { "task_id": "9d5a…", "status": "pending" }

    F5 TTS AI API Frequently Asked Questions

    What is the F5-TTS AI API?

    The F5-TTS AI API is a zeroshot text-to-speech service available via PiAPI . It lets you clone a voice from a reference audio sample and generate natural-sounding speech from text using the Qubico/tts model.

    Where can I find the F5-TTS API docs?

    You can view the spec, request examples, and response format in the F5-TTS API docs . Head over and generate your text to speech generation with F5 TTS API today!

    How is F5-TTS priced on PiAPI?

    F5-TTS text-to-speech is billed at $0.025 per 1000 characters generated. You only pay for the characters you synthesize.

    Are there refunds?

    No, we do not offer refunds. When you first sign up for a PiAPI Workspace account, you receive free credits to try the F5-TTS playground and API before paying.

    How can I get in touch with your team?

    Please email us at support@piapi.ai — we'd love to hear your feedback and explore potential collaborations!

    More questions? See the API docs.

    Our blog

    F5-TTS API