Stuttering Remove
curl --request POST \
--url https://apis.finevoice.ai/v1/enhancer/stuttering/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://example.com/audio.mp3",
"whisper_model_size": "base",
"min_similarity": 0.75,
"max_gap_ms": 500,
"output_format": "wav"
}
'import requests
url = "https://apis.finevoice.ai/v1/enhancer/stuttering/remove"
payload = {
"url": "https://example.com/audio.mp3",
"whisper_model_size": "base",
"min_similarity": 0.75,
"max_gap_ms": 500,
"output_format": "wav"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com/audio.mp3',
whisper_model_size: 'base',
min_similarity: 0.75,
max_gap_ms: 500,
output_format: 'wav'
})
};
fetch('https://apis.finevoice.ai/v1/enhancer/stuttering/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apis.finevoice.ai/v1/enhancer/stuttering/remove",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => 'https://example.com/audio.mp3',
'whisper_model_size' => 'base',
'min_similarity' => 0.75,
'max_gap_ms' => 500,
'output_format' => 'wav'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apis.finevoice.ai/v1/enhancer/stuttering/remove"
payload := strings.NewReader("{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apis.finevoice.ai/v1/enhancer/stuttering/remove")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.finevoice.ai/v1/enhancer/stuttering/remove")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}"
response = http.request(request)
puts response.read_body{}Audio Enhancement
Stuttering Remove
Detect and remove stuttering segments from audio using Whisper ASR. Returns processed audio file.
POST
/
v1
/
enhancer
/
stuttering
/
remove
Stuttering Remove
curl --request POST \
--url https://apis.finevoice.ai/v1/enhancer/stuttering/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://example.com/audio.mp3",
"whisper_model_size": "base",
"min_similarity": 0.75,
"max_gap_ms": 500,
"output_format": "wav"
}
'import requests
url = "https://apis.finevoice.ai/v1/enhancer/stuttering/remove"
payload = {
"url": "https://example.com/audio.mp3",
"whisper_model_size": "base",
"min_similarity": 0.75,
"max_gap_ms": 500,
"output_format": "wav"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com/audio.mp3',
whisper_model_size: 'base',
min_similarity: 0.75,
max_gap_ms: 500,
output_format: 'wav'
})
};
fetch('https://apis.finevoice.ai/v1/enhancer/stuttering/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apis.finevoice.ai/v1/enhancer/stuttering/remove",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => 'https://example.com/audio.mp3',
'whisper_model_size' => 'base',
'min_similarity' => 0.75,
'max_gap_ms' => 500,
'output_format' => 'wav'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apis.finevoice.ai/v1/enhancer/stuttering/remove"
payload := strings.NewReader("{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apis.finevoice.ai/v1/enhancer/stuttering/remove")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apis.finevoice.ai/v1/enhancer/stuttering/remove")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://example.com/audio.mp3\",\n \"whisper_model_size\": \"base\",\n \"min_similarity\": 0.75,\n \"max_gap_ms\": 500,\n \"output_format\": \"wav\"\n}"
response = http.request(request)
puts response.read_body{}Authorizations
Bearer token (API key). Format: Bearer {your_api_key}
Body
application/json
The stuttering removal request payload.
Audio URL (http/https).
Example:
"https://example.com/audio.mp3"
Whisper model size for stutter detection: tiny, base, small, or medium.
Minimum similarity threshold for stutter detection.
Required range:
0.5 <= x <= 1Maximum gap between stutter repetitions in ms.
Required range:
x >= 0Output format: wav, mp3, flac, or m4a.
Response
Processed audio file returned.
The response is of type object.
⌘I