API:Generative AI
API Endpoint Path
required
AI Video Subtitle Converter API
api/1/video-subtitle-generator
Call Method
Required
POST
Type of Data Return
JSON
Downloadable File Link from the response
token
required
BUYFROMLO API token. Free and paid subscription APIs are both available: /api/1/video-subtitle-generator, and accessible to on-site APP on /app/1/video-subtitle-generator as well
youtubevideoID
required
Upload an audio flac file on the on-site app, or input a downloadable link using API
AI Video Subtitle Converter API
api/1/video-subtitle-generator
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/video-subtitle-generator"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
youtubevideoID = ""
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(apiendpoint, json={"youtubevideoID": youtubevideoID}, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Subtitle Link": "a link"
}
BUYFROMLO AI Video Subtitle Converter API is a tool that allows you to extract audio from a video and convert it into a subtitle file.
The API supports a variety of video formats, including MP4, MPV, and MP3.
The API supports VTT, SRT, and TXT subtitle formats.
Yes, there is a free version of the API that allows you to generate up to 30 subtitles per month.
Yes, there is a paid version of the API that allows you to generate more subtitles per month and offers additional features.
The API can be integrated with your application using a variety of programming languages, including cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, there is an onsite APP version of the API that allows you to generate video subtitles directly from the BUYFROMLO website.
The request limit for the API is 30 videos per month for the token\/month.
The API returns data in JSON format.
You can find more information about the API in the BUYFROMLO documentation.