Skip to content

Query: Task Results

Digital human task result query API for retrieving the generation status and output information of a specific task.


Overview

  • Method: GET
  • Path: /avatar/task/{task_id}
  • Content-Type: application/json
  • Category: Video Models (Video) / Digital Human

Authentication

  • Header: Authorization: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
task_idstringYesTask ID of the generated video

Request Example

curl Example

bash
curl -X GET "https://api.gpt.ge/avatar/task/your_task_id" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $YOUR_TOKEN"

JavaScript (fetch) Example

javascript
fetch('https://api.gpt.ge/avatar/task/your_task_id', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_TOKEN'
  }
})
  .then(res => res.json())
  .then(console.log)

Python (requests) Example

python
import requests

resp = requests.get(
    'https://api.gpt.ge/avatar/task/your_task_id',
    headers={
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_TOKEN'
    }
)
print(resp.json())

Response Fields

FieldTypeDescription
idstringTask ID
extobjectAdditional extension information
ext.sing_titlestringGenerated audio file name
ext.track_infostringTrack information
ext.animate_channelstringAnimation channel type
singerstringSinger name
file_typestringFile type
work_namestringWork name
animate_idstringAnimation ID
play_typesarray[string]List of play types
vip_enablebooleanVIP resource flag
create_timeintegerCreation timestamp
music_titlestringMusic title
template_idstringTemplate ID
user_image_urlstringUser image URL
work_webp_pathstringWork WebP address
web_work_statusintegerWeb work status
work_video_pathstringVideo URL
share_magic_textstringShare caption
example_image_urlarray[string]Example image URLs
picture_path_listarray[string]List of picture paths
primary_play_typestringPrimary play type
tmp_online_enablebooleanTemporary online enable flag
webp_aspect_ratiointegerWebP aspect ratio
animate_params_strstringAnimation parameter string
video_aspect_ratiointegerVideo aspect ratio
wm_work_video_pathstringWatermarked video URL
template_create_timeintegerTemplate creation timestamp
no_wm_work_video_pathstringNon-watermarked video URL

Response Example (200)

json
{
  "id": "67930a6f8d5ac20007a77b1c",
  "ext": {
    "sing_title": "1737689681056.mp3",
    "track_info": "{}",
    "animate_channel": "dynamic"
  },
  "singer": "DreamFace",
  "file_type": "VIDEO",
  "work_name": "1737689681056.mp3",
  "animate_id": "264c5fb9449e4c31a7ea0f392696431b",
  "play_types": [
    "PT",
    "",
    "ANIMATE"
  ],
  "vip_enable": false,
  "create_time": 1737689710890,
  "music_title": "Talking avatar",
  "template_id": "655b213cccd1db0007e1d977",
  "user_image_url": "",
  "work_webp_path": "https://cdn.gptbest.vip/file/cdn/20250124/zQBRDI6pT3Bcxs5F9iShAWf05jio0F.jpg",
  "web_work_status": 200,
  "work_video_path": "https://cdn.gptbest.vip/file/cdn/20250124/hfulzDLGgiDg3EQsdYZse3em2f3peS.mp4",
  "share_magic_text": "13.4K users shared moments",
  "example_image_url": [
    "config/common/main/bd15932c14584ec2bd39f8fb46da47c7.jpg",
    "config/common/main/9ae535433a14496982017711be5a06ca.png",
    "config/common/main/70d3629c39094b33ac0359f017f1a963.jpg",
    "system/file/fdfs/c785a37a9bd64fe5b7bdefa9054cc8b6.png"
  ],
  "picture_path_list": [],
  "primary_play_type": "ANIMATE",
  "tmp_online_enable": false,
  "webp_aspect_ratio": 1,
  "animate_params_str": "{\"pt_infos\":[{\"context\":null,\"audio_url\":\"server%2Faudio%2Fmain%2F6d4f9a63efb94760866f600117d147bd.mp3\",\"voice_engine_id\":null,\"audio_id\":null,\"video_url\":\"server%2Fcommon%2Fmain%2Fcb599ba5-61f1-4648-bfbb-1e06299da48d.mp4\",\"video_pattern_url\":null,\"lan\":null,\"character_id\":null,\"pag_img_urls\":null,\"video_img_urls\":null}]}"
  ,
  "video_aspect_ratio": 1,
  "wm_work_video_path": "https://cdn.gptbest.vip/file/cdn/20250124/hfulzDLGgiDg3EQsdYZse3em2f3peS.mp4",
  "template_create_time": 1700471100257,
  "no_wm_work_video_path": "https://cdn.gptbest.vip/file/cdn/20250124/hfulzDLGgiDg3EQsdYZse3em2f3peS.mp4"
}