Skip to main content

audio models

F5 TTS API & Playground

通过 PiAPI 使用 F5 TTS(官方名称 F5-TTS)API,从参考音频样本克隆声音,从文本生成自然、高质量的语音音频。

立即开始!

F5 TTS API 定价

Pay-as-you-go access through PiAPI.

Text-to-Speechper 1k characters

$0.025

    F5 TTS API 功能特性

    Capabilities from the production model page.

    无缝集成

    通过简单的 POST 请求调用 F5 TTS AI API,使用标准 JSON 字段指定模型和输入,几分钟内即可接入您现有的后端或工作流程。

    批量处理

    通过排队多个 F5-TTS 任务并行处理大量文本片段,非常适合有声书、客服响应、本地化或任何大批量文本转语音工作负载。

    高质量结果

    F5 文本 API 的零样本语音克隆可生成自然、富有表现力的语音,与您的参考语音样本高度匹配,可用于生产级音频。

    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 常见问题

    什么是 F5-TTS AI API?

    The F5-TTS AI API 是一个零样本文本转语音服务,可通过 PiAPI 使用。它允许您从参考音频样本克隆声音,并使用 Qubico/tts 模型从文本生成自然发音的语音。

    在哪里可以找到 F5-TTS API 文档?

    您可以在 F5-TTS API 文档 中查看规范、请求示例和响应格式。立即前往使用 F5 TTS API 生成您的文本转语音!

    F5-TTS 在 PiAPI 上的定价是多少?

    F5-TTS 文本转语音按 每 1000 字符 $0.025 计费。您只需为合成的字符付费。

    有退款吗?

    不,我们不提供退款。当您首次注册 PiAPI 工作区账户时,您将获得免费积分来试用 F5-TTS playground 和 API,然后再付款。

    如何联系你们的团队?

    请发送电子邮件至 support@piapi.ai — 我们很乐意听取您的反馈并探索潜在的合作机会!

    More questions? See the API docs.

    Our blog

    F5-TTS API