Audiogram creation for developers!

Use our simple API to create audiograms from your application
Get started
curl https://sandbox.textreel.com/v1/conversions \
 -u test_lglFMa20EdjD09df2KFZAs49: \
 -X POST \
 -F "audio_file=@/path/to/audio.mp3" \
 -F "video_format=mp4"
$endpoint = "https://sandbox.textreel.com/v1/conversions";
$api_key = "test_lglFMa20EdjD09df2KFZAs49"; // Find your API keys at https://textreel.com/dashboard/keys
$audio_file_path = "/path/to/audio.mp3"

// Since PHP 5.5+ CURLFile is the preferred method for uploading files
if(function_exists('curl_file_create')) {
  $audio_file = curl_file_create($audio_file_path);
} else {
  $audio_file = '@' . realpath($audio_file_path);
}

$post_data = array(
  "audio_file" => $audio_file,
  "video_format" => 'mp4'
);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $endpoint);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($ch, CURLOPT_SAFE_UPLOAD, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, $api_key . ":"); // Authenticate using key
$body, = curl_exec($ch,);
curl_close($ch);

$response = json_decode($body, true);
{
    "status": 201,
    "message": "Sucessfully created conversion",
    "sandbox": true,
    "data": {
        id: 20,
        name: 'Audio conversion through API',
        file_extension: '.mp3',
        size: 74.61,
        audio_length: 19,
        resolution: '720x720',
        text_colour: '#ffffff',
        background_colour: '#000000',
        background_image: null,
        background_image_extension: null,
        profanity_filter: true,
        language: 'en-US',
        soundwave: true,
        template: 1,
        video_format: 'mp4',
        credits: 1,
        status: 'Fetching transcript',
    }
}
Pay for what you use

No monthly subscription just pay for the audio you convert.

Designed for developers

We've designed our API to be developer-friendly with great documentation.

Unlimited scalability

Whether you convert 1 audio a month or 10,000 we've got you covered.

Low cost

Competitive pricing from just $0.35c a minute