A2E
  1. Image to Video
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
      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
    • 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
      POST
    • Check Status of One Task
      GET
    • List Status of All Tasks
      GET
    • Delete Record
      DELETE
  • 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
    • Exchange Diamonds
    • List Available Languages
    • Save URL to A2E's storage
  1. Image to Video

Start Image-to-Video

Global Server
https://video.a2e.ai
Global Server
https://video.a2e.ai
POST
/api/v1/userImage2Video/start
Initiate an image-to-video task. Our model produces a 5 seconds long high-quality 720p videos. Our image-to-video model is specifically optimized to generate highly detailed facial features. Under normal circumstances, a task will be completed within 10 minutes, provided there is no queue.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
name
string 
required
The name associated with the request.
image_url
string 
required
The image url for the video generation. Use /api/v1/tos/transferToStorage if your image url is unstable to access.
prompt
string 
required
the prompt for your i2v task. e.g. the person is speaking. Looking at the camera. detailed eyes, clear teeth,static camera view point, still background
negative_prmpt
string 
required
the negative prompt. e.g. six fingers, bad hands, lowres, low quality, worst quality, moving camera view point, still image
Example
{
  "name": "Test name",
  "image_url": "https://example.com/524f2258-c5a0-4bb2-9003-5e4740a2d376.png",
  "prompt": "the person is speaking. Looking at the camera. detailed eyes, clear teeth, static view point, still background",
  "negative_prompt": "six fingers, bad hands, lowres, low quality, worst quality, moving view point, static image"
}

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/userImage2Video/start' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Test name",
    "image_url": "https://example.com/524f2258-c5a0-4bb2-9003-5e4740a2d376.png",
    "prompt": "the person is speaking. Looking at the camera. detailed eyes, clear teeth, static view point, still background",
    "negative_prompt": "six fingers, bad hands, lowres, low quality, worst quality, moving view point, static image"
}'

Responses

🟢200OK
application/json
Body
code
integer 
required
0 is OK
data
object 
required
_id
string 
required
name
string 
required
image_url
string 
required
current_status
string 
required
coins
integer 
required
createdAt
string 
required
failed_message
string 
required
failed_code
string 
required
trace_id
string 
required
Example
{
  "code": 0,
  "data": {
    "_id": "67d29023dd27a536fdf6e809",
    "name": "Test name",
    "image_url": "https://example.com/524f2258-c5a0-4bb2-9003-5e4740a2d376.png",
    "prompt": "the person is speaking. Looking at the camera. detailed eyes, clear teeth,static camera view point, still background",
    "negative_prompt": "six fingers, bad hands, lowres, low quality, worst quality, moving camera view point, still image",
    "current_status": "sent",
    "coins": 100,
    "createdAt": "2025-03-13T07:58:27.863Z",
    "failed_message": "",
    "failed_code": ""
  },
  "trace_id": "a1ae4185-7929-4fe1-8903-13a41cc072fd"
}
Modified at 2025-03-17 21:22:28
Previous
Delete Record
Next
Check Status of One Task
Built with