Skip to main content
POST
/
v1
/
custom-voices
/
cloned-voice
cURL
curl -X POST "http://api.apne2.stg.sup.band/v1/custom-voices/cloned-voice" \
  -H "x-sup-api-key: <api-key>" \
  -F "files=@<audio-file>.wav;type=audio/wav" \
  -F "name=<voice-name>"
{
  "voice_id": "voice_123456789"
}

エンドポイント

https://supertoneapi.com/v1/custom-voices/cloned-voice

リクエスト本文フィールドの説明

FieldRequiredDescription
filesYes音声クローンに使用する音声ファイル
nameYesボイスの名称
descriptionNoボイスの説明

注意事項

  • filesは3MB以下のWAVまたはMP3ファイルである必要があります。
  • nameは100文字を超えることはできません。
  • APIによるボイスクローン登録機能は、Freeプランのユーザーには利用できません。

Authorizations

x-sup-api-key
string
header
required

Body

multipart/form-data

Audio file and voice metadata

files
file
required

Audio file to clone voice from (WAV/MP3 format, max 3MB)

name
string
required

Name of the cloned voice

description
string

Description of the cloned voice

Response

Successfully created cloned voice

voice_id
string
required

Unique identifier for the created voice

Example:

"voice_123456789"