Knowledgebase Knowledgebase

  • Home
  • Learnitive.com
Home / Endpoints / Voiceover

Voiceover

487 views Less than a minute 0

Voiceover – Neural Text to Speech (TTS) a given text and output .mp3 file download link. Note that our vendor TTS service provider Amazon Polly restricts the real-time TTS to process only up to the 3,000 characters (~450 words) at a time. If your document has more than 3,000 characters in total, then the whole document TTS won’t work. Please generate mp3 files for one paragraph at a time, download and connect using Audacity or Camtasia.

CURL

curl  -H 'content-type: application/json' 
      -H 'Accept: application/json' 
      -H 'api-key: your-key' 
      -X POST https://www.learnitive.com/api/v1/voiceover
      --data '{"input": "BMW is a German multinational manufacturer of luxury vehicles ... was founded in 1916...",
               "voice":"Matthew",
               "speed":"100", 
             }'

Example output.

{
  "success": true,
  "status": "success",
  "message": [{
        "text": ""https:\/\/www.learnitive.com\/store\/tmp\/voice-Matthew-7f7fd2aae2.mp3"",
          }]
    
}

Parameter

  • input: string. Text to create the voice over.
  • voice: “Matthew”, “Joey”, “Justin”, “Brian”, “Joanna”, “Kendra”, “Kimberly”, “Salli”. Default: “Matthew”.
  • speed: number bentween [0-200] to set voiceover speed. Default: 100.
  • output:
    • text. A url to download the voiceover file in .mp3 format. The file will be expired (deleted) in a few hours.
APIvoiceover Endpoints

Social

Article Categories

Account API Billing Endpoints Getting Started Legal
@ Learnitive 2023