Create a voice from audio

Changed on

Creates a custom voice by cloning from an audio file.

post/voices

Request

  • Base URL
    https://api.argil.ai/v1
  • Auth
    API key in header x-api-key

Request body

namestring required

Name of the voice

audioUrlstring uri required

HTTPS URL to the audio file for voice cloning (MP3, WAV, M4A). Duration must be between 30 seconds and 4 minutes.

modelId'eleven_multilingual_v2' | 'eleven_multilingual_v1' | 'eleven_monolingual_v1' | 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_flash_v2_5' | 'eleven_v3' | 'eleven_v4' | 'speech-02-hd' | 'speech-02-turbo' | 'speech-2.5-hd-preview' | 'speech-2.5-turbo-preview' | 'speech-2.6-hd' | 'speech-2.6-turbo' | 'speech-2.8-hd' | 'speech-2.8-turbo'

Voice model to use for TTS. Determines which provider (ElevenLabs or Minimax) and which settings are available.

language'ENGLISH' | 'SPANISH' | 'FRENCH' | 'PORTUGUESE' | 'GERMAN' | 'RUSSIAN' | 'HINDI' | 'CHINESE' | 'DUTCH' | 'ARABIC' | 'POLISH' | 'BULGARIAN' | 'JAPANESE' | 'ITALIAN'
gender'MALE' | 'FEMALE'

Response

Voice created successfully

idstring uuid
namestring
createdAtstring date-time
updatedAtstring date-time
statusstring
sampleUrlstring
language'ENGLISH' | 'SPANISH' | 'FRENCH' | 'PORTUGUESE' | 'GERMAN' | 'RUSSIAN' | 'HINDI' | 'CHINESE' | 'DUTCH' | 'ARABIC' | 'POLISH' | 'BULGARIAN' | 'JAPANESE' | 'ITALIAN' nullable
gender'MALE' | 'FEMALE' nullable

Changes

    • info

      added the new eleven_v4 enum value to the request property

    • breaking

      added to the / request property allOf list

    • breaking

      added to the / request property allOf list

    • breaking

      removed the enum value Afrikaans of the request property /

    • breaking

      removed the enum value Arabic of the request property /

    • breaking

      removed the enum value Bulgarian of the request property /

    • breaking

      removed the enum value Catalan of the request property /

    • breaking

      removed the enum value Chinese of the request property /

    • breaking

      removed the enum value Chinese,Yue of the request property /

    • breaking

      removed the enum value Croatian of the request property /

    • breaking

      removed the enum value Czech of the request property /

    • breaking

      removed the enum value Danish of the request property /

    • breaking

      removed the enum value Dutch of the request property /

    • breaking

      removed the enum value English of the request property /

    • breaking

      removed the enum value Filipino of the request property /

    • breaking

      removed the enum value Finnish of the request property /

    • breaking

      removed the enum value French of the request property /

    • breaking

      removed the enum value German of the request property /

    • breaking

      removed the enum value Greek of the request property /

    • breaking

      removed the enum value Hebrew of the request property /

    • breaking

      removed the enum value Hindi of the request property /

    • breaking

      removed the enum value Hungarian of the request property /

    • breaking

      removed the enum value Indonesian of the request property /

    • breaking

      removed the enum value Italian of the request property /

    • breaking

      removed the enum value Japanese of the request property /

    • breaking

      removed the enum value Korean of the request property /

    • breaking

      removed the enum value Malay of the request property /

    • breaking

      removed the enum value Norwegian of the request property /

    • breaking

      removed the enum value Nynorsk of the request property /

    • breaking

      removed the enum value Persian of the request property /

    • breaking

      removed the enum value Polish of the request property /

    • breaking

      removed the enum value Portuguese of the request property /

    • breaking

      removed the enum value Romanian of the request property /

    • breaking

      removed the enum value Russian of the request property /

    • breaking

      removed the enum value Slovak of the request property /

    • breaking

      removed the enum value Slovenian of the request property /

    • breaking

      removed the enum value Spanish of the request property /

    • breaking

      removed the enum value Swedish of the request property /

    • breaking

      removed the enum value Tamil of the request property /

    • breaking

      removed the enum value Thai of the request property /

    • breaking

      removed the enum value Turkish of the request property /

    • breaking

      removed the enum value Ukrainian of the request property /

    • breaking

      removed the enum value Vietnamese of the request property /

    • breaking

      removed the enum value angry of the request property /

    • breaking

      removed the enum value auto of the request property /

    • breaking

      removed the enum value auto of the request property /

    • breaking

      removed the enum value disgusted of the request property /

    • breaking

      removed the enum value fearful of the request property /

    • breaking

      removed the enum value happy of the request property /

    • breaking

      removed the enum value neutral of the request property /

    • breaking

      removed the enum value sad of the request property /

    • breaking

      removed the enum value surprised of the request property /

    • breaking

      the / request property type changed from string to no type

    • breaking

      the / request property type changed from string to no type