FigoAILabs API Documentation
  1. APIs
FigoAILabs API Documentation
  • Quickstart
  • Website Javascript Plugin
  • Rate Limits & Pricing
  • APIs
    • Chat Assistant API
      POST
    • Image Assistant API
      POST
    • Text To Speech API
      POST
    • Speech To Text API
      POST
    • Guardrails API
      POST
    • CV Scoring API
      POST
    • Web Search API
      POST
    • Sentiment Analysis API
      POST
    • Message Context API
      POST
    • Image Analyzer API
      POST
  1. APIs

Text To Speech API

POST
https://api.figolabs.ai/api/v1/tts
Apis
Maintainer:Figo AI Labs
Text To Speech API provides a REST API interface to allow you convert any text to speech audio.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.figolabs.ai/api/v1/tts' \
--header 'Authorization: Bearer {Your-API-Key}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "text": "Hello there! My name is Figo.",
    "voice": "female"
}'

Request

Header Params
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {Your-API-Key}
Body Params application/json
text
string 
required
text to convert
<= 500 characters
voice
string 
required
male or female
<= 50 characters
Examples

Responses

🟢200OK
audio/mp4
Body
responseCode
string 
required
00 - Successful, 99 - Failure response
responseMessage
string 
required
message
responseData
object 
required
Modified at 2025-04-20 18:36:19
Previous
Image Assistant API
Next
Speech To Text API
Built with