A2E
  1. Miscellaneous
A2E
  • AI Avatar API
  • Get Tokens
    • Obtain Login Token
      POST
    • Get API token
      POST
    • Delete API token
      POST
    • List api tokens
      GET
    • Getting API Tokens (2025 version)
      GET
  • TTS and Voice Clone
    • List Public TTS Options
      POST
    • List Voice Clone Options
      GET
    • Train TTS Model of The User's Voice (Voice Clone)
      POST
    • List Ongoing Voice Clone Tasks
      GET
    • Generate TTS Audio (Text-to-Speech)
      POST
    • Get Details of a Voice
      GET
    • Delete a User Voice
      DELETE
  • Generate Avatar Videos
    • Generate AI Avatar Videos
      POST
    • List of Result Videos
      POST
    • List One or All Avatars
      POST
    • Obtain the Status of One Avatar Video Task
      POST
    • Obtain the List of Personalized Lip-Sync Models
      GET
    • Delete or Cancel a Video
      DELETE
    • Auto Language Detect
      POST
    • Auto Swith to Public Computing Pool
      POST
  • Create Avatars and Train Lip-sync Models
    • Create A Custom Avatar by a Video or an Image
    • Train a Personalized Lip-sync Model (Optional) a.k.a. Continue Training 💠
    • Remove A Customized Avatar
    • Get Status of All Tasks
    • Get All Ongoing "Training" Tasks
    • Status of One Task
    • Clone Voice from a Video
  • Background Matting and Replacement
    • Obtain the List of Background Images
    • Add Custom Background Image
    • Delete Custom Image
  • Face Swap
    • Manage Face Swap Resource
      • Add Face Swap Image
      • Get Records of Face Swap Images
      • Delete User Face Swap Image
    • Quickly Preview Face Swap
      • Add User Face Swap Preview
      • Get Status of Face Swap Preview Process
    • Face Swap Tasks
      • Add User Face Swap Task
      • Get Status of Face Swap Task
      • Get Face Swap Task Records
      • Get Details of Face Swap
      • Delete Record
  • AI Dubbing
    • Start dubbing
    • List Dubbing Tasks
    • List All Processing Dubbing Tasks
    • Get Details
    • Delete Record
  • Image to Video
    • Start Image-to-Video
    • Check Status of One Task
    • List Status of All Tasks
    • Delete Record
  • Caption Removal
    • Start Caption Removal
    • Get Records of All Tasks
    • Get Status of All Tasks in Processing
    • Get Details of One Task
    • Delete a Task
  • Streaming Avatar
    • Get All avatars
    • Get a Streaming Avatar Token
    • Set QA Context
    • Get QA Context
    • Ask a Question to the Avatar
    • Let the Avatar Speak Directly
    • Leave the Room
  • Miscellaneous
    • Add a User
      POST
    • Get User Remaining Credits
      GET
    • Exchange Diamonds
      POST
    • List Available Languages
      POST
    • Save URL to A2E's storage
      POST
  1. Miscellaneous

List Available Languages

Global Server
https://video.a2e.ai
Global Server
https://video.a2e.ai
POST
/api/v1/anchor/language_list
This is useful if you develop a UI for your users to select languages. You can get the language information in English or Chinese.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
voice_map_type
string 
required
The language of the "label" section of the return. Currently only support "zh-CN" or "en-US" as input. E.g. if you set this as "zh-CN", the "label" of the returned value will be in Chinese
Example
{
  "voice_map_type": "en-US"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://video.a2e.ai/api/v1/anchor/language_list' \
--header 'Content-Type: application/json' \
--data-raw '{"voice_map_type":"en-US"}'

Responses

🟢200language_list
application/json
Body
code
integer 
required
data
array [object {3}] 
required
label
string 
required
Name of the language spelled in the language specified in "voice_map_type"
value
string 
required
Code of the language. This is unique no matter what "voice_map_type" is set
children
array [object {2}] 
required
Information of the language, e.g. {"label":"粤语中文","value":"HK"}
Example
{
  "code": 0,
  "data": [
    {
      "label": "Afrikaans",
      "value": "af",
      "children": [
        {
          "value": "ZA",
          "label": "South Africa"
        }
      ]
    },
    {
      "label": "Amharic",
      "value": "am",
      "children": [
        {
          "value": "ET",
          "label": "Ethiopia"
        }
      ]
    },
    {
      "label": "Arabic",
      "value": "ar",
      "children": [
        {
          "value": "MA",
          "label": "Morocco"
        },
        {
          "value": "IQ",
          "label": "Iraq"
        },
        {
          "value": "TN",
          "label": "Tunisia"
        },
        {
          "value": "QA",
          "label": "Qatar"
        },
        {
          "value": "EG",
          "label": "Egypt"
        },
        {
          "value": "AE",
          "label": "United Arab Emirates"
        },
        {
          "value": "BH",
          "label": "Bahrain"
        },
        {
          "value": "DZ",
          "label": "Algeria"
        },
        {
          "value": "SY",
          "label": "Syria"
        },
        {
          "value": "JO",
          "label": "Jordan"
        },
        {
          "value": "SA",
          "label": "Saudi Arabia"
        },
        {
          "value": "YE",
          "label": "Yemen"
        },
        {
          "value": "LY",
          "label": "Libya"
        },
        {
          "value": "KW",
          "label": "Kuwait"
        }
      ]
    },
    {
      "label": "Bangla",
      "value": "bn",
      "children": [
        {
          "value": "BD",
          "label": "Bangladesh"
        }
      ]
    },
    {
      "label": "Bengali",
      "value": "bn",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Bulgarian",
      "value": "bg",
      "children": [
        {
          "value": "BG",
          "label": "Bulgaria"
        }
      ]
    },
    {
      "label": "Catalan",
      "value": "ca",
      "children": [
        {
          "value": "ES",
          "label": "Spain"
        }
      ]
    },
    {
      "label": "Chinese",
      "value": "zh",
      "children": [
        {
          "value": "CN",
          "label": "大陆音中文"
        },
        {
          "value": "HK",
          "label": "粤语中文"
        },
        {
          "value": "TW",
          "label": "台湾音中文"
        }
      ]
    },
    {
      "label": "Croatian",
      "value": "hr",
      "children": [
        {
          "value": "HR",
          "label": "Croatia"
        }
      ]
    },
    {
      "label": "Czech",
      "value": "cs",
      "children": [
        {
          "value": "CZ",
          "label": "Czech"
        }
      ]
    },
    {
      "label": "Danish",
      "value": "da",
      "children": [
        {
          "value": "DK",
          "label": "Denmark"
        }
      ]
    },
    {
      "label": "Dutch",
      "value": "nl",
      "children": [
        {
          "value": "NL",
          "label": "Dutch"
        },
        {
          "value": "BE",
          "label": "Belgium"
        }
      ]
    },
    {
      "label": "English",
      "value": "en",
      "children": [
        {
          "value": "KE",
          "label": "Kenya"
        },
        {
          "value": "AU",
          "label": "Australia"
        },
        {
          "value": "SG",
          "label": "Singapore"
        },
        {
          "value": "HK",
          "label": "Hongkong"
        },
        {
          "value": "NG",
          "label": "Nigeria"
        },
        {
          "value": "US",
          "label": "United States"
        },
        {
          "value": "TZ",
          "label": "Tanzania"
        },
        {
          "value": "IN",
          "label": "India"
        },
        {
          "value": "CA",
          "label": "Canada"
        },
        {
          "value": "IE",
          "label": "Ireland"
        },
        {
          "value": "GB",
          "label": "United Kingdom"
        },
        {
          "value": "PH",
          "label": "Philippines"
        },
        {
          "value": "NZ",
          "label": "New Zealand"
        }
      ]
    },
    {
      "label": "Estonian",
      "value": "et",
      "children": [
        {
          "value": "EE",
          "label": "Estonia"
        }
      ]
    },
    {
      "label": "Filipino",
      "value": "fil",
      "children": [
        {
          "value": "PH",
          "label": "Philippines"
        }
      ]
    },
    {
      "label": "Finnish",
      "value": "fi",
      "children": [
        {
          "value": "FI",
          "label": "Finland"
        }
      ]
    },
    {
      "label": "French",
      "value": "fr",
      "children": [
        {
          "value": "CA",
          "label": "Canada"
        },
        {
          "value": "FR",
          "label": "France"
        },
        {
          "value": "CH",
          "label": "Switzerland"
        },
        {
          "value": "BE",
          "label": "Belgium"
        }
      ]
    },
    {
      "label": "Galician",
      "value": "gl",
      "children": [
        {
          "value": "ES",
          "label": "Spain"
        }
      ]
    },
    {
      "label": "German",
      "value": "de",
      "children": [
        {
          "value": "AT",
          "label": "Austria"
        },
        {
          "value": "DE",
          "label": "Germany"
        },
        {
          "value": "CH",
          "label": "Switzerland"
        }
      ]
    },
    {
      "label": "Greek",
      "value": "el",
      "children": [
        {
          "value": "GR",
          "label": "Greece"
        }
      ]
    },
    {
      "label": "Gujarati",
      "value": "gu",
      "children": [
        {
          "value": "IN",
          "label": "Indian"
        }
      ]
    },
    {
      "label": "Hebrew",
      "value": "he",
      "children": [
        {
          "value": "IL",
          "label": "Israel"
        }
      ]
    },
    {
      "label": "Hindi",
      "value": "hi",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Hungarian",
      "value": "hu",
      "children": [
        {
          "value": "HU",
          "label": "Hungary"
        }
      ]
    },
    {
      "label": "Icelandic",
      "value": "is",
      "children": [
        {
          "value": "IS",
          "label": "Iceland"
        }
      ]
    },
    {
      "label": "Indonesian",
      "value": "id",
      "children": [
        {
          "value": "ID",
          "label": "Indonesia"
        }
      ]
    },
    {
      "label": "Irish",
      "value": "ga",
      "children": [
        {
          "value": "IE",
          "label": "Ireland"
        }
      ]
    },
    {
      "label": "Italian",
      "value": "it",
      "children": [
        {
          "value": "IT",
          "label": "Italy"
        }
      ]
    },
    {
      "label": "Japanese",
      "value": "ja",
      "children": [
        {
          "value": "JP",
          "label": "Japan"
        }
      ]
    },
    {
      "label": "Javanese",
      "value": "jv",
      "children": [
        {
          "value": "ID",
          "label": "Indonesia"
        }
      ]
    },
    {
      "label": "Kannada",
      "value": "kn",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Kazakh",
      "value": "kk",
      "children": [
        {
          "value": "KZ",
          "label": "Kazakhstan"
        }
      ]
    },
    {
      "label": "Khmer",
      "value": "km",
      "children": [
        {
          "value": "KH",
          "label": "Cambodia"
        }
      ]
    },
    {
      "label": "Korean",
      "value": "ko",
      "children": [
        {
          "value": "KR",
          "label": "Korea"
        }
      ]
    },
    {
      "label": "Lao",
      "value": "lo",
      "children": [
        {
          "value": "LA",
          "label": "Laos"
        }
      ]
    },
    {
      "label": "Latvian",
      "value": "lv",
      "children": [
        {
          "value": "LV",
          "label": "Latvia"
        }
      ]
    },
    {
      "label": "Lithuanian",
      "value": "lt",
      "children": [
        {
          "value": "LT",
          "label": "Lithuania"
        }
      ]
    },
    {
      "label": "Macedonian",
      "value": "mk",
      "children": [
        {
          "value": "MK",
          "label": "Republic of North Macedonia"
        }
      ]
    },
    {
      "label": "Malay",
      "value": "ms",
      "children": [
        {
          "value": "MY",
          "label": "Malaysia"
        }
      ]
    },
    {
      "label": "Malayalam",
      "value": "ml",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Maltese",
      "value": "mt",
      "children": [
        {
          "value": "MT",
          "label": "Malta"
        }
      ]
    },
    {
      "label": "Marathi",
      "value": "mr",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Myanmar",
      "value": "my",
      "children": [
        {
          "value": "MM",
          "label": "MM"
        }
      ]
    },
    {
      "label": "Norwegian",
      "value": "nb",
      "children": [
        {
          "value": "NO",
          "label": "Bokmål, Norway"
        }
      ]
    },
    {
      "label": "Pashto",
      "value": "ps",
      "children": [
        {
          "value": "AF",
          "label": "Afghanistan"
        }
      ]
    },
    {
      "label": "Persian",
      "value": "fa",
      "children": [
        {
          "value": "IR",
          "label": "Iran"
        }
      ]
    },
    {
      "label": "Polish",
      "value": "pl",
      "children": [
        {
          "value": "PL",
          "label": "Poland"
        }
      ]
    },
    {
      "label": "Portuguese",
      "value": "pt",
      "children": [
        {
          "value": "BR",
          "label": "Brazil"
        },
        {
          "value": "PT",
          "label": "Portugal"
        }
      ]
    },
    {
      "label": "Romanian",
      "value": "ro",
      "children": [
        {
          "value": "RO",
          "label": "Romania"
        }
      ]
    },
    {
      "label": "Russian",
      "value": "ru",
      "children": [
        {
          "value": "RU",
          "label": "Russia"
        }
      ]
    },
    {
      "label": "Serbian",
      "value": "sr",
      "children": [
        {
          "value": "RS",
          "label": "Serbia, Cyrillic"
        }
      ]
    },
    {
      "label": "Sinhala",
      "value": "si",
      "children": [
        {
          "value": "LK",
          "label": "Sri Lanka"
        }
      ]
    },
    {
      "label": "Slovak",
      "value": "sk",
      "children": [
        {
          "value": "SK",
          "label": "Slovakia"
        }
      ]
    },
    {
      "label": "Slovenian",
      "value": "sl",
      "children": [
        {
          "value": "SI",
          "label": "Slovenia"
        }
      ]
    },
    {
      "label": "Somali",
      "value": "so",
      "children": [
        {
          "value": "SO",
          "label": "Somalia"
        }
      ]
    },
    {
      "label": "Spanish",
      "value": "es",
      "children": [
        {
          "value": "EC",
          "label": "Ecuador"
        },
        {
          "value": "PA",
          "label": "Panama"
        },
        {
          "value": "GT",
          "label": "Guatemala"
        },
        {
          "value": "HN",
          "label": "Honduras"
        },
        {
          "value": "ES",
          "label": "Spain"
        },
        {
          "value": "GQ",
          "label": "Equatorial Guinea"
        },
        {
          "value": "UY",
          "label": "Uruguay"
        },
        {
          "value": "ZA",
          "label": "Argentina"
        },
        {
          "value": "PY",
          "label": "Paraguay"
        },
        {
          "value": "AR",
          "label": "Argentina"
        },
        {
          "value": "VE",
          "label": "Venezuela"
        },
        {
          "value": "SV",
          "label": "El Salvador"
        },
        {
          "value": "CR",
          "label": "Costa Rica"
        },
        {
          "value": "PR",
          "label": "Puerto Rico"
        },
        {
          "value": "DO",
          "label": "Dominican Republic"
        },
        {
          "value": "BO",
          "label": "Bolivia"
        },
        {
          "value": "PE",
          "label": "Peru"
        },
        {
          "value": "US",
          "label": "United States"
        },
        {
          "value": "MX",
          "label": "Mexico"
        },
        {
          "value": "CL",
          "label": "Chile"
        },
        {
          "value": "CU",
          "label": "Cuba"
        },
        {
          "value": "NI",
          "label": "Nicaragua"
        },
        {
          "value": "CO",
          "label": "Colombia"
        }
      ]
    },
    {
      "label": "Sundanese",
      "value": "su",
      "children": [
        {
          "value": "ID",
          "label": "Indonesia"
        }
      ]
    },
    {
      "label": "Swahili",
      "value": "sw",
      "children": [
        {
          "value": "KE",
          "label": "Kenya"
        },
        {
          "value": "TZ",
          "label": "Tanzania"
        }
      ]
    },
    {
      "label": "Swedish",
      "value": "sv",
      "children": [
        {
          "value": "SE",
          "label": "Sweden"
        }
      ]
    },
    {
      "label": "Tamil",
      "value": "ta",
      "children": [
        {
          "value": "LK",
          "label": "Sri Lanka"
        },
        {
          "value": "SG",
          "label": "Singapore"
        },
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Telugu",
      "value": "te",
      "children": [
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Thai",
      "value": "th",
      "children": [
        {
          "value": "TH",
          "label": "Thailand"
        }
      ]
    },
    {
      "label": "Turkish",
      "value": "tr",
      "children": [
        {
          "value": "TR",
          "label": "Turkey"
        }
      ]
    },
    {
      "label": "Ukrainian",
      "value": "uk",
      "children": [
        {
          "value": "UA",
          "label": "Ukraine"
        }
      ]
    },
    {
      "label": "Urdu",
      "value": "ur",
      "children": [
        {
          "value": "PK",
          "label": "Pakistan"
        },
        {
          "value": "IN",
          "label": "India"
        }
      ]
    },
    {
      "label": "Uzbek",
      "value": "uz",
      "children": [
        {
          "value": "UZ",
          "label": "Uzbekistan"
        }
      ]
    },
    {
      "label": "Vietnamese",
      "value": "vi",
      "children": [
        {
          "value": "VN",
          "label": "Vietnam"
        }
      ]
    },
    {
      "label": "Welsh",
      "value": "cy",
      "children": [
        {
          "value": "GB",
          "label": "United Kingdom"
        }
      ]
    },
    {
      "label": "Zulu",
      "value": "zu",
      "children": [
        {
          "value": "ZA",
          "label": "South Africa"
        }
      ]
    }
  ],
  "trace_id": "b5a5a7fd-45b3-4280-8cc2-ef4344c6274d"
}
Previous
Exchange Diamonds
Next
Save URL to A2E's storage
Built with