---
title: "Kuaishou รายละเอียดวิดีโอ API (V2)"
description: "สืบค้นข้อมูลสาธารณะของวิดีโอ Kuaishou โดยใช้ ID ของวิดีโอ ใช้เพื่อตรวจสอบวิดีโอที่เลือกหลังจากการค้นหาหรือการค้นพบวิดีโอที่ผู้ใช้ได้เผยแพร่"
lastUpdated: false
aiUsagePrompt: true
---

# Kuaishou รายละเอียดวิดีโอ API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/kuaishou/get-video-detail/v2\"")'
  :summary='JSON.parse("\"รายละเอียดวิดีโอ (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/kuaishou/video-details-v2-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นการเข้าถึงสำหรับบริการ API นี้\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"videoId\",\"in\":\"query\",\"description\":\"ตัวระบุวิดีโอที่ไม่ซ้ำกันซึ่ง Kuaishou ส่งคืน\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"รายละเอียดวิดีโอของ Kuaishou หากมีอยู่ในการตอบกลับ\",\"properties\":{\"result\":{\"type\":\"integer\",\"description\":\"รหัสสถานะของ payload ของ Kuaishou ค่าที่ตอบกลับมาใช้ 1\"},\"photos\":{\"type\":\"array\",\"description\":\"วิดีโอที่ส่งกลับมาเพื่อหมายเลขที่ขอ หากมี\",\"items\":{\"type\":\"object\",\"description\":\"วิดีโอหนึ่งของ Kuaishou\",\"properties\":{\"photo_id\":{\"type\":\"integer\",\"description\":\"ID ของวิดีโอ Kuaishou ในรูปแบบตัวเลข ให้รักษาความแม่นยำของมันไว้ขณะแปล JSON\"},\"originalPhotoId\":{\"type\":\"string\",\"description\":\"ตัวระบุสตริงสำหรับวิดีโอ Kuaishou ต้นฉบับ\"},\"caption\":{\"type\":\"string\",\"description\":\"คำบรรยายที่เผยแพร่พร้อมกับวิดีโอ\"},\"time\":{\"type\":\"string\",\"description\":\"ป้ายเวลาเผยแพร่สำหรับวิดีโอ\"},\"timestamp\":{\"type\":\"integer\",\"description\":\"เวลาเผยแพร่วิดีโอในรูปแบบเวลาอูนิกซ์ (Unix) ในหน่วยมิลลิวินาที\"},\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวของวิดีโอในหน่วยมิลลิวินาที\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทวิดีโอที่รายงานโดย Kuaishou\"},\"photo_status\":{\"type\":\"integer\",\"description\":\"รหัสสถานะวิดีโอที่รายงานโดย Kuaishou\"},\"longVideo\":{\"type\":\"boolean\",\"description\":\"ว่ากuaishou จะจัดให้วิดีโอนั้นเป็นวิดีโอยาวหรือไม่\"},\"view_count\":{\"type\":\"integer\",\"description\":\"จำนวนการดูวิดีโอที่รายงาน\"},\"like_count\":{\"type\":\"integer\",\"description\":\"จำนวนความชื่นชมวิดีโอที่รายงาน\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นวิดีโอที่รายงาน\"},\"collect_count\":{\"type\":\"integer\",\"description\":\"จำนวนการบันทึกวิดีโอที่รายงาน\"},\"share_count\":{\"type\":\"integer\",\"description\":\"จำนวนการแชร์วิดีโอที่รายงาน\"},\"forward_count\":{\"type\":\"integer\",\"description\":\"จำนวนการส่งต่อวิดีโอที่รายงาน\"},\"user_id\":{\"type\":\"integer\",\"description\":\"ID ของบัญชี Kuaishou ที่ใช้เป็นตัวระบุผู้สร้างวิดีโอ\"},\"user_name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของผู้เผยแพร่วิดีโอ\"},\"kwaiId\":{\"type\":\"string\",\"description\":\"ตัวระบุบัญชี Kuaishou สาธารณะ หากมี\"},\"verified\":{\"type\":\"boolean\",\"description\":\"ว่าบัญชีของผู้สร้างวิดีโอได้รับการยืนยันหรือไม่\"},\"headurls\":{\"type\":\"array\",\"description\":\"URL สำหรับอวาล์ดของผู้สร้างวิดีโอ\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"main_mv_urls\":{\"type\":\"array\",\"description\":\"URL ที่มีอยู่สำหรับแหล่งข้อมูลวิดีโอหลัก\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"cover_thumbnail_urls\":{\"type\":\"array\",\"description\":\"URL สำหรับแผ่นขนาดย่อของวิดีโอหน้าปก\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"ff_cover_thumbnail_urls\":{\"type\":\"array\",\"description\":\"URL สำหรับแผ่นขนาดย่อของวิดีโอหน้าปกเพิ่มเติมที่รายงานโดย Kuaishou\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"ext_params\":{\"type\":\"object\",\"description\":\"ขนาดของวิดีโอเพิ่มเติม\",\"properties\":{\"w\":{\"type\":\"integer\",\"description\":\"ความกว้างที่บันทึกไว้ในเมทาดาติของวิดีโอ ในพิกเซล\"},\"h\":{\"type\":\"integer\",\"description\":\"ความสูงที่บันทึกไว้ในเมทาดาติของวิดีโอ ในพิกเซล\"}}},\"streamManifest\":{\"type\":\"object\",\"description\":\"ข้อมูลการเล่นและเมทาดาติทางเทคนิคของวิดีโอและเสียง\",\"properties\":{\"version\":{\"type\":\"string\",\"description\":\"เวอร์ชันของคำสั่งการเล่น.\"},\"videoId\":{\"type\":\"string\",\"description\":\"ตัวระบุวิดีโอที่ใช้โดยการเล่นวิดีโอ\"},\"adaptationSet\":{\"type\":\"array\",\"description\":\"กลุ่มของรูปแบบการเล่นที่มีอยู่\",\"items\":{\"type\":\"object\",\"description\":\"กลุ่มหนึ่งของรูปแบบการเล่น\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"ตัวระบุกลุ่มรูปแบบการเล่นใน manifest\"},\"duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาการเล่นที่บันทึกไว้สำหรับกลุ่มนี้ ในหน่วยมิลลิวินาที\"},\"representation\":{\"type\":\"array\",\"description\":\"รูปแบบการเล่นที่มีอยู่ในกลุ่มการเล่นนี้\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบการเล่นหนึ่งรูปแบบ\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"ตัวระบุรูปแบบการเล่นนี้ใน manifest การเล่น\"},\"url\":{\"type\":\"string\",\"description\":\"URL การเล่นที่รายงานสำหรับรูปแบบการเล่นนี้\"},\"maxBitrate\":{\"type\":\"integer\",\"description\":\"ความเร็วบิตสูงสุดที่รายงานสำหรับรูปแบบการเล่นนี้ ในคิโลบิตต่อวินาที\"},\"avgBitrate\":{\"type\":\"integer\",\"description\":\"ความเร็วบิตเฉลี่ยที่รายงานสำหรับรูปแบบการเล่นนี้ ในคิโลบิตต่อวินาที\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบการเล่นในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบการเล่นในพิกเซล\"},\"frameRate\":{\"type\":\"number\",\"description\":\"ความเร็วเฟรมของรูปแบบการเล่นนี้ ในเฟรมต่อวินาที\"},\"quality\":{\"type\":\"number\",\"description\":\"ตัวชี้วัดคุณภาพวิดีโอสำหรับรูปแบบการเล่นนี้\"},\"qualityType\":{\"type\":\"string\",\"description\":\"รหัสประเภทคุณภาพที่รายงานสำหรับรูปแบบการเล่นนี้\"},\"qualityLabel\":{\"type\":\"string\",\"description\":\"ป้ายกำกับสำหรับคุณภาพวิดีโอของรูปแบบการเล่นนี้\"},\"hdrType\":{\"type\":\"integer\",\"description\":\"รหัสประเภท HDR ที่รายงานสำหรับรูปแบบการเล่นนี้\"},\"fileSize\":{\"type\":\"integer\",\"description\":\"ขนาดไฟล์ของรูปแบบการเล่นนี้ในไบต์\"},\"mute\":{\"type\":\"boolean\",\"description\":\"ว่าการเล่นรูปแบบนี้ถูกตั้งเป็น “ปิด” หรือไม่\"},\"backupUrl\":{\"type\":\"array\",\"description\":\"URL การเล่นสำรองสำหรับรูปแบบการเล่นนี้\",\"items\":{\"type\":\"string\",\"description\":\"URL การเล่นสำรองหนึ่งรายการ\"}},\"volumeInfo\":{\"type\":\"object\",\"description\":\"มาตรวัดความดังของเสียงสำหรับรูปแบบการเล่นนี้\",\"properties\":{\"loudness\":{\"type\":\"number\",\"description\":\"ความดังของเสียงที่รายงาน\"},\"lra\":{\"type\":\"number\",\"description\":\"ช่วงความดังที่รายงาน\"},\"tp\":{\"type\":\"number\",\"description\":\"ความดังสูงสุดที่รายงาน\"}}}}}}}}},\"videoFeature\":{\"type\":\"object\",\"description\":\"มาตรวัดทางเทคนิคที่รายงานสำหรับภาพวิดีโอ\",\"properties\":{\"blurProbability\":{\"type\":\"number\",\"description\":\"ความน่าจะเป็นที่ภาพจะเบลอ\"},\"blockyProbability\":{\"type\":\"number\",\"description\":\"ความน่าจะเป็นที่จะเห็นรอยขีดข่วนบนภาพ\"},\"avgEntropy\":{\"type\":\"number\",\"description\":\"ค่าเฉลี่ยของเอนโทรปีของภาพ\"},\"mosScore\":{\"type\":\"number\",\"description\":\"มาตรวัดคุณภาพ Mean Opinion Score (MOS)\"},\"contrast\":{\"type\":\"number\",\"description\":\"มาตรวัดความคมชัดของภาพ\"}}},\"audioFeature\":{\"type\":\"object\",\"description\":\"การวัดทางเทคนิคสำหรับเสียงของวิดีโอ\",\"properties\":{\"audioQuality\":{\"type\":\"number\",\"description\":\"ตัวชี้วัดคุณภาพเสียง\"},\"musicProbability\":{\"type\":\"number\",\"description\":\"ความน่าจะเป็นที่มีเสียงดนตรีประกอบ\"},\"dialogProbability\":{\"type\":\"number\",\"description\":\"ความน่าจะเป็นที่มีบทสนทนาปรากฏ\"},\"backgroundSoundProbability\":{\"type\":\"number\",\"description\":\"ความน่าจะเป็นที่มีเสียงพื้นหลังปรากฏ\"},\"stereophonicRichness\":{\"type\":\"number\",\"description\":\"ตัวชี้วัดความหลากหลายของเสียงสเตอริโอ\"},\"audioSnr\":{\"type\":\"number\",\"description\":\"อัตราส่วนสัญญาณเสียงต่อเสียงรบกวน\"},\"effectiveBandwidthInHz\":{\"type\":\"number\",\"description\":\"ความกว้างของแบนด์วิดท์เสียงที่มีประสิทธิภาพในเฮิรตซ์\"}}}}},\"soundTrack\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าและทรัพยากรที่เกี่ยวข้องกับเสียงประกอบ\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุของเสียงประกอบ\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงสำหรับเสียงประกอบ\"},\"artist\":{\"type\":\"string\",\"description\":\"ชื่อศิลปินที่แสดงสำหรับเสียงประกอบ\"},\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเสียงประกอบในวินาที\"},\"photoId\":{\"type\":\"integer\",\"description\":\"ID ตัวเลขของวิดีโอ Kuaishou ที่เกี่ยวข้องกับเสียงประกอบนี้ รักษาความแม่นยำของข้อมูลขณะแปล JSON\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของเสียงประกอบที่ Kuaishou รายงาน\"},\"audioType\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของเสียงที่รายงานสำหรับเพลงประกอบ。\"},\"genreId\":{\"type\":\"integer\",\"description\":\"ตัวระบุประเภทของเพลงประกอบที่รายงาน。\"},\"loudness\":{\"type\":\"number\",\"description\":\"ความดังของเสียงประกอบที่รายงาน\"},\"isOffline\":{\"type\":\"boolean\",\"description\":\"Kuaishou รายงานหรือไม่ว่าเสียงประกอบนี้เป็นแบบออฟไลน์\"},\"hasCopyright\":{\"type\":\"boolean\",\"description\":\"ป้ายกำกับลิขสิทธิ์ที่ Kuaishou รายงานสำหรับเสียงประกอบนี้\"},\"audioUrls\":{\"type\":\"array\",\"description\":\"URL สำหรับการเล่นเสียงประกอบที่มีอยู่\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"imageUrls\":{\"type\":\"array\",\"description\":\"URL สำหรับภาพของเสียงประกอบที่มีอยู่\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"avatarUrls\":{\"type\":\"array\",\"description\":\"URL ของภาพลักษณ์ที่สามารถดูได้พร้อมกับเสียงประกอบ.\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}},\"user\":{\"type\":\"object\",\"description\":\"ข้อมูลบัญชีสาธารณะที่แสดงพร้อมกับเสียงประกอบ.\",\"properties\":{\"user_id\":{\"type\":\"integer\",\"description\":\"ID ของบัญชี Kuaishou ในรูปแบบตัวเลขที่แสดงพร้อมกับเสียงประกอบ.\"},\"user_name\":{\"type\":\"string\",\"description\":\"ชื่อแสดงผลของบัญชีที่แสดงพร้อมกับเสียงประกอบ.\"},\"kwaiId\":{\"type\":\"string\",\"description\":\"ตัวระบุบัญชี Kuaishou สาธารณะ หากมี\"},\"headurl\":{\"type\":\"string\",\"description\":\"URL ของภาพลักษณ์หลักของบัญชีที่แสดงพร้อมกับเสียงประกอบ.\"},\"headurls\":{\"type\":\"array\",\"description\":\"URL ของภาพลักษณ์ย่อยสำหรับบัญชีที่แสดงพร้อมกับเสียงประกอบ.\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL สำหรับรูปแบบลิงก์นี้\"}}}}}}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"การอนุญาตถูกปฏิเสธ\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"ความผิดพลาดของเซิร์ฟเวอร์ภายใน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"บริการไม่สามารถใช้งานได้ในขณะนี้\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/kuaishou/get-video-detail/v2\"")' />

<p>สืบค้นข้อมูลสาธารณะของวิดีโอ Kuaishou โดยใช้ ID ของวิดีโอ ใช้เพื่อตรวจสอบวิดีโอที่เลือกหลังจากการค้นหาหรือการค้นพบวิดีโอที่ผู้ใช้ได้เผยแพร่</p>

## สิ่งที่น่าสนใจ

::: tip คำแนะนำ
<p>อ่าน <code>videoId</code> จากพารามิเตอร์ <code>clientCacheKey</code> ใน <code>main_url</code> และลบสกุลนาม <code>.jpg</code> ออก</p>
:::

## พารามิเตอร์

<div class="api-doc-table api-doc-table--params">

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นการเข้าถึงสำหรับบริการ API นี้ |
| <code>videoId</code> | query | <code>string</code> | ใช่ | - | ตัวระบุวิดีโอที่ไม่ซ้ำกันซึ่ง Kuaishou ส่งคืน |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดวิดีโอ (V2)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/kuaishou/video-details-v2-th.json

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- videoId (query): ตัวระบุวิดีโอที่ไม่ซ้ำกันซึ่ง Kuaishou ส่งคืน (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
   - 0: สำเร็จ
   - 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
   - 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
   - 302: เกินขีดจำกัดอัตราการเรียก
   - 303: ใช้โควตารายวันครบแล้ว
   - 400: พารามิเตอร์ไม่ถูกต้อง
   - 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
   - 600: ไม่มีสิทธิ์เข้าถึง
   - 601: ยอดเงินคงเหลือไม่เพียงพอ
   - 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี

กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

url = BASE_URL + "/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
        final String url = BASE_URL + "/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/kuaishou/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/kuaishou/video-details-v2-th.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[คำนิยาม OpenAPI (JSON)]</a>
</div>

## ฟิลด์ที่ได้รับการตอบกลับ

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| เส้นทางฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | รายละเอียดวิดีโอของ Kuaishou หากมีอยู่ในการตอบกลับ |
| <code>data.result</code> | <code>integer</code> | รหัสสถานะของ payload ของ Kuaishou ค่าที่ตอบกลับมาใช้ 1 |
| <code>data.photos</code> | <code>array</code> | วิดีโอที่ส่งกลับมาเพื่อหมายเลขที่ขอ หากมี |
| <code>data.photos[]</code> | <code>object</code> | วิดีโอหนึ่งของ Kuaishou |
| <code>data.photos[].photo_id</code> | <code>integer</code> | ID ของวิดีโอ Kuaishou ในรูปแบบตัวเลข ให้รักษาความแม่นยำของมันไว้ขณะแปล JSON |
| <code>data.photos[].originalPhotoId</code> | <code>string</code> | ตัวระบุสตริงสำหรับวิดีโอ Kuaishou ต้นฉบับ |
| <code>data.photos[].caption</code> | <code>string</code> | คำบรรยายที่เผยแพร่พร้อมกับวิดีโอ |
| <code>data.photos[].time</code> | <code>string</code> | ป้ายเวลาเผยแพร่สำหรับวิดีโอ |
| <code>data.photos[].timestamp</code> | <code>integer</code> | เวลาเผยแพร่วิดีโอในรูปแบบเวลาอูนิกซ์ (Unix) ในหน่วยมิลลิวินาที |
| <code>data.photos[].duration</code> | <code>integer</code> | ความยาวของวิดีโอในหน่วยมิลลิวินาที |
| <code>data.photos[].type</code> | <code>integer</code> | รหัสประเภทวิดีโอที่รายงานโดย Kuaishou |
| <code>data.photos[].photo_status</code> | <code>integer</code> | รหัสสถานะวิดีโอที่รายงานโดย Kuaishou |
| <code>data.photos[].longVideo</code> | <code>boolean</code> | ว่ากuaishou จะจัดให้วิดีโอนั้นเป็นวิดีโอยาวหรือไม่ |
| <code>data.photos[].view_count</code> | <code>integer</code> | จำนวนการดูวิดีโอที่รายงาน |
| <code>data.photos[].like_count</code> | <code>integer</code> | จำนวนความชื่นชมวิดีโอที่รายงาน |
| <code>data.photos[].comment_count</code> | <code>integer</code> | จำนวนความคิดเห็นวิดีโอที่รายงาน |
| <code>data.photos[].collect_count</code> | <code>integer</code> | จำนวนการบันทึกวิดีโอที่รายงาน |
| <code>data.photos[].share_count</code> | <code>integer</code> | จำนวนการแชร์วิดีโอที่รายงาน |
| <code>data.photos[].forward_count</code> | <code>integer</code> | จำนวนการส่งต่อวิดีโอที่รายงาน |
| <code>data.photos[].user_id</code> | <code>integer</code> | ID ของบัญชี Kuaishou ที่ใช้เป็นตัวระบุผู้สร้างวิดีโอ |
| <code>data.photos[].user_name</code> | <code>string</code> | ชื่อที่แสดงของผู้เผยแพร่วิดีโอ |
| <code>data.photos[].kwaiId</code> | <code>string</code> | ตัวระบุบัญชี Kuaishou สาธารณะ หากมี |
| <code>data.photos[].verified</code> | <code>boolean</code> | ว่าบัญชีของผู้สร้างวิดีโอได้รับการยืนยันหรือไม่ |
| <code>data.photos[].headurls</code> | <code>array</code> | URL สำหรับอวาล์ดของผู้สร้างวิดีโอ |
| <code>data.photos[].headurls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].headurls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].main_mv_urls</code> | <code>array</code> | URL ที่มีอยู่สำหรับแหล่งข้อมูลวิดีโอหลัก |
| <code>data.photos[].main_mv_urls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].main_mv_urls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].cover_thumbnail_urls</code> | <code>array</code> | URL สำหรับแผ่นขนาดย่อของวิดีโอหน้าปก |
| <code>data.photos[].cover_thumbnail_urls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].cover_thumbnail_urls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].ff_cover_thumbnail_urls</code> | <code>array</code> | URL สำหรับแผ่นขนาดย่อของวิดีโอหน้าปกเพิ่มเติมที่รายงานโดย Kuaishou |
| <code>data.photos[].ff_cover_thumbnail_urls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].ff_cover_thumbnail_urls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].ext_params</code> | <code>object</code> | ขนาดของวิดีโอเพิ่มเติม |
| <code>data.photos[].ext_params.w</code> | <code>integer</code> | ความกว้างที่บันทึกไว้ในเมทาดาติของวิดีโอ ในพิกเซล |
| <code>data.photos[].ext_params.h</code> | <code>integer</code> | ความสูงที่บันทึกไว้ในเมทาดาติของวิดีโอ ในพิกเซล |
| <code>data.photos[].streamManifest</code> | <code>object</code> | ข้อมูลการเล่นและเมทาดาติทางเทคนิคของวิดีโอและเสียง |
| <code>data.photos[].streamManifest.version</code> | <code>string</code> | เวอร์ชันของคำสั่งการเล่น. |
| <code>data.photos[].streamManifest.videoId</code> | <code>string</code> | ตัวระบุวิดีโอที่ใช้โดยการเล่นวิดีโอ |
| <code>data.photos[].streamManifest.adaptationSet</code> | <code>array</code> | กลุ่มของรูปแบบการเล่นที่มีอยู่ |
| <code>data.photos[].streamManifest.adaptationSet[]</code> | <code>object</code> | กลุ่มหนึ่งของรูปแบบการเล่น |
| <code>data.photos[].streamManifest.adaptationSet[].id</code> | <code>integer</code> | ตัวระบุกลุ่มรูปแบบการเล่นใน manifest |
| <code>data.photos[].streamManifest.adaptationSet[].duration</code> | <code>integer</code> | ระยะเวลาการเล่นที่บันทึกไว้สำหรับกลุ่มนี้ ในหน่วยมิลลิวินาที |
| <code>data.photos[].streamManifest.adaptationSet[].representation</code> | <code>array</code> | รูปแบบการเล่นที่มีอยู่ในกลุ่มการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[]</code> | <code>object</code> | รูปแบบการเล่นหนึ่งรูปแบบ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].id</code> | <code>integer</code> | ตัวระบุรูปแบบการเล่นนี้ใน manifest การเล่น |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].url</code> | <code>string</code> | URL การเล่นที่รายงานสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].maxBitrate</code> | <code>integer</code> | ความเร็วบิตสูงสุดที่รายงานสำหรับรูปแบบการเล่นนี้ ในคิโลบิตต่อวินาที |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].avgBitrate</code> | <code>integer</code> | ความเร็วบิตเฉลี่ยที่รายงานสำหรับรูปแบบการเล่นนี้ ในคิโลบิตต่อวินาที |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].width</code> | <code>integer</code> | ความกว้างของรูปแบบการเล่นในพิกเซล |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].height</code> | <code>integer</code> | ความสูงของรูปแบบการเล่นในพิกเซล |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].frameRate</code> | <code>number</code> | ความเร็วเฟรมของรูปแบบการเล่นนี้ ในเฟรมต่อวินาที |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].quality</code> | <code>number</code> | ตัวชี้วัดคุณภาพวิดีโอสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].qualityType</code> | <code>string</code> | รหัสประเภทคุณภาพที่รายงานสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].qualityLabel</code> | <code>string</code> | ป้ายกำกับสำหรับคุณภาพวิดีโอของรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].hdrType</code> | <code>integer</code> | รหัสประเภท HDR ที่รายงานสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].fileSize</code> | <code>integer</code> | ขนาดไฟล์ของรูปแบบการเล่นนี้ในไบต์ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].mute</code> | <code>boolean</code> | ว่าการเล่นรูปแบบนี้ถูกตั้งเป็น “ปิด” หรือไม่ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].backupUrl</code> | <code>array</code> | URL การเล่นสำรองสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].backupUrl[]</code> | <code>string</code> | URL การเล่นสำรองหนึ่งรายการ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].volumeInfo</code> | <code>object</code> | มาตรวัดความดังของเสียงสำหรับรูปแบบการเล่นนี้ |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].volumeInfo.loudness</code> | <code>number</code> | ความดังของเสียงที่รายงาน |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].volumeInfo.lra</code> | <code>number</code> | ช่วงความดังที่รายงาน |
| <code>data.photos[].streamManifest.adaptationSet[].representation[].volumeInfo.tp</code> | <code>number</code> | ความดังสูงสุดที่รายงาน |
| <code>data.photos[].streamManifest.videoFeature</code> | <code>object</code> | มาตรวัดทางเทคนิคที่รายงานสำหรับภาพวิดีโอ |
| <code>data.photos[].streamManifest.videoFeature.blurProbability</code> | <code>number</code> | ความน่าจะเป็นที่ภาพจะเบลอ |
| <code>data.photos[].streamManifest.videoFeature.blockyProbability</code> | <code>number</code> | ความน่าจะเป็นที่จะเห็นรอยขีดข่วนบนภาพ |
| <code>data.photos[].streamManifest.videoFeature.avgEntropy</code> | <code>number</code> | ค่าเฉลี่ยของเอนโทรปีของภาพ |
| <code>data.photos[].streamManifest.videoFeature.mosScore</code> | <code>number</code> | มาตรวัดคุณภาพ Mean Opinion Score (MOS) |
| <code>data.photos[].streamManifest.videoFeature.contrast</code> | <code>number</code> | มาตรวัดความคมชัดของภาพ |
| <code>data.photos[].streamManifest.audioFeature</code> | <code>object</code> | การวัดทางเทคนิคสำหรับเสียงของวิดีโอ |
| <code>data.photos[].streamManifest.audioFeature.audioQuality</code> | <code>number</code> | ตัวชี้วัดคุณภาพเสียง |
| <code>data.photos[].streamManifest.audioFeature.musicProbability</code> | <code>number</code> | ความน่าจะเป็นที่มีเสียงดนตรีประกอบ |
| <code>data.photos[].streamManifest.audioFeature.dialogProbability</code> | <code>number</code> | ความน่าจะเป็นที่มีบทสนทนาปรากฏ |
| <code>data.photos[].streamManifest.audioFeature.backgroundSoundProbability</code> | <code>number</code> | ความน่าจะเป็นที่มีเสียงพื้นหลังปรากฏ |
| <code>data.photos[].streamManifest.audioFeature.stereophonicRichness</code> | <code>number</code> | ตัวชี้วัดความหลากหลายของเสียงสเตอริโอ |
| <code>data.photos[].streamManifest.audioFeature.audioSnr</code> | <code>number</code> | อัตราส่วนสัญญาณเสียงต่อเสียงรบกวน |
| <code>data.photos[].streamManifest.audioFeature.effectiveBandwidthInHz</code> | <code>number</code> | ความกว้างของแบนด์วิดท์เสียงที่มีประสิทธิภาพในเฮิรตซ์ |
| <code>data.photos[].soundTrack</code> | <code>object</code> | ข้อมูลเมตาดาต้าและทรัพยากรที่เกี่ยวข้องกับเสียงประกอบ |
| <code>data.photos[].soundTrack.id</code> | <code>string</code> | ตัวระบุของเสียงประกอบ |
| <code>data.photos[].soundTrack.name</code> | <code>string</code> | ชื่อที่แสดงสำหรับเสียงประกอบ |
| <code>data.photos[].soundTrack.artist</code> | <code>string</code> | ชื่อศิลปินที่แสดงสำหรับเสียงประกอบ |
| <code>data.photos[].soundTrack.duration</code> | <code>integer</code> | ความยาวของเสียงประกอบในวินาที |
| <code>data.photos[].soundTrack.photoId</code> | <code>integer</code> | ID ตัวเลขของวิดีโอ Kuaishou ที่เกี่ยวข้องกับเสียงประกอบนี้ รักษาความแม่นยำของข้อมูลขณะแปล JSON |
| <code>data.photos[].soundTrack.type</code> | <code>integer</code> | รหัสประเภทของเสียงประกอบที่ Kuaishou รายงาน |
| <code>data.photos[].soundTrack.audioType</code> | <code>integer</code> | รหัสประเภทของเสียงที่รายงานสำหรับเพลงประกอบ。 |
| <code>data.photos[].soundTrack.genreId</code> | <code>integer</code> | ตัวระบุประเภทของเพลงประกอบที่รายงาน。 |
| <code>data.photos[].soundTrack.loudness</code> | <code>number</code> | ความดังของเสียงประกอบที่รายงาน |
| <code>data.photos[].soundTrack.isOffline</code> | <code>boolean</code> | Kuaishou รายงานหรือไม่ว่าเสียงประกอบนี้เป็นแบบออฟไลน์ |
| <code>data.photos[].soundTrack.hasCopyright</code> | <code>boolean</code> | ป้ายกำกับลิขสิทธิ์ที่ Kuaishou รายงานสำหรับเสียงประกอบนี้ |
| <code>data.photos[].soundTrack.audioUrls</code> | <code>array</code> | URL สำหรับการเล่นเสียงประกอบที่มีอยู่ |
| <code>data.photos[].soundTrack.audioUrls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].soundTrack.audioUrls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].soundTrack.imageUrls</code> | <code>array</code> | URL สำหรับภาพของเสียงประกอบที่มีอยู่ |
| <code>data.photos[].soundTrack.imageUrls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].soundTrack.imageUrls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].soundTrack.avatarUrls</code> | <code>array</code> | URL ของภาพลักษณ์ที่สามารถดูได้พร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.avatarUrls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].soundTrack.avatarUrls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |
| <code>data.photos[].soundTrack.user</code> | <code>object</code> | ข้อมูลบัญชีสาธารณะที่แสดงพร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.user.user_id</code> | <code>integer</code> | ID ของบัญชี Kuaishou ในรูปแบบตัวเลขที่แสดงพร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.user.user_name</code> | <code>string</code> | ชื่อแสดงผลของบัญชีที่แสดงพร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.user.kwaiId</code> | <code>string</code> | ตัวระบุบัญชี Kuaishou สาธารณะ หากมี |
| <code>data.photos[].soundTrack.user.headurl</code> | <code>string</code> | URL ของภาพลักษณ์หลักของบัญชีที่แสดงพร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.user.headurls</code> | <code>array</code> | URL ของภาพลักษณ์ย่อยสำหรับบัญชีที่แสดงพร้อมกับเสียงประกอบ. |
| <code>data.photos[].soundTrack.user.headurls[]</code> | <code>object</code> | รูปแบบลิงก์ที่มีอยู่หนึ่งรูปแบบ |
| <code>data.photos[].soundTrack.user.headurls[].url</code> | <code>string</code> | URL สำหรับรูปแบบลิงก์นี้ |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/kuaishou/get-video-detail/v2\"")' />

