Generate Avatar IV Video

POSThttps://api.konpro.ai/v1/video/avatar_iv/generate

Create a high-quality Avatar IV video using a photo as input, enhanced with advanced AI-driven facial motion and expressive animations.

Request History

Log in to see full request history

TIMESTATUSUSER AGENT
Make a request to see history.

0 Requests This Month

Request Body Parameters

FieldTypeDescription
image_keystring(Required) Asset key returned after uploading the source image via the Upload Asset API
video_titlestring(Required) Title assigned to the generated video
scriptstring(Required) Text to be spoken by the avatar
voice_idstring(Required) Voice ID selected from the KonPro voice library
video_orientationstringVideo aspect orientation: "portrait" (default) or "landscape"
fitstringHow the avatar fits within the frame. Options: "cover" or "contain"
custom_motion_promptstringCustom text prompt directing the avatar's motion style
enhance_custom_motion_promptbooleanWhether AI enhancement is applied to the custom motion prompt (default false)
audio_urlstringURL to an audio track to synchronize with the avatar speech
audio_asset_idstringAlternatively, asset ID for the audio track uploaded to the system

Response

Returns HTTP 200 with the unique video ID and details upon successful creation.

Error codes and messages returned for invalid requests or failures.

cURL Request

shell
curl --request POST \
--url https://api.konpro.ai/v1/video/avatar_iv/generate \
--header "accept: application/json" \
--header "content-type: application/json" \
--header "x-api-key: <your-api-key>" \
--data '{
  "image_key": "img_abcdef123456",
  "video_title": "Product Demo Video",
  "script": "Welcome to our new product launch!",
  "voice_id": "voice789",
  "video_orientation": "portrait",
  "fit": "cover",
  "custom_motion_prompt": "expressive and lively",
  "enhance_custom_motion_prompt": true
}'

Example Usage

Shell
curl --request POST \
--url https://api.konpro.ai/v1/video/avatar_iv/generate \
--header "accept: application/json" \
--header "content-type: application/json" \
--header "x-api-key: <your-api-key>" \
--data '{
  "image_key": "img_abcdef123456",
  "video_title": "Product Demo Video",
  "script": "Welcome to our new product launch!",
  "voice_id": "voice789",
  "video_orientation": "portrait",
  "fit": "cover",
  "custom_motion_prompt": "expressive and lively",
  "enhance_custom_motion_prompt": true
}'

LANGUAGE

CREDENTIALS

HEADER

RESPONSE

Examples

Choose an example:

application/json
200 - Result
400 - Result