Skip to main content
GET
/
api
/
open
/
v3
/
content
/
video
/
infobymodelid
Get Video Translation Result
curl --request GET \
  --url https://openapi.akool.com/api/open/v3/content/video/infobymodelid \
  --header 'x-api-key: <api-key>'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "_id": "<string>",
    "create_time": 123,
    "uid": 123,
    "team_id": "<string>",
    "video_id": "<string>",
    "video_status": 123,
    "video": "<string>",
    "progress": 123,
    "deduction_duration": 123,
    "error_code": 123,
    "error_reason": "<string>"
  }
}

Important Notes

  • Use the _id field from the Create By Talking Photo API response as the video_model_id parameter
  • Poll this endpoint periodically to check the video generation status
  • When video_status is 3 (Success), the video field will contain the URL of the generated video
  • Generated videos are valid for 7 days, download and save them promptly

Video Status

StatusDescription
1In Queue - Your request is waiting to be processed
2Processing - Video is currently being generated
3Success - Video completed, result URL is available
4Failed - Video generation failed

Authorizations

x-api-key
string
header
required

Query Parameters

video_model_id
string
required

Video database ID returned by the Create Video Translation API (_id field)

Response

200 - application/json

Video translation status retrieved successfully

code
integer

Business status code (1000 = success)

msg
string

Status message

data
object