Skip to content
On this page

Video Information Query Interface

1.Interface Function

This function allows users to query the production status of an uploaded video through a specified Quick Magic motion capture service interface. Users need to provide relevant parameters, such as the domain name, video ID, and enterprise credentials. Users can obtain video production status information by accessing a specific API path. After a successful query, users can verify the operation result by checking the returned status code and message and retrieve detailed video production status information.

2.Request Method

Post

3.Request URL

https://www.quickmagic.ai/business/getStatus/{video_id}/{key}

4.Request Parameters(Query string)

  • videoId:Required, the ID of the uploaded video, obtainable from the upload response or by logging into the website.
  • companyKey:Required, the unique enterprise identifier.

5.Response Information

The server will return response data in JSON format. A successful response includes a status code, message, and data; an error response includes a status code and error information.

  • message:Response information. Format: {'CaptureType': 'whole_body'}. Motion capture types include full-body and half-body.

  • videoId:The ID of the uploaded video.

  • status:Interface call status.

      200:Succeed
      600:System errors
      500:Parameter errors
    
  • videoStatus:Video production status ('"Not produced', 'In production', 'Completion of production', 'Production failure').

6.Python Example Code

# encoding=utf-8
import json
import requests

# Configuration
url = "https://www.quickmagic.ai/business/getStatus/{video_id}/{key}"
video_id = "1753336914494078977"
key = "f351974e-9d4e-46f1-b221-d0bf7c6d25df"

# API endpoint URL
url = f"{url}"
print(url)

# Make API request
response = requests.post(url)

# Check response status
if response.status_code == 200:
    response_data = json.loads(response.text)
    print(response_data)
else:
    print("Failed to access link")