AI Voice Generator API

API Endpoint Specifications

  • Endpoint Path: /api/3/voice-generator
  • Type of Data: JSON & 2/minute
  • Data Source: BUYFROMLO, Gemini, Llama, Palm, Claude, OpenAI, etc
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
AI Voice Generator API Endpoint Basic Info

API Endpoint Path

required

AI Audio Transcriptor API

/api/3/voice-generator


Call Method

Required

POST

Type of Data Return

JSON

Downloadable File Link from the response


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Free and subscription APIs are both available on /api/3/voice-generator, and accessible to on-site APP on /app/3/voice-generator as well

rawContent

required

Submit the raw content piece

typeofcontent

required

Type of Content: Text API, HTML Content API

language

required

Language: US-English, UK-English, Japanese

gender

required

Gender: Male, Female

filename

required

Input the audio file name



AI Audio Transcriptor API

/api/3/voice-generator


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/3/voice-generator"

## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
language=""
gender=""
filename=""
typeofcontent=""

data={"rawContent": originalContent,"language": language,"gender": gender, "filename": filename,"typeofcontent": typeofcontent}
headers={"Authorization": "Bearer " + token}

## Call the api ##'&
response = requests.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "Audio_link":"a link",
}