LogoLogo
IntroInstalling Dashboard
  • 🌐Distribute
    • Introducing DistributeAI
    • FAQ
  • 🪙Distribute For $DIS
    • Tokenomics
    • Important Addresses
      • Mint Address
      • Multi Sigs and Escrow
    • DIS Alpha Airdrop
  • DIS Beta Rewards Phase
  • 🏢Distribute For Enterprise
    • Enterprise Inference API
      • Authentication
      • Billing
        • Text To Text
        • Text To Image
        • Text To Speech
      • OpenAI Compatible API
        • Images
          • Generations
        • Chat
          • Completions
        • Audio
          • Speech
      • Async API
        • Chat
          • Chat Create
          • Chat Result
        • Images
          • Images Create
          • Images Result
        • Speech
          • Speech Create
          • Speech Result
    • Enterprise Compute Providers
  • 🖥️Distribute For Inference Providers
    • Chrome Extension
      • Installing Extension
        • Enabling Chrome Flags
        • Chrome GPU Setup Guide
      • Updating the Extension
    • Desktop App
      • Installing Desktop App
      • Desktop App Debugging
        • Windows Debugging
        • MacOS Debugging
        • Linux Debugging
      • Desktop System Requirements
  • 📱Distribute For Consumers
    • Distribute.ai Discord Bot
      • Adding the bot to a server
      • Adding the bot as a user app
      • Bot Commands
      • Generation Buttons
      • Prompting Guide
    • Distribute.ai Dashboard
      • Statistics
      • Referrals
      • Account Settings
Powered by GitBook
On this page
  1. Distribute For Enterprise
  2. Enterprise Inference API
  3. OpenAI Compatible API
  4. Audio

Speech

PreviousAudioNextAsync API

Last updated 1 day ago

🏢
post
Body
modelstring · enumRequiredPossible values:
streambooleanOptionalDefault: false
inputstring · max: 4096Required
voicestring · enumOptionalDefault: leoPossible values:
temperaturenumber · max: 1OptionalDefault: 0.8
exaggerationnumber · max: 1OptionalDefault: 0.5
cfg_weightnumber · max: 1OptionalDefault: 0.5
response_formatstring · enumOptionalDefault: wavPossible values:
Responses
200
Default Response
application/json
400
Default Response
application/json
404
Default Response
application/json
500
Default Response
application/json
post
POST /v1/audio/speech HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 144

{
  "model": "Chatterbox",
  "stream": false,
  "input": "text",
  "voice": "leo",
  "temperature": 0.8,
  "exaggeration": 0.5,
  "cfg_weight": 0.5,
  "response_format": "wav"
}
[
  {
    "url": "text"
  }
]