Transcribe Your Voice in Real-Time with Voice AI

Check the improved platform at astica.ai

  • Improved Documentation
  • Improved Hearing AI Demo
  • Login using the same astica.org account
Try the New Platform You are on astica.org

High Precision Speech to Text

Capture accurate transcriptions in busy environments or files with multiple speakers. Astica will automatically focus on the predominant speaker when transcribing from audio files and microphones.

Transcribe in Realtime

You can use astica Voice API or transcribe online in realtime from an active microphone. Simply your operations and minimize meeting notes with automatic online transcriptions in your web browser.

How to Integrate
Speech to Text API

Integrate our Voice AI into your application to integrate speech to text and ability to transcribe text in realtime.

Instructions for the Javascript Speech to Text API are found below.
For other programming languages View REST API


Transcribe a URL
<script src="https://astica.ai/javascript-sdk/2023-07-09/astica.api.js"></script>
<script>
    //simple usage
    asticaListen('https://www.astica.org/endpoint/ml/inputs/audio/sample_1.wav'); 
    
    //speech to text example:
    function asticaListen_example() {  
        asticaListen('https://www.astica.org/endpoint/ml/inputs/audio/sample_1.wav'); 
    }       
    setTimeout(function() { 
        asticaAPI_start('API KEY HERE'); //run at least once    
        asticaListen_example();  
    }, 2000);
    
    
    //with parameters:
    function asticaListen_Sample() {          
        var astica_modelVersion = '1.0_full';
        var inputURL = 'https://www.astica.org/endpoint/ml/inputs/audio/sample_1.wav';
     
        //With default callback:
        asticaListen(astica_modelVersion, inputURL); 
        
        //With custom callback function:
        asticaListen(astica_modelVersion, inputURL, your_astica_CallBack);          
    }    
    function your_astica_CallBack(data) {   
        if(typeof data.error != 'undefined') { alert(data.error); }         
        console.log(data); //view all data
    }	
    setTimeout(function() { 
        asticaAPI_start('API KEY HERE'); //run at least once    
        asticaListen_Sample(); 
    }, 1000);
</script>

Transcribe a Local File
<script src="https://astica.ai/javascript-sdk/2023-07-09/astica.api.js"></script>
<script>

    //Transcribe Local File:
    var asticaTranscribeFile_input = document.getElementById('astica_ML_voice_input');     
    var asticaTranscribeFile_localData;
    document.addEventListener("DOMContentLoaded", () => {                    
        asticaTranscribeFile_input.addEventListener("change", function () {
            asticaTranscribeFile = asticaTranscribeFile_input.files[0];
        });
    });
    function asticaVoice_transcribeFile_test() {
        asticaAPI_start(document.getElementById("astica_ML_apikey").value); //only needs to be called once.   
        asticaListen_file('1.0_full', asticaTranscribeFile, your_astica_CallBack);                
    } 
    function your_astica_CallBack(data) {     
        if(typeof data.error != 'undefined') { alert(data.error); return; }
        console.log(data);
    }	
    //view all data
</script>