POST
/
api
/
changeaudiofile
curl --request POST \
  --url https://voiceai.fineshare.com/api/changeaudiofile \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uuid": "task_id",
  "voice": "spongebob",
  "pitch": 0,
  "speed": 1,
  "from": "fv-file-changer",
  "outputFormat": ".mp3",
  "audioName": "sample_audio",
  "platform": "web",
  "pitch_control": "semi-tone",
  "operation": "FVC",
  "engine": "v5",
  "auto_f0_adjust": true
}'
{
  "status": "success",
  "message": "Audio file transformed successfully.",
  "data": {
    "audioUrl": "http://example.com/transformed_audio.mp3",
    "processingTime": 1500
  }
}

Headers

Authorization
string
required

Bearer token for authentication.

Body

application/json
uuid
string

Unique identifier of the audio file.

Example:

"task_id"

voice
string

Voice type for transformation.

Example:

"spongebob"

pitch
number

Pitch adjustment value.

Example:

0

speed
number

Speed adjustment value.

Example:

1

from
enum<string>

Source format or language.

Available options:
fv-file-changer
Example:

"fv-file-changer"

outputFormat
string

Desired output format for the audio file.

Example:

".mp3"

audioName
string

Name of the audio file.

Example:

"sample_audio"

platform
string

Platform information for the transformation.

Example:

"web"

pitch_control
string

Advanced pitch control settings.

Example:

"semi-tone"

operation
enum<string>

Type of operation to perform.

Available options:
FVC
Example:

"FVC"

engine
enum<string>

Engine used for processing.

Available options:
v5,
v7
Example:

"v5"

auto_f0_adjust
boolean

Indicates if automatic F0 adjustment is applied.

Example:

true

Response

200
application/json
Audio file transformed successfully.
status
string
Example:

"success"

message
string
Example:

"Audio file transformed successfully."

data
object