1

Api.audio - Build Audio Experiences With Code

 2 years ago
source link: https://www.api.audio/?utm_content=buffera555e&utm_campaign=buffer
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How Developers Build Programmatic Audio

With just a few simple API calls, create text to speech, add audio design and make it sound beautiful, every time - at scale
1. Create script
Write it yourself or make it scalable by adding parameters
2. Turn text into speech
Choose from 250+ voices. Use multiple voices in one project
3. Enhance your audio
Add sound effects and let our AI engine make your audio sound great
4. Share it anywhere
Easily integrate into your application or website
API DEMOBuild audio in seconds
Step 1: Create your scriptType anything and choose your speaker
32/100
Aria 🇺🇸
#pip install -U apiaudio
import apiaudio 
apiaudio.api_key=API-KEY
script = apiaudio.Script.create( 
  scriptText = """
  <<soundSegment::intro>><<sectionName::intro>>
  Welcome to API.AUDIO.
  <<soundSegment::main>><<sectionName::main>>
  Hello World! Type anything here.
  <<soundSegment::outro>><<sectionName::outro>>
  Sign up and start building for free!
    """) 
apiaudio.Speech.create(
  scriptId=script.get("scriptId"), 
  voice="aria" 
    )
audio = apiaudio.Mastering.create(
  scriptId=script.get("scriptId"), 
  soundTemplate ="copacabana"
    )
print(audio)
Step 2: Add your sound designChoose a template and create your audio
Copacabana
Step 3: Retrieve your AudioClick the copy button to pick up your file
https://file.api.audio/demo.mp3
00:07

This is just a tiny fraction of what api.audio can do. Discover all functions now!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK