- AI Avatar API
- Get Tokens
- TTS and Voice Clone
- Generate Avatar Videos
- Create Avatars and Train Lip-sync Models
- Background Matting and Replacement
- Face Swap
- AI Dubbing
- Image to Video
- Caption Removal
- Streaming Avatar
- Miscellaneous
Start Image-to-Video
Global Server
Global Server
POST
/api/v1/userImage2Video/start
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
image_url
stringÂ
required
/api/v1/tos/transferToStorage
if your image url is unstable to access.prompt
stringÂ
required
the person is speaking. Looking at the camera. detailed eyes, clear teeth,static camera view point, still background
negative_prmpt
stringÂ
required
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
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