API:Generative AI
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
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
AI Audio Transcriptor API
/api/3/voice-generator
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",
}
The AI Voice Generator API converts text into high-quality voice audio files using advanced language models.
The API supports over 5 languages, including English, Japanese, and Mandarin.
The request limit is 500 requests per month.
Yes, you can easily integrate the API using various scripting languages like cURL, JavaScript, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
The API uses JSON data format.
The endpoint path for the API is '\/api\/3\/voice-generator'.
The API sources its data from various LLMs like BUYFROMLO, Gemini, Llama, Palm, Claude, and OpenAI.
You can make up to 2 requests per minute.
A paid token grants access to the BuyfromLo onsite app, providing additional features and benefits.
The API can be integrated using cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and Typescript.