Skip to main content

Overview

This guide walks you through the complete FineVoice API workflow: from getting your API key to generating speech, converting voices, creating sound effects, and separating audio tracks. All audio processing tasks follow the same async pattern — submit a request, get a task_id, then poll for the result.

Get your API Key

  1. Open FineVoice and click Sign up in the top-right corner.
  2. Choose a sign-up method: Google, Apple, or Email.
  3. After logging in, navigate to the User Center.
Keep your API key secret. Never commit it to version control or expose it in client-side code.
  1. Go to https://finevoice.ai/usercenter
  2. Navigate to API Tokens
  3. Click Generate Secret Key and copy the key
Store it as an environment variable for all examples below:
Windows Command Prompt:

Async Task Pattern

All audio processing endpoints work the same way:
1

Submit the request

Send a POST request with your audio task parameters. The API immediately returns a task_id.
2

Poll for the result

Use GET /v1/task/{task_id} to check status. Poll every 2–3 seconds until status is completed.
3

Download the output


1. Text to Speech

Convert text into natural-sounding speech. Supports 1,500+ AI voices and emotion tags like [happy], [sad], [breathe].
1

Submit the TTS request

Response:
2

Poll for result

Response when completed:
3

Download the audio

Use the List Voices API to browse all available voice models and find the right voice name for your project.

2. Voice Conversion

Transform the voice in an existing audio file to a different AI voice while preserving the original content and timing.
1

Submit the conversion request

Response:
2

Poll for result

3

Download converted audio


3. Sound Effect Generation

Generate royalty-free sound effects from a text description. Perfect for videos, games, and podcasts.
1

Submit the SFX request

Response:
2

Poll and download

You can also generate effects directly from a video by providing sourceUrl and sourceType:

4. Audio Separation

Separate vocals from background music in any audio file. Ideal for remixing, karaoke creation, or vocal extraction.
1

Submit the separation request

Response:
2

Poll and download


5. Speech to Text

Transcribe speech from an audio or video URL. Supports optional speaker diarization and word-level timestamps.
1

Submit the STT request

Response:
2

Poll for result


6. Voice Cloning

Train a custom AI voice model from a short audio recording. Once trained, the voice name can be used in any TTS or Voice Conversion request.
For best results, use a clean 30–120 second recording with no background noise. After training completes, use the voice name you provided in any TTS or Voice Conversion request.

7. Music Generation

By Prompt

Generate a music track from a text description.

With Lyrics

Generate a full song with vocals using your own lyrics and style description.

Music Cover

Replace the vocals of an existing song with an AI voice.

8. Audio Enhancement

Quick Enhancement

Reduce background noise from a single audio file.

All-in-One Pipeline

Run multiple enhancement steps in a single request — noise reduction, filler word removal, silence trimming, and loudness normalization.
The Pipeline processes steps in a fixed order: Speech Enhancement → Remove Mouth Sounds → Remove Long Silences → Super Resolution → Filler Words Removal → Stuttering Removal → Audio Normalization. Enable only the steps you need.

9. Podcast Generation

Podcast Generation

Generate a multi-speaker AI podcast from a prompt or script.

Support

Need help? Check out these resources: