v1

latestOpenAPI 3.0.1MIT2026-07-2638658.5 KB
Video

Get template video status and details

Retrieve video information, status, and metadata by video ID

get/v2/template_video/{video_id}

Path parameters

video_idstring required
Example:video_123456789

Video ID

Response

Success

codeinteger required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
msgstring required

Response message

Example response

{
  "msg": "Success",
  "data": {
    "video_id": "video_123456789",
    "status": "completed",
    "created_at": 1640995200,
    "completed_at": 1640995500,
    "data": {
      "video_name": "My Template Video",
      "url": "https://example.com/video.mp4",
      "cover_url": "https://example.com/cover.jpg",
      "duration_seconds": 30.5,
      "deducted_credit": 10.5
    }
  }
}