Topview-api-English version
  1. Video Avatar
Topview-api-English version
  • API Document
  • Avatar Marketing Video
    • script
      • List script content
      • Update script content
    • Submit task
      POST
    • Query task
      GET
    • Export
      POST
  • Video Avatar
    • submit task
      POST
    • query task
      GET
  • Scraper
    • submit scraper task
      POST
    • query scraper task
      GET
  • Upload
    • Get Upload Credential
      GET
    • Get Upload Check
      GET
  • Product Avatar
    • Replace Product Image
      • submit task
      • query task
    • Image2Video
      • submit task
      • query task
    • Category Query
      GET
    • Public product avatar Query
      GET
  • Common Task
    • image2Video
      • submit task
      • query task
  • Product AnyShoot
    • Replace Product Image
      • submit task
      • query task
    • Template Category
      GET
    • Template List
      GET
  • Caption List
    GET
  • Voice Query
    GET
  • AiAvatar Query
    GET
  • check notice url
    POST
  • Ethnicity Query
    GET
  1. Video Avatar

query task

Developing
GET
/v1/video_avatar/task/query

Request

Query Params
taskId
string 
required
task id.
needCloudFrontUrl
boolean 
optional
Whether to return a CloudFront URL: true - returns the CloudFront URL; false - will return the S3 URL
Header Params
Topview-Uid
string 
required
Authorization
string 
required

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 GET 'https://api.topview.ai/v1/video_avatar/task/query?taskId&needCloudFrontUrl' \
--header 'Topview-Uid;' \
--header 'Authorization;'

Responses

🟢200OK
application/json
Body
code
string 
required
message
string 
required
result
object 
required
taskId
string 
required
status
string 
required
task status.
init/running/success/fail
errorMsg
string 
required
inputVideoFileId
string 
required
user inputed video file id
inputAudioFileId
string 
required
user inputed audio file id.
outputVideoUrl
string 
required
output video file url.
Example
{
    "code": "string",
    "message": "string",
    "result": {
        "taskId": "string",
        "status": "string",
        "errorMsg": "string",
        "inputVideoFileId": "string",
        "inputAudioFileId": "string",
        "outputVideoUrl": "string"
    }
}
Modified at 2025-05-16 06:17:27
Previous
submit task
Next
submit scraper task
Built with