aweme_idstringbắt buộc
Video id
https://api.sandbase.ai/v1/api/douyin/app-v3/one-videoReturns detailed metadata for a single Douyin video or photo post using its video ID. Includes video stream formats, bitrates, and quality options.
[
{
"data": {
"aweme_detail": {
"activity_video_type": -1,
"admire_auth": {
"admire_button": 0,
"author_can_admire": 1,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0,
"is_show_admire_tab": 0
},
"anchors": null,
"authentication_token": "MS4wLjAAAAAA4fwPUXhx8WkI-hYV-ltdMmigXsfahEY-w6v6XhK7e-Pqk_vW3ocOOtGtIGpBoA76G-EjLaT2251tBtWd7gktB_8x5IiFxucy_XbwdMktEx-IKAtUQy-re61PA6aLIm2l2-mUZGM0tfPxHIjgurqqkpmf67BCbLqS09a-pI77i7FUn2kFk3zSuYCpr36l-StKPpoB6U2Y9An5Y8aXi1RM7euletIM8Z7lsAu-NycktHa655KfPp55x9xIULySc2iz",
"author": {
"accept_private_policy": false,
"account_cert_info": "{}",
"account_region": "",
"ad_cover_url": null,
"allow_story_normal_like": false,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.jpeg?from=327834062"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.jpeg?from=327834062"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_uri": "aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_count": 88,
"aweme_hotsoon_auth": 1,
"aweme_hotsoon_auth_relation": 1,
"awemehts_greet_info": "",
"ban_user_functions": [],
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"close_friend_type": 0,
"comment_filter_status": 0,
"comment_setting": 0,
"commerce_user_level": 0,
"constellation": 0,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=JvJ3QRyF5z8K0MAjsm3BIcA4sFg%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"cv_level": "",
"data_label_list": null,
"display_info": null,
"…": "139 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 2557909361237356,
"aweme_acl": {
"download_mask_panel": {
"code": 1,
"show_type": 0
}
},
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7448118827402972455",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
},
{
"key": "old_guide_prefix",
"val": "打开汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"music_cover_listen": 1,
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"item_tag_whitelist\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"luna_attr\":{\"suitable\":true},\"media_type\":\"…"
},
"aweme_type": 0,
"aweme_type_tags": "",
"bodydance_score": 0,
"boost_status": 0,
"can_be_oc_cover": false,
"can_cache_to_local": true,
"caption": "#并发编程 #多线程 本期视频深入探讨了线程在单核与多核处理器系统中的作用,并重点分析了并发与并行的区别及其实现方式。我们讨论了线程如何利用多核心处理器实现真正的并行化,提升程序性能。此外,还介绍了并行的两种类型:数据并行与任务并行,并通过实际案例演示了它们的应用场景和优势。\n视频还强调了多线程设计中需要考虑的资源竞争问题,以及如何在不同核心上分配任务以最大化效率。通过这些讲解,我们了解了多核系统中线程并行的重要性及其对编程的深远影响。",
"caption_template_id": 0,
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"cha_list": [
{
"author": {
"ad_cover_url": null,
"avatar_168x168": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_uri": "",
"aweme_control": {},
"ban_user_functions": null,
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"constellation": 0,
"contrail_list": null,
"cover_url": [],
"create_time": 0,
"data_label_list": null,
"display_info": null,
"endorsement_info_list": null,
"follow_status": 0,
"follower_list_secondary_information_struct": null,
"followers_detail": null,
"gender": 0,
"has_email": false,
"homepage_bottom_toast": null,
"im_role_ids": null,
"interest_tags": null,
"is_block": false,
"is_phone_binded": false,
"item_list": null,
"language": "",
"link_item_list": null,
"need_points": null,
"new_story_cover": null,
"nickname": "",
"…": "23 more fields in the full response"
},
"banner_list": null,
"cha_attrs": null,
"cha_name": "并发编程",
"cid": "1684082100470791",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "image-cut-tos/ed7f9b9560c7c66ab4cef446842e6eb8.jpg",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=1684082100470791",
"search_impr": {
"entity_id": "1684082100470791"
},
"share_info": {
"bool_persist": 0,
"share_desc": "在抖音,记录美好生活",
"share_desc_info": "我在抖音参与话题讨论#并发编程 ",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "我在抖音参与话题讨论#并发编程 ",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.iesdouyin.com/share/challenge/1684082100470791/?u_code=-1&from_ssr=1",
"share_weibo_desc": "我在抖音参与话题讨论#并发编程 "
},
"show_items": null,
"sub_type": 0,
"type": 1,
"user_count": 0,
"view_count": 0
}
],
"challenge_position": null,
"chapter_list": null,
"city": "460100",
"cmt_swt": false,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7448118827402972000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": true,
"press_entry": true,
"toast_guide": false
},
"comment_words_recommend": {},
"commerce_config_data": null,
"commerce_info": {
"ad_type": 0,
"is_ad": false
},
"component_control": {},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1734150565,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 7,Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns detailed metadata for one Douyin video or photo post. The only input is the post ID in aweme_id. The response covers the caption, author, hashtags, creation time and comment and danmaku settings.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7448118827402972455"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Video id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_detail": {
"activity_video_type": -1,
"admire_auth": {
"admire_button": 1,
"author_can_admire": 0,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0,
"is_show_admire_tab": 0
},
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"accept_private_policy": false,
"account_cert_info": "{}",
"account_region": "",
"ad_cover_url": null,
"allow_story_normal_like": false,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVF…"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFAp…"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFAp…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 2557909361237356,
"aweme_acl": {
"download_mask_panel": {
"code": 1,
"show_type": 0
}
},
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7448118827402972455",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"music_cover_listen": 1,
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyrigh…"
},
"aweme_type": 0
}
}
| Field | Meaning |
|---|---|
aweme_detail.aweme_id | The ID of the post. It matches the aweme_id you sent. |
aweme_detail.caption | The text of the post, including hashtags written as #tag. |
aweme_detail.create_time | Creation time of the post. The value 1734150565 looks like a Unix timestamp in seconds. |
aweme_detail.author_user_id | Numeric ID of the account that posted the video. |
aweme_detail.author.aweme_count | Number of posts shown for the author account. |
aweme_detail.author.avatar_thumb / aweme_detail.author.avatar_medium / aweme_detail.author.avatar_larger | Author avatar images in different sizes. Each has url_list, width and height. |
aweme_detail.cha_list[].cha_name | Name of a hashtag (challenge) attached to the post. |
aweme_detail.cha_list[].cid | ID of the hashtag. Use it to look up the hashtag elsewhere. |
aweme_detail.aweme_control.can_comment / aweme_detail.aweme_control.can_share / aweme_detail.aweme_control.can_forward | Flags that show whether commenting, sharing and forwarding are allowed on the post. |
aweme_detail.danmaku_control.enable_danmaku / aweme_detail.danmaku_control.danmaku_cnt | Whether danmaku (scrolling comments) are on, and how many exist for the post. |
aweme_id as a string, for example 7448118827402972455.aweme_detail.aweme_detail.cha_list[], call Douyin Hashtag Details.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7448118827402972455"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
aweme_idstringbắt buộcVideo id
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"aweme_detail": {
"activity_video_type": -1,
"admire_auth": {
"admire_button": 0,
"author_can_admire": 1,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0,
"is_show_admire_tab": 0
},
"anchors": null,
"authentication_token": "MS4wLjAAAAAA4fwPUXhx8WkI-hYV-ltdMmigXsfahEY-w6v6XhK7e-Pqk_vW3ocOOtGtIGpBoA76G-EjLaT2251tBtWd7gktB_8x5IiFxucy_XbwdMktEx-IKAtUQy-re61PA6aLIm2l2-mUZGM0tfPxHIjgurqqkpmf67BCbLqS09a-pI77i7FUn2kFk3zSuYCpr36l-StKPpoB6U2Y9An5Y8aXi1RM7euletIM8Z7lsAu-NycktHa655KfPp55x9xIULySc2iz",
"author": {
"accept_private_policy": false,
"account_cert_info": "{}",
"account_region": "",
"ad_cover_url": null,
"allow_story_normal_like": false,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.jpeg?from=327834062"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.jpeg?from=327834062"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
],
"width": 720
},
"avatar_uri": "aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_count": 88,
"aweme_hotsoon_auth": 1,
"aweme_hotsoon_auth_relation": 1,
"awemehts_greet_info": "",
"ban_user_functions": [],
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"close_friend_type": 0,
"comment_filter_status": 0,
"comment_setting": 0,
"commerce_user_level": 0,
"constellation": 0,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=JvJ3QRyF5z8K0MAjsm3BIcA4sFg%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"cv_level": "",
"data_label_list": null,
"display_info": null,
"…": "139 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 2557909361237356,
"aweme_acl": {
"download_mask_panel": {
"code": 1,
"show_type": 0
}
},
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7448118827402972455",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
},
{
"key": "old_guide_prefix",
"val": "打开汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"music_cover_listen": 1,
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"item_tag_whitelist\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"luna_attr\":{\"suitable\":true},\"media_type\":\"…"
},
"aweme_type": 0,
"aweme_type_tags": "",
"bodydance_score": 0,
"boost_status": 0,
"can_be_oc_cover": false,
"can_cache_to_local": true,
"caption": "#并发编程 #多线程 本期视频深入探讨了线程在单核与多核处理器系统中的作用,并重点分析了并发与并行的区别及其实现方式。我们讨论了线程如何利用多核心处理器实现真正的并行化,提升程序性能。此外,还介绍了并行的两种类型:数据并行与任务并行,并通过实际案例演示了它们的应用场景和优势。\n视频还强调了多线程设计中需要考虑的资源竞争问题,以及如何在不同核心上分配任务以最大化效率。通过这些讲解,我们了解了多核系统中线程并行的重要性及其对编程的深远影响。",
"caption_template_id": 0,
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"cha_list": [
{
"author": {
"ad_cover_url": null,
"avatar_168x168": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"avatar_uri": "",
"aweme_control": {},
"ban_user_functions": null,
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"constellation": 0,
"contrail_list": null,
"cover_url": [],
"create_time": 0,
"data_label_list": null,
"display_info": null,
"endorsement_info_list": null,
"follow_status": 0,
"follower_list_secondary_information_struct": null,
"followers_detail": null,
"gender": 0,
"has_email": false,
"homepage_bottom_toast": null,
"im_role_ids": null,
"interest_tags": null,
"is_block": false,
"is_phone_binded": false,
"item_list": null,
"language": "",
"link_item_list": null,
"need_points": null,
"new_story_cover": null,
"nickname": "",
"…": "23 more fields in the full response"
},
"banner_list": null,
"cha_attrs": null,
"cha_name": "并发编程",
"cid": "1684082100470791",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "image-cut-tos/ed7f9b9560c7c66ab4cef446842e6eb8.jpg",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=1684082100470791",
"search_impr": {
"entity_id": "1684082100470791"
},
"share_info": {
"bool_persist": 0,
"share_desc": "在抖音,记录美好生活",
"share_desc_info": "我在抖音参与话题讨论#并发编程 ",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "我在抖音参与话题讨论#并发编程 ",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.iesdouyin.com/share/challenge/1684082100470791/?u_code=-1&from_ssr=1",
"share_weibo_desc": "我在抖音参与话题讨论#并发编程 "
},
"show_items": null,
"sub_type": 0,
"type": 1,
"user_count": 0,
"view_count": 0
}
],
"challenge_position": null,
"chapter_list": null,
"city": "460100",
"cmt_swt": false,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7448118827402972000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": true,
"press_entry": true,
"toast_guide": false
},
"comment_words_recommend": {},
"commerce_config_data": null,
"commerce_info": {
"ad_type": 0,
"is_ad": false
},
"component_control": {},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1734150565,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 7,
"enable_danmaku": true,
"first_danmaku_offset": 33436,
"is_post_denied": false,
"last_danmaku_offset": 431278,
"pass_through_params": "{\"first_danmaku_offset\":33436,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "多核系统上的线程 #并发编程 #多线程 本期视频深入探讨了线程在单核与多核处理器系统中的作用,并重点分析了并发与并行的区别及其实现方式。我们讨论了线程如何利用多核心处理器实现真正的并行化,提升程序性能。此外,还介绍了并行的两种类型:数据并行与任务并行,并通过实际案例演示了它们的应用场景和优势。\n视频还强调了多线程设计中需要考虑的资源竞争问题,以及如何在不同核心上分配任务以最大化效率。通过这些讲解,我们了解了多核系统中线程并行的重要性及其对编程的深远影响。",
"…": "153 more fields in the full response"
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Single Video DetailsAPI này Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/app-v3/one-video với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: aweme_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Single Video Details chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.