Send feedback
  
   
 
  
    
      Cloud Text-to-Speech API 
  
  
  
   
  
    
  
  
    
    
    
    
      Synthesizes natural-sounding speech by applying powerful neural network models.
      
        Service: texttospeech.googleapis.com 
        The Service name texttospeech.googleapis.com is needed to create RPC client stubs.
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  ListVoices  
                
                  Returns a list of Voice supported for synthesis. 
               
              
                
                  StreamingSynthesize  
                
                  Performs bidirectional streaming speech synthesis: receives audio while sending text. 
               
              
                
                  SynthesizeSpeech  
                
                  Synthesizes speech synchronously: receive results after all text input has been processed. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  SynthesizeLongAudio  
                
                  Synthesizes long form text asynchronously. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  ListVoices  
                
                  Returns a list of Voice supported for synthesis. 
               
              
                
                  StreamingSynthesize  
                
                  Performs bidirectional streaming speech synthesis: receives audio while sending text. 
               
              
                
                  SynthesizeSpeech  
                
                  Synthesizes speech synchronously: receive results after all text input has been processed. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  SynthesizeLongAudio  
                
                  Synthesizes long form text asynchronously. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  CancelOperation  
                
                  Starts asynchronous cancellation on a long-running operation. 
               
              
                
                  DeleteOperation  
                
                  Deletes a long-running operation. 
               
              
                
                  GetOperation  
                
                  Gets the latest state of a long-running operation. 
               
              
                
                  ListOperations  
                
                  Lists operations that match the specified filter in the request. 
               
              
                
                  WaitOperation  
                
                  Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. 
               
             
          
         
       
     
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-06-27 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[]]