A2E
  1. Streaming Avatar
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
    • Get a Streaming Avatar Token
      POST
    • Set QA Context
      POST
    • Get QA Context
      GET
    • Ask a Question to the Avatar
      POST
    • Let the Avatar Speak Directly
      POST
    • Leave the Room
      POST
  • Miscellaneous
    • Add a User
    • Get User Remaining Credits
    • Exchange Diamonds
    • List Available Languages
    • Save URL to A2E's storage
  1. Streaming Avatar

Get QA Context

Developing
Global Server
https://video.a2e.ai
Global Server
https://video.a2e.ai
GET
/api/v1/streaming-avatar/qa-contest
Get the current QA context. The context is set by you using /api/v1/streaming-avatar/set-qa-context

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
channel
string 
optional
channel
Example:
f84fd

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 GET 'https://video.a2e.ai/api/v1/streaming-avatar/qa-contest?channel=f84fd'

Responses

🟢200Success
application/json
Body
code
integer 
required
0 is OK
data
object 
required
text
string 
required
QA context
trace_id
string 
required
Example
{
  "code": 0,
  "data": {
    "text": "Here's the text reformatted with proper line breaks: A2E stands for \\\"Avatars to Everyone\\\". Our mission is to democratize AI avatars. We are committed to providing the most economical, accessible, and flexible AI avatar solutions for developers. Join our discord community Affordable Our per-minute costs are the lowest in the industry. As developers ourselves, we understand that your application might not attract many users on day one. That's why you can start experimenting with our APIs for free. When you're ready to release, you can freely choose between pay-by-usage (minutes) or server-based billing. Start small, and scale as your application becomes a success! Accessible We've developed video.a2e.ai as a sandbox for you to experience our APIs firsthand. Without writing a single line of code, you can explore how to select an avatar, hear the voice quality, and observe the smoothness of lip motion. Every feature available on video.a2e.ai is backed by our APIs, allowing you to gauge the effort required to build your own apps on top of A2E.ai. Flexible With A2E, you can create your own avatars and even integrate voices from other TTS vendors. We don't charge for your creativity. Whether you're building mobile apps, web apps, AI companions, AI education tools, video editing software, or interactive kiosks, we're here to support your vision. To help you get started, we offer a range of copyright-free public avatars that you can use to bootstrap your development. FAQ What kind of support structure do you have in place for API developers? The recent SLA is ~99.6%. Our tech team monitors outages 24/7. In case you experience an unusual failure / timeout, you can always reach us by email (usually replied within 1 business day). If your average monthly bill qualifies, e.g. you get a Dedicated Line, you can also reach us by whatsapp (usually replied within 2 hours during business hours). Would you be able to give us a limited API access key so we can evaluate the platform? At A2E, we offer free coins for every new developers. Feel free to register your new account at https://video.a2e.ai/. Your account will automatically gain access to the API. Please read our API doc to know how to obtain the API token by using your account id."
  },
  "trace_id": "19def700-ed13-4eac-88df-db0d69d79f61"
}
🟠400Bad Request
Previous
Set QA Context
Next
Ask a Question to the Avatar
Built with