A2E
  1. Virtual Try-On
A2E
  • AI Avatar API
  • Get Tokens
    • Getting API Tokens (2025 version)
  • TTS and Voice Clone
    • List Public TTS Options
      GET
    • 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
      GET
    • List One or All Avatars
      GET
    • Obtain the Status of One Avatar Video Task
      POST
    • 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
      POST
    • Train a Personalized Lip-sync Model (Optional) a.k.a. Continue Training 💠
      POST
    • Remove A Customized Avatar
      POST
    • Get Status of All Tasks
      GET
    • Get All Ongoing "Training" Tasks
      GET
    • Status of One Task
      GET
    • Clone Voice from a Video
      POST
  • 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
    • Start and Manage Face Swap Tasks
      • Start a 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
    • Get User Remaining Credits
    • List Available Languages
    • Save URL to A2E's storage
    • Add Watermark to Video or Image
    • Get R2 Upload Presigned URL
  • Text to Image
    • Start Text-to-Image
    • List Tasks of Text-to-Image Tasks
    • Get Details of One Task
    • Delete Record
    • Quick Add Avarar
  • Product Holding
    • Start Product Holding
    • List Tasks of Product Holding Tasks
    • Get Details of One Task
    • Delete Record
  • Talking Photo
    • Start a Task
    • List Tasks
    • Get Task Detail
    • Delete Task
  • Virtual Try-On
    • Start Virtual Try-On
      POST
    • List Tasks of Virtual Try-On
      GET
    • Get Details of One Task
      GET
    • Delete Record
      DELETE
  1. Virtual Try-On

Start Virtual Try-On

Global Server
https://video.a2e.ai
Global Server
https://video.a2e.ai
POST
/api/v1/virtualTryOn/start

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
  "name": "My first Virtual Try-On",
  "image_urls": [
    "https://prod-tos.avatar2everyone.com/adam2eve/static/aiClothingDemo/m2.jpg",
    "https://prod-tos.avatar2everyone.com/adam2eve/stable/origin_image_generation/20250813/48889791-34c3-4751-a19e-ab28a1e55393.png",
    "https://prod-tos.avatar2everyone.com/adam2eve/static/aiClothingDemo/c2.png",
    "https://prod-tos.avatar2everyone.com/adam2eve/stable/origin_image_generation/20250813/fbcd0590-7b54-4217-ba5f-7079b7d6afbb.png"
  ]
}

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/virtualTryOn/start' \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "My first Virtual Try-On",
  "image_urls": [
    "https://prod-tos.avatar2everyone.com/adam2eve/static/aiClothingDemo/m2.jpg",
    "https://prod-tos.avatar2everyone.com/adam2eve/stable/origin_image_generation/20250813/48889791-34c3-4751-a19e-ab28a1e55393.png",
    "https://prod-tos.avatar2everyone.com/adam2eve/static/aiClothingDemo/c2.png",
    "https://prod-tos.avatar2everyone.com/adam2eve/stable/origin_image_generation/20250813/fbcd0590-7b54-4217-ba5f-7079b7d6afbb.png"
  ]
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "code": 0,
    "data": {
        "_id": "68941ac7d58f578225adbfd4",
        "name": "My first Virtual Try-On",
        "image_urls": [
            "https://stream-downloader.ai2everyone.com/?url=https%3A%2F%2Falgo-data-jumpy.tos-cn-beijing.volces.com%2FAI%2FComfy-UI%2Ftest_image%2Ftest-hy%2Fp.png",
            "https://stream-downloader.ai2everyone.com/?url=https%3A%2F%2Falgo-data-jumpy.tos-cn-beijing.volces.com%2FAI%2FComfy-UI%2Ftest_image%2Ftest-hy%2Fp_mask.png",
            "https://stream-downloader.ai2everyone.com/?url=https%3A%2F%2Falgo-data-jumpy.tos-cn-beijing.volces.com%2FAI%2FComfy-UI%2Ftest_image%2Ftest-hy%2Fb.png",
            "https://stream-downloader.ai2everyone.com/?url=https%3A%2F%2Falgo-data-jumpy.tos-cn-beijing.volces.com%2FAI%2FComfy-UI%2Ftest_image%2Ftest-hy%2Fb_mask.png"
        ],
        "current_status": "initialized",
        "coins": 30,
        "createdAt": "2025-08-07T03:17:27.866Z",
        "failed_message": "",
        "failed_code": ""
    },
    "trace_id": "517befc2-2b69-43de-82cd-c9387ffadd93"
}
Modified at 2025-08-13 03:38:28
Previous
Delete Task
Next
List Tasks of Virtual Try-On
Built with