You can use the following APIs to create voice clones, text-to-speech, voice changer, and manage voice resources.
The resources (image, video, voice) generated by our API are valid for 7 days. Please save the relevant resources as soon as possible to prevent expiration.

Rates

PlanProMaxBusinessEnterprise
Text-to-Speech4.4 credits/1000 characters3.2 credits/1000 characters2.4 credits/1000 charactersCustomized
Instant voice clone30 voices180 voices500 voicesCustomized
Voice changer4.4 credits/minute3.2 credits/minute2.4 credits/minuteCustomized

Create Voice Clone

POST https://openapi.akool.com/api/open/v4/voice/clone
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Body Attributes
ParameterTypeRequiredValueDescription
source_voice_fileStringtrueOriginal audio file URL, supports mp3, mp4, wav, etc. Must be a public accessible URL
voice_optionsObjectfalseAudio tagging options
- styleArrayfalseVoice style tags (e.g., [“Authoritative”, “Calm”])
- genderArrayfalseGender tags (e.g., [“Male”, “Female”])
- ageArrayfalseAge tags (e.g., [“Young”, “Middle”, “Elderly”])
- scenarioArrayfalseUse case tags (e.g., [“Advertisement”, “Education”])
nameStringfalseAudio name
textStringtruePreview text content
webhookUrlStringtrueCallback url address based on HTTP request
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- uidInteger101400User ID
- team_idString”6805fb69e92d9edc7ca0b409”Team ID
- voice_idStringnullVoice ID, this value will be updated after task completion, you can view it in the voiceList.getVoiceList
- genderString”Male”Voice gender
- nameString”MyVoice0626-01”Voice name
- previewStringnullPreview audio URL, this value will be updated after task completion, you can view it in the voiceList.getVoiceList
- textString”This is a comic style model…”Preview text content
- durationNumber8064Audio duration in milliseconds
- statusInteger1Voice clone status: 【1:queueing, 2:processing, 3:completed, 4:failed】
- create_timeLong1751349718268Creation timestamp
- styleArray[“Authoritative”, “Calm”]Voice style tags
- scenarioArray[“Advertisenment”]Use case scenario tags
- ageArray[“Elderly”, “Middle”]Age category tags
- deduction_creditInteger0Deducted credits
- webhookUrlString”Callback URL”Callback URL
- _idString”686379d641e5eb74bb8dfe3f”Document ID
- source_voice_fileStringhttps://drz0f01yeq1cx.cloudfront.net/1751363983518-9431-audio1751363981879.webmOriginal audio file URL
Example Body
{
    "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1749809724389-audio.mp3",
    "voice_options": {
        "style": ["Authoritative", "Calm"],
        "gender": ["Male"],
        "age": ["Elderly", "Middle"],
        "scenario": ["Advertisement"]
    },
    "name": "MyVoice0626-01",
    "text": "This is a voice clone model",
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}
Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/clone' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1749809724389-audio.mp3",
    "voice_options": {
        "style": ["Authoritative", "Calm"],
        "gender": ["Male"],
        "age": ["Elderly", "Middle"],
        "scenario": ["Advertisement"]
    },
    "name": "MyVoice0626-01",
    "text": "This is a voice clone model",
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}'
Response
{
    "code": 1000,
    "msg": "OK",
    "data": {
        "uid": 101400,
        "team_id": "6805fb69e92d9edc7ca0b409",
        "voice_id": null,
        "gender": "Male",
        "name": "MyVoice0626-01",
        "preview": null,
        "text": "This is a comic style model, this is a comic style model, this is a comic style model, this is a comic style model",
        "duration": 8064,
        "status": 1,
        "create_time": 1751349718268,
        "style": [
            "Authoritative",
            "Calm"
        ],
        "scenario": [
            "Advertisenment"
        ],
        "age": [
            "Elderly",
            "Middle"
        ],
        "deduction_credit": 0,
        "webhookUrl": "Callback URL",
        "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1751363983518-9431-audio1751363981879.webm",
        "_id": "686379d641e5eb74bb8dfe3f"
    }
}

Create Text to Speech

POST https://openapi.akool.com/api/open/v4/voice/tts
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Body Attributes
ParameterTypeRequiredValueDescription
input_textStringtruePreview text content
voice_idStringtrueVoice ID, get this voice_id from your cloned voices or akool voice list.getVoiceId
voice_optionsObjectfalseAudio settings
- stabilityNumberfalseVoice stability (0-1) , Supported voice models: Akool Multilingual 1, getVoiceModelName
- similarity_boostNumberfalseSimilarity boost (0-1) , Supported voice models: Akool Multilingual 1, getVoiceModelName
- styleNumberfalseVoice style (0-1) , Supported voice models: Akool Multilingual 1, Akool Multilingual 2. Style examples: cheerful, getVoiceModelName
- speedNumberfalseSpeech speed (0-2) , Supported voice models: Akool Multilingual 1, Akool Multilingual 2, Akool Multilingual 3, getVoiceModelName
- speaker_boostBooleanfalseSpeaker boost, Supported voice models: Akool Multilingual 1, getVoiceModelName
- emotionStringfalseEmotion (happy, sad, angry, fearful, disgusted, surprised, neutral) , It only supports Chinese voice. Supported voice models: Akool Multilingual 2, Akool Multilingual 3, getVoiceModelName
- volumeIntegerfalseVolume (0-100) , Supported voice models: Akool Multilingual 2, Akool Multilingual 3, getVoiceModelName
webhookUrlStringtrueCallback url address based on HTTP request
language_codeStringfalseCurrently supported: Akool Multilingual 1, Akool Multilingual 3 and Akool Multilingual 4. When passing in, only Language code (ISO 639-1) such as “zh”, “pt” is supported.
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- create_timeLong1751350015709Creation timestamp
- uidInteger101400User ID
- team_idString”6805fb69e92d9edc7ca0b409”Team ID
- input_textString”Welcome to the Akool…”Input text content
- previewStringnullGenerated audio URL, this value will be updated after task completion, you can view it in the resourceList.getResourceList
- statusInteger1TTS status: 【1:queueing, 2:processing, 3:completed, 4:failed】
- webhookUrlString""Callback URL
- durationInteger0Audio duration in milliseconds
- file_nameString”1ef1d76ebfc244f7a30430f7049d6ebc.mp3”Generated file name
- genderString”Male”Voice gender
- deduction_creditFloat1.9295Deducted credits
- nameString”27fec311afd743aa889a057e17e93c13”Generated name
- _idString”68637aff41e5eb74bb8dfe73”Document ID
- voice_model_idString”686379d641e5eb74bb8dfe3f”Voice document ID
- voice_idString”Tq06jbVyFH4l6R-Gjvo_V-p_nVYk5DRrYJZsxeDmlhEtyhcFKKLQODmgngI9llKw”Voice ID
- voice_optionsObjectVoice options object
— stabilityNumber0.7Voice stability setting
— similarity_boostNumber0.5Similarity boost setting
— styleNumber0.6Voice style setting
— speedNumber0.8Speech speed setting
— speaker_boostBooleanfalseSpeaker boost setting
— emotionString”happy”Emotion setting
— volumeInteger50Volume setting
Example Body
{
    "input_text": "Welcome to the Akool generative AI content creation tool.",
    "voice_id": "Tq06jbVyFH4l6R-Gjvo_V-p_nVYk5DRrYJZsxeDmlhEtyhcFKKLQODmgngI9llKw",
    "voice_options": {
        "stability": 0.7,
        "similarity_boost": 0.5,
        "style": 0.6,
        "speed": 0.8,
        "speaker_boost": false,
        "emotion": "happy",
        "volume": 50
    },
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}
Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/tts' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "input_text": "Welcome to the Akool generative AI content creation tool.",
    "voice_id": "Tq06jbVyFH4l6R-Gjvo_V-p_nVYk5DRrYJZsxeDmlhEtyhcFKKLQODmgngI9llKw",
    "voice_options": {
        "stability": 0.7,
        "similarity_boost": 0.5,
        "style": 0.6,
        "speed": 0.8,
        "speaker_boost": false,
        "emotion": "happy",
        "volume": 50
    },
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}'
Response
{
    "code": 1000,
    "msg": "OK",
    "data": {
        "create_time": 1751350015709,
        "uid": 101400,
        "team_id": "6805fb69e92d9edc7ca0b409",
        "input_text": "Welcome to the Akool generative AI content creation tool.",
        "preview": null,
        "status": 1,
        "webhookUrl": "",
        "duration": 0,
        "file_name": "1ef1d76ebfc244f7a30430f7049d6ebc.mp3",
        "gender": "Male",
        "deduction_credit": 1.9295,
        "name": "27fec311afd743aa889a057e17e93c13",
        "_id": "68637aff41e5eb74bb8dfe73",
        "voice_model_id": "686379d641e5eb74bb8dfe3f",
        "voice_id": "Tq06jbVyFH4l6R-Gjvo_V-p_nVYk5DRrYJZsxeDmlhEtyhcFKKLQODmgngI9llKw",
        "voice_options": {
            "stability": 0.7,
            "similarity_boost": 0.5,
            "style": 0.6,
            "speed": 0.8,
            "speaker_boost": false,
            "emotion": "happy",
            "volume": 50
        }
    }
}

Create Voice Changer

Only the Akool Multilingual 1 model supports Voice Change.
POST https://openapi.akool.com/api/open/v4/voice/change
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Body Attributes
ParameterTypeRequiredValueDescription
voice_idStringtrueVoice ID, get this voice_id from your cloned voices or akool voice list.getVoiceId
source_voice_fileStringtrueAudio file URL, supports mp3, mp4, wav, etc. Must be a public accessible URL
voice_optionsObjectfalseAudio settings
- stabilityNumberfalseVoice stability (0-1) , Supported voice models: Akool Multilingual 1, getVoiceModelName
- similarity_boostNumberfalseSimilarity boost (0-1) , Supported voice models: Akool Multilingual 1, getVoiceModelName
- styleNumberfalseVoice style (0-1) , Supported voice models: Akool Multilingual 1, Akool Multilingual 2. Style examples: cheerful, getVoiceModelName
- speaker_boostBooleanfalseSpeaker boost, Supported voice models: Akool Multilingual 1, getVoiceModelName
webhookUrlStringtrueCallback url address based on HTTP request
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- create_timeLong1751350363707Creation timestamp
- uidInteger101400User ID
- team_idString”6805fb69e92d9edc7ca0b409”Team ID
- previewStringnullGenerated audio URL, this value will be updated after task completion, you can view it in the resourceList. getResourceList
- source_voice_fileStringhttps://drz0f01yeq1cx.cloudfront.net/1749098405491-5858-1749019840512audio.mp3Original audio file URL
- statusInteger1Voice changer status: 【1:queueing, 2:processing, 3:completed, 4:failed】
- webhookUrlStringhttp://localhost:3004/api/open/v4/voice/test/thirdpart/webhookCallback URL
- durationInteger12800Audio duration in milliseconds
- file_nameString”1749098405491-5858-1749019840512audio.mp3”Generated file name
- genderString”Female”Voice gender
- deduction_creditFloat0.512Deducted credits
- nameString”3f591fc370c542fca9087f124b5ad82b”Generated name
- _idString”68637c5b41e5eb74bb8dfec6”Document ID
- voice_model_idString”67a45479354b7c1fff7e943a”Voice document ID
- voice_idString”hkfHEbBvdQFNX4uWHqRF”Voice ID
- voice_optionsObjectVoice options object
— stabilityNumber0.7Voice stability setting
— similarity_boostNumber0.5Similarity boost setting
— styleNumber0.6Voice style setting
— speaker_boostBooleanfalseSpeaker boost setting
Example Body
{
    "voice_id": "hkfHEbBvdQFNX4uWHqRF",
    "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1749098405491-audio.mp3",
    "voice_options": {
        "stability": 0.9,
        "similarity_boost": 0.7,
        "style": 1,
        "speaker_boost": false,
    },
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}
Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/change' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "voice_id": "hkfHEbBvdQFNX4uWHqRF",
    "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1749098405491-audio.mp3",
    "voice_options": {
        "stability": 0.9,
        "similarity_boost": 0.7,
        "style": 1,
        "speaker_boost": false,
    },
    "webhookUrl": "http://localhost:3007/api/open/v4/test/webhook"
}'
Response
{
  "code": 1000,
  "msg": "OK",
  "data": {
    "create_time": 1751350363707,
    "uid": 101400,
    "team_id": "6805fb69e92d9edc7ca0b409",
    "source_voice_file": "https://drz0f01yeq1cx.cloudfront.net/1749098405491-5858-1749019840512audio.mp3",
    "preview": null,
    "status": 1,
    "webhookUrl": "http://localhost:3004/api/open/v4/voice/test/thirdpart/webhook",
    "duration": 12800,
    "file_name": "1749098405491-5858-1749019840512audio.mp3",
    "gender": "Female",
    "deduction_credit": 0.512,
    "name": "3f591fc370c542fca9087f124b5ad82b",
    "_id": "68637c5b41e5eb74bb8dfec6",
    "voice_model_id": "67a45479354b7c1fff7e943a",
    "voice_id": "hkfHEbBvdQFNX4uWHqRF",
    "voice_options": {
      "stability": 0.7,
      "similarity_boost": 0.5,
      "style": 0.6,
      "speaker_boost": false
    }
  }
}

Get Voice Results List

GET https://openapi.akool.com/api/open/v4/voice/resource/list
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Query Attributes
ParameterTypeRequiredValueDescription
typeStringtrue1,21-voiceTTS, 2-voiceChanger
pageStringfalse1Page number
sizeStringfalse10Page size
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- resultArrayVoice resource list
— _idString”68637c5b41e5eb74bb8dfec6”Document ID
— create_timeLong1751350363707Creation timestamp
— update_timeLong1751350368468Update timestamp
— uidInteger101400User ID
— team_idString”6805fb69e92d9edc7ca0b409”Team ID
— rateString”100%“Processing rate
— previewStringhttps://drz0f01yeq1cx.cloudfront.net/…”Generated audio URL
— statusInteger3Status: 【1:queueing, 2:processing, 3:completed, 4:failed】
— webhookUrlString""Callback URL
— durationInteger12852Audio duration in milliseconds
— file_nameString”1749098405491-5858-1749019840512audio.mp3”File name
— genderString”Female”Voice gender
— deduction_creditFloat0.9295Deducted credits
— nameString”3f591fc370c542fca9087f124b5ad82b”Resource name
— input_textString”Słyszę, że chcesz leżeć płasko? Gratulacje — przynajmniej zrozumiałeś grawitację! “Text to Speech trial listening text
— __vInteger0Version number
- countInteger1Total count of resources
- pageInteger1Current page number
- sizeInteger10Page size
Example Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/resource/list?type=1&page=1&size=10' \
--header 'Authorization: Bearer {{token}}'
Response
{
    "code": 1000,
    "msg": "OK",
    "data": {
        "result": [
            {
                "_id": "68637c5b41e5eb74bb8dfec6",
                "create_time": 1751350363707,
                "update_time": 1751350368468,
                "uid": 101400,
                "team_id": "6805fb69e92d9edc7ca0b409",
                "rate": "100%",
                "preview": "https://drz0f01yeq1cx.cloudfront.net/1751350368172-audio.mp3",
                "status": 3,
                "webhookUrl": "",
                "duration": 12852,
                "file_name": "1749098405491-5858-1749019840512audio.mp3",
                "gender": "Female",
                "deduction_credit": 0.9295,
                "name": "3f591fc370c542fca9087f124b5ad82b",
                "input_text": "Słyszę, że chcesz leżeć płasko? Gratulacje — przynajmniej zrozumiałeś grawitację! ",
                "__v": 0
            }
        ],
        "count": 1,
        "page": 1,
        "size": 10
    }
}

Get Voice List

GET https://openapi.akool.com/api/open/v4/voice/list
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Query Attributes
ParameterTypeRequiredValueDescription
typeStringtrue1,21-VoiceClone, 2-Akool Voices
pageStringfalse1Page number
sizeStringfalse10Page size
styleStringfalseCalm,AuthoritativeVoice style filters, separated by commas
genderStringfalseMale,FemaleGender filters, separated by commas
ageStringfalseYoung,Middle,ElderlyAge filters, separated by commas
scenarioStringfalseAdvertisement,EducationScenario filters, separated by commas
nameStringfalseMyVoiceVoice name, supports fuzzy search
support_streamIntegerfalse12-Voice does not support streaming.; 1-Voice supports streaming.
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- resultArrayVoice list
— _idString”68676e544439e3b8e246a077”Document ID
— uidInteger101400User ID
— team_idString”6805fb69e92d9edc7ca0b409”Team ID
— voice_idString”zQAGCFElz23u6Brdj4L-NrbEmSxswXdoPN_GBpYgUPHo1EGWgZgAnFJexONx_jGy”Voice ID
— genderString”Male”Voice gender
— languageString”Polish”Voice language
— localeString”pl”Voice locale
— nameString”MyVoice0626-01”Voice name
— previewStringhttps://d2qf6ukcym4kn9.cloudfront.net/…”Preview audio URL
— textString”This is a comic style model…”Preview text content
— durationInteger9822Audio duration in milliseconds
— statusInteger3Voice status: 【1:queueing, 2:processing, 3:completed, 4:failed】
— create_timeLong1751608916162Creation timestamp
— styleArray[“Authoritative”, “Calm”]Voice style tags
— scenarioArray[“Advertisement”]Scenario tags
— ageArray[“Elderly”, “Middle”]Age tags
— deduction_creditInteger0Deducted credits
— webhookUrlStringhttp://172.31.16.178:3004/…”Callback URL
— voice_model_nameString”Akool Multilingual 3”Supported voice model name
— support_streamBooleantrueSupported stream: true/false, Akool Multilingual 1 & Akool Multilingual 3 only support stream.
- countInteger9Total count of voices
- pageInteger1Current page number
- sizeInteger1Page size
Example Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/list?type=1&page=1&size=10&style=Calm,Authoritative&gender=Male&name=MyVoice' \
--header 'Authorization: Bearer {{token}}'
Response
{
    "code": 1000,
    "msg": "OK",
    "data": {
        "result": [
            {
                "_id": "68676e544439e3b8e246a077",
                "uid": 101400,
                "team_id": "6805fb69e92d9edc7ca0b409",
                "voice_id": "zQAGCFElz23u6Brdj4L-NrbEmSxswXdoPN_GBpYgUPHo1EGWgZgAnFJexONx_jGy",
                "gender": "Male",
                "language": "Polish",
                "locale": "pl",
                "name": "MyVoice0626-01",
                "preview": "https://d2qf6ukcym4kn9.cloudfront.net/1751608955706-c1cf1692-fd47-417c-b18a-dcbbb93360fa-2756.mp3",
                "text": "This is a comic style model, this is a comic style model, this is a comic style model, this is a comic style model",
                "duration": 9822,
                "status": 3,
                "create_time": 1751608916162,
                "style": [
                    "Authoritative",
                    "Calm"
                ],
                "scenario": [
                    "Advertisement"
                ],
                "age": [
                    "Elderly",
                    "Middle"
                ],
                "deduction_credit": 0,
                "webhookUrl": "http://172.31.16.178:3004/api/open/v4/content/test/thirdpart/webhook",
                "voice_model_name": "Akool Multilingual 3",
                "support_stream": true
            }
        ],
        "count": 9,
        "page": 1,
        "size": 1
    }
}

Delete Voice

POST https://openapi.akool.com/api/open/v4/voice/del
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Body Attributes
ParameterTypeRequiredValueDescription
_idsArraytrueVoice list document IDs getVoiceDocumentId
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- successIdsArrayDeleted voice document IDs
- noPermissionVoicesArrayDelete failed voice document msg list
— _idString6881cd86618fa41c89557b0cDelete failed voice document ID
— msgStringVoiceId:6881cd86618fa41c89557b0c resource not foundDelete failed voice error msg
Example Body
{
    "_ids": [
        "6836b8183a59f36196bb9c52",
        "6836ba935026505ab7a529ce"
    ]
}
Request
curl --location --request DELETE 'https://openapi.akool.com/api/open/v4/voice/del' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "_ids": [
        "6836b8183a59f36196bb9c52",
        "6836ba935026505ab7a529ce"
    ]
}'
Response
{
    "code": 1000,
    "msg": "Delete voice successfully",
    "data": {
        "successIds": [
            "6882f4c10529ae771e71531d"
        ],
        "noPermissionVoices": [
            {
                "_id": "6881cd86618fa41c89557b0c",
                "msg": "VoiceId:6881cd86618fa41c89557b0c resource not found"
            }
        ]
    }
}

Get Voice Detail

GET https://openapi.akool.com/api/open/v4/voice/detail/{_id}
Request Headers
ParameterValueDescription
AuthorizationBearer {token}Your API Key used for request authorization.getToken
Path Attributes
ParameterTypeRequiredValueDescription
_idStringtrueVoice list document IDs getVoiceDocumentId
Response Attributes
ParameterTypeValueDescription
codeint1000Interface returns business status code(1000:success)
msgStringInterface returns status information
dataObjectResponse data object
- _idString”6836bafb5026505ab7a529fa”Document ID
- uidInteger101400User ID
- team_idString”6805fb69e92d9edc7ca0b409”Team ID
- voice_idString”yRBw4OM8YFm5pCNKxJQ7”Voice ID
- genderString”Male”Voice gender
- nameString”Snow Peak 01”Voice name
- previewStringhttps://drz0f01yeq1cx.cloudfront.net/…”Preview audio URL
- textString”Hello, I’m your personalized AI voice…”Preview text content
- durationInteger7055Audio duration in milliseconds
- statusInteger3Voice status: 【1:queueing, 2:processing, 3:completed, 4:failed】
- create_timeLong1748417275493Creation timestamp
- styleArray[“Authoritative”, “Calm”]Voice style tags
- scenarioArray[“Advertisement”]Scenario tags
- ageArray[“Elderly”, “Middle”]Age tags
- deduction_creditInteger0Deducted credits
- voice_model_nameString”Akool Multilingual 1”Supported voice model name
- support_streamBooleantrueSupported stream: true/false, Akool Multilingual 1 & Akool Multilingual 3 only support stream.
- languageString”Chinese”Voice language
- localeString”zh”Voice locale
Example Request
curl --location 'https://openapi.akool.com/api/open/v4/voice/detail/6836bafb5026505ab7a529fa' \
--header 'Authorization: Bearer {{token}}'
Response
{
    "code": 1000,
    "msg": "OK",
    "data": {
        "_id": "6882f23c0529ae771e7152dc",
        "uid": 101400,
        "team_id": "6805fb69e92d9edc7ca0b409",
        "voice_id": "kfr_1wGPuauzcSOZgpBGLd_ApviIHqMIZ5bS2OeMiMkvId0eAMkq1ii8rvInZ2pE",
        "gender": "Male",
        "name": "zhongwen-072501",
        "preview": "https://drz0f01yeq1cx.cloudfront.net/1753412190380-sample.mp3",
        "text": "人生就像登山,重要的不是顶峰的高度,而是攀登时的姿态。当你觉得脚步沉重时,请记住:竹子用四年时间仅生长3厘米,但从第五年开始,每天以30厘米的速度疯长。那些看似微不足道的积累,终将在某个转角绽放光芒。前路或许泥泞,但每个坚持的脚印都在书写传奇;黑夜也许漫长,但晨光总在咬牙坚持后准时降临。正如海明威所说:人可以被毁灭,但不能被打败。2025年的今天,愿你把挫折当作垫脚石,让汗水成为勋章,因为这个世界永远奖励那些在跌倒后依然选择起身奔跑的人。",
        "duration": 55353,
        "status": 3,
        "create_time": 1753412156588,
        "style": [
            "Authoritative",
            "Calm"
        ],
        "scenario": [
            "Advertisenment"
        ],
        "age": [
            "Elderly",
            "Middle"
        ],
        "deduction_credit": 0,
        "webhookUrl": "http://localhost:3004/api/open/v4/voice/test/thirdpart/webhook",
        "language": "Chinese",
        "locale": "zh",
        "voice_model_name": "Akool Multilingual 3",
        "support_stream": true
    }
}