Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Kuaishou Single User Data (V2)

Tài liệu API
https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2

Returns profile details and personal entrance configurations for a specific Kuaishou account using the target user identifier.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Đầu raVí dụ
Phản hồioutputs · 12.5 KB · 317 dòng
[
  {
    "data": {
      "adProfileExtInfo": {
        "hasMagnetic": true,
        "pageId": 100022410,
        "posId": 20905,
        "subPageId": 100024409
      },
      "authorInfo": {
        "isAdBusinessUser": false,
        "isVerifiedUser": false
      },
      "clientLog": {
        "userStatus": "NORMAL"
      },
      "host-name": "public-bjzey-c95-kce-node414.idchb1az3.hb1.kwaidc.com",
      "recommendUserShowStyle": 0,
      "result": 1,
      "tips": {},
      "totalPhotoLike": {
        "linkUrl": "kwai://krn?bundleId=KwaiPostLikeList&componentName=LikeList&ownerId=3795214411&guestId=0&likeNum=7199067&source=0&themeStyle=1",
        "showRedDot": false,
        "urls": [
          {
            "cdn": "tx2.a.kwimgs.com",
            "url": "https://tx2.a.kwimgs.com/udata/pkg/KS-PROFILE/light_like.05cc35bb8f13018c.jpg"
          }
        ]
      },
      "userProfile": {
        "autoSelectedTab": 1,
        "canGuestShowMomentNews": true,
        "collectFolder": {
          "folderCount": 0,
          "recentFolderStrategy": 0,
          "smartFolderGuide": "true"
        },
        "digitalIdentityInfo": {
          "isDigitalIdentity": false
        },
        "enableIntimateRelation": false,
        "enableMoment": true,
        "enableShowHotPhoto": true,
        "hometown": {
          "enableModifyHometown": false
        },
        "ipLocation": {
          "darkIconUrl": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_head_location_12_dark.png",
          "iconUrl": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_head_location_12.png",
          "ipLocationCode": "430000",
          "ipLocationDesc": {
            "buttonDesc": "去同城",
            "buttonUrl": "kwai://local/feed?tab_name=同城&fromSource=9&roamingCity=长沙&cityName=长沙&cityId=430100",
            "desc": "IP归属地:",
            "leftDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_ip_24_dark.png",
            "leftIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_ip_24.png"
          },
          "ipLocationName": "湖南",
          "tipMsg": "IP属地以运营商信息为准,如有问题可<a href=\"https://csc.m.kuaishou.com/help/index.html?hyId=kuaishou_csc&enableWK=1&layoutType=4#/?entranceId=1198\">咨询客服</a>",
          "tipTitle": "位置信息"
        },
        "ipLocationRefreshText": {
          "guideTextFirst": "为维护良好的社区秩序,快手已在个人主页等位置展示账号IP属地。IP属地以运营商信息为准,不支持修改和关闭。如不准确您可尝试以下操作: \n 1、请点击下方“刷新IP属地”按钮进行校准 \n 2、停用流量卡/随身WIFI/虚拟号卡后刷新 \n 3、WiFi切换手机流量或手机流量切换WiFi \n 4、重启手机或开启飞行模式后关闭再刷新 \n 如还有问题,建议",
          "guideTextSecond": "联系运营商",
          "guideTextThird": "。"
        },
        "isFavorited": false,
        "isFollowing": false,
        "isFriend": false,
        "isOlympicTelecastAccount": false,
        "label": {
          "enableLabelNewStyle": true,
          "labelGroup": 6,
          "labels": [
            {
              "actionType": 1,
              "highlight": false,
              "labelType": "social_ip"
            },
            {
              "highlight": false,
              "labelType": "add_intimate"
            }
          ]
        },
        "middleButton": [
          {
            "entranceName": "发私信",
            "entranceType": "chat"
          }
        ],
        "missUInfo": {
          "alwaysShow": false,
          "showAlreadyMissUStatus": false,
          "showBubble": false,
          "showMissYouButton": false,
          "showMissYouButtonUnFollow": false
        },
        "modifyKwaiIdExpireInMs": -2,
        "ownerCount": {
          "collect": 0,
          "creation": 0,
          "fan": 362287,
          "follow": 2,
          "like": 0,
          "magicFace": 0,
          "moment": 0,
          "novelDrama": 0,
          "photo": 674,
          "photo_private": 0,
          "photo_public": 674,
          "recommend": 0,
          "total_photo_like": 7199067
        },
        "personalEntrances": [
          {
            "entranceGroup": 1,
            "entrances": [
              {
                "actionType": 0,
                "detail": "分享主页",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_share_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_share_32.png",
                "entranceName": "分享主页",
                "entranceType": "shareProfile",
                "group": 1
              },
              {
                "actionType": 0,
                "detail": "发私信",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_32.png",
                "entranceName": "发私信",
                "entranceType": "chat",
                "extParams": "{\"entranceMiniDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_24_dark.png\",\"entranceMiniIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_24.png\"}",
                "group": 1
              },
              {
                "actionType": 0,
                "detail": "设置备注名",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_edit_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_edit_32.png",
                "entranceName": "设置备注名",
                "entranceType": "alias",
                "group": 1
              }
            ],
            "style": 0
          },
          {
            "entranceGroup": 2,
            "entrances": [
              {
                "actionType": 0,
                "detail": "设置特别关注",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_24_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_24.png",
                "entranceName": "设置特别关注",
                "entranceType": "favoriteFollow",
                "extParams": "{\"pressedLightUrl\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_pressed_24.png\",\"pressedDarkUrl\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_pressed_24_dark.png\"}",
                "group": 2
              },
              {
                "actionType": 0,
                "detail": "举报",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_chat_operation_report_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_chat_operation_report.png",
                "entranceName": "举报",
                "entranceType": "report",
                "group": 2
              },
              {
                "actionType": 0,
                "detail": "拉黑",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png",
                "entranceName": "拉黑",
                "entranceType": "block",
                "extParams": "{\"blockEntrances\":[{\"entranceType\":\"block\",\"detail\":\"拉黑\",\"entranceName\":\"拉黑\",\"group\":2,\"entranceIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png\",\"entranceDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png\",\"actionType\":0},{\"entranceType\":\"unblock\",\"detail\":\"移出黑名单\",\"entranceName\":\"移出黑名单\",\"group\":2,\"entranceIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png\",\"entranceDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png\",\"actionType\":0}]}",
                "group": 2
              }
            ],
            "style": 0
          }
        ],
        "profile": {
          "bigHeadUrls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            }
          ],
          "headurl": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg",
          "headurls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            }
          ],
          "isFavorited": false,
          "multiBackground": {
            "backgrounds": [
              {
                "backgroundImage": [
                  {
                    "cdn": "p22.a.yximgs.com",
                    "url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
                  },
                  {
                    "cdn": "p4.a.yximgs.com",
                    "url": "http://p4.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
                  }
                ],
                "id": "0"
              }
            ]
          },
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "user_id": 3795214411,
          "user_name": "秀妍日记",
          "user_profile_bg_url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg",
          "user_profile_bg_urls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
            }
          ],
          "user_sex": "U",
          "user_text": "秀妍直播日记@李秀妍u\n每晚十二点直播",
          "verified": false,
          "visitorBeFollowed": false
        },
        "profilePagePrefetchInfo": {
          "profilePageType": 1
        },
        "school": {
          "enableModifySchool": false,
          "userSchoolList": []
        },
        "showCount": true,
        "tabList": [
          {
            "holdEmptyCount": false,
            "name": "作品",
            "show": 1,
            "tabLogName": "product",
            "type": 1
          }
        ],
        "userSettingOption": {
          "acquaintance_deny": "0",
          "add_watermark_saving_self_photo": "0",
          "allow_others_reward_me": "1",
          "at_me_tab_privacy_setting": 1,
          "auto_save_to_local": "0",
          "comment_deny": "0",
          "disable_im_online_status": "0",
          "disable_latest_album_asset": "0",
          "disable_nearby_online_status": "1",
          "disable_push_my_comments_to_others": "0",
          "disable_screenshot_feedback": "0",
          "disable_smart_album_tabs": "1",
          "download_deny": "1",
          "enable_hdr_video": "0",
          "enable_knock": "1",
          "enable_local_intelligence_album": "1",
          "enable_moment_comment_deny": "0",
          "enable_mute_play_back": "0",
          "enable_near_people": "0",
          "enable_photo_viewer": "1",
          "enable_privacy_user_auto_follow_back": "0",
          "enable_profile_show_intimate_relation": "1",
          "enable_recommended_know_people": "1",
          "enable_shake": "1",
          "enable_show_album_in_profile": "1",
          "follow_fans_list": 0,
          "gift_unfollow": "0",
          "message_deny": "0",
          "missu_deny": "0",
          "not_allow_find_me_by_mobile": "0",
          "not_public_collect": "0",
          "not_recommend_to_contacts": "0",
          "not_recommend_to_qq_friends": "0",
          "not_share_live_stream_fragment": "0",
          "photo_download_deny": "0",

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Kuaishou Single User Data (V2) API

Returns the profile page data for one Kuaishou account: name, bio, avatar, follower and post counts, IP location, shop links and the entrance buttons shown on the profile. It needs the numeric user_id of the account.

Use cases

  • Read the follower count, post count and total likes of a Kuaishou creator before you decide to track them.
  • Check whether an account runs a Kuaishou shop and read the shop link and product count.
  • Save the display name, bio and avatar URLs of an account for a creator database.
  • Read the IP location shown on a profile for audience or account research.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "3795214411"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringYes

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "adImBusinessInfo": {
    "adImEntranceStyle": "DEFAULT"
  },
  "adProfileExtInfo": {
    "hasMagnetic": true,
    "pageId": 100022410,
    "posId": 20905,
    "subPageId": 100024409
  },
  "authorInfo": {
    "isAdBusinessUser": false,
    "isVerifiedUser": false
  },
  "clientLog": {
    "userStatus": "NORMAL"
  },
  "debug_id": "8ce99695",
  "debug_info": "gAAAAABq6Y7r1P_y-S7GJrTF1G8HSuPD_HX4C0lU5lmua-IPSxq0kCMZ9VP9hbBbSvW65aHshkuowMt6…",
  "host-name": "public-bjmt-c56-kce-node279.idchb1az4.hb1.kwaidc.com",
  "profileTemplateCardInfo": {
    "enableMiddleCardManagement": false,
    "enableSubManagePanel": false,
    "profileTemplateCardShowType": 1,
    "profileTemplateCards": [
      {
        "bizType": 1,
        "cardType": 1,
        "cardTypeName": "MERCHANT_SHOP",
        "cardViewStyle": 0,
        "darkIconUrl": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/mp3bbfap5o.d1f073b3f413828d.…",
        "darkIconUrls": [
          {
            "cdn": "p1-ec.ecukwai.com",
            "url": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/mp3bbfap5o.d1f073b3f413828d.…"
          }
        ],
        "disableManagement": true,
        "enableIconPlayLoop": true,
        "extra": {
          "is_sales_tag": "true",
          "selling_points_type": "2",
          "subTitleType": "2"
        },
        "iconUrl": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/fuhiss96tc.1243ad193de71988.…",
        "iconUrls": [
          {
            "cdn": "p1-ec.ecukwai.com",
            "url": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/fuhiss96tc.1243ad193de71988.…"
          }
        ],
        "ksOrderId": "guest_profile_my_shop_1cards_1"
      }
    ],
    "promptCount": 1,
    "redDotRules": {
      "exitRule": {
        "exitDays": 3,
        "exposureThreshold": 5,
        "permanentExitTimes": 4
      },
      "maxShowCountEveryType": 1
    }
  },
  "recommendUserShowStyle": 0,
  "result": 1,
  "tips": {},
  "totalPhotoLike": {
    "linkUrl": "kwai://krn?bundleId=KwaiPostLikeList&componentName=LikeList&ownerId=3795214411&g…",
    "showRedDot": false,
    "urls": [
      {
        "cdn": "tx2.a.kwimgs.com",
        "url": "https://tx2.a.kwimgs.com/udata/pkg/KS-PROFILE/light_like.05cc35bb8f13018c.jpg"
      }
    ]
  }
}

Response fields

FieldMeaning
userProfile.profile.user_id / userProfile.profile.user_nameNumeric ID and display name of the account.
userProfile.profile.user_textBio text shown on the profile.
userProfile.profile.headurl / userProfile.profile.bigHeadUrls[].urlAvatar image URL, plus a list of larger avatar URLs on different CDN hosts.
userProfile.profile.user_profile_bg_urlURL of the profile background image.
userProfile.ownerCount.fan / userProfile.ownerCount.followNumber of followers and number of accounts this user follows.
userProfile.ownerCount.photo / userProfile.ownerCount.photo_public / userProfile.ownerCount.photo_privateCount of all posts, public posts and private posts.
userProfile.ownerCount.total_photo_likeTotal likes received across the account's posts.
userProfile.ipLocation.ipLocationNameRegion name shown as the account's IP location, such as Hunan.
userProfile.extraLinks[].entranceTitle / userProfile.extraLinks[].subTitle / userProfile.extraLinks[].linkName, short subtitle and link of the shop entrance shown on the profile.
userProfile.personalEntrances[].entrances[].entranceName / userProfile.personalEntrances[].entrances[].entranceTypeLabel and type code of each action button on the profile, such as chat or shareProfile.

Notes

  • user_id is a numeric string such as 3795214411. The same value comes back as userProfile.profile.user_id.
  • Some text fields are in Chinese and some in English, for example the shop title and entrances[].detail.
  • Fields like debug_id, debug_info and host-name are request diagnostics, not profile data.
  • To list the account's videos, call Kuaishou User Video List (V2). To check for a live stream, call Kuaishou User Broadcast Details.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Read a Kuaishou account you already selected

Send the known account's numeric user_id as a string. It is an account identifier, not a display name, keyword or video ID. This endpoint reads one profile and has no pagination fields in the selected schema. Keep the requested ID beside the response and compare it with the returned profile identifier before attaching the record to your research.

The reference field table describes userProfile.profile for identity and biography, and userProfile.ownerCount for counters such as fan and photo. A saved public example contains those objects, while the shorter README JSON omits them. A trimmed excerpt is not proof that the full response lacks a profile. Keep unavailable fields unknown and distinguish an absent object from an intentionally empty value.

Profile buttons, shop links and counters describe the returned public profile. A photo_private counter does not grant access to private posts; a shop entry does not establish sales or conversion; an IP location label does not measure an audience's geography. Do not turn a profile read into post collection, messaging, media downloads or account actions.

Need to identify a candidate first? Use User Search V2 separately and review the candidates before selecting a user_id. One profile snapshot does not establish complete posting history or an engagement trend.

Give your agent one bounded account task

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. If your agent is connected, give it the exact endpoint and one keyword or selected user ID. Starting a project? Share the setup Skill, Markdown quickstart and your intended result. Save one response before adding more lookups.

Read completed SandBase outputs[0].data and check the selected route's provider result. A successful HTTP status alone is insufficient. Search references show responseCode 0 with mixFeeds; profile references show result 1 with userProfile. A missing or malformed payload must not become an empty success. Public README JSON is trimmed: fields absent from that excerpt can still appear in its field table or a saved response. Validate the actual returned shape rather than filling missing counts with zero.

Pricing checked on 2026-11-08: both selected endpoints list $0.01 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not establish remaining quota. Check current pricing before a request. This revision made no new business call. The Kuaishou Python creator guide separates current code from historical evidence.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Kuaishou$0.01 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Kuaishou API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Kuaishou Single User Data (V2)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2 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.

API Kuaishou Single User Data (V2) có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Kuaishou Single User Data (V2) chấp nhận những tham số nào?

Bắt buộc: user_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Kuaishou Single User Data (V2) trả về gì?

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.

Tôi có cần tài khoản nhà phát triển hoặc API key của Kuaishou không?

Không. Kuaishou Single User Data (V2) 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 Kuaishou.

Single User Data V2 yêu cầu mã định danh nào?

Gửi user_id dạng số của tài khoản đã chọn dưới dạng chuỗi. Tên hiển thị, từ khóa hoặc mã video không thể thay thế. Hãy giữ nguyên ID được yêu cầu và so sánh với profile ID trả về trước khi gán bản ghi.

Vì sao ví dụ ngắn lại bỏ qua userProfile?

JSON trong README công khai đã được rút gọn. Bảng trường và một ví dụ công khai đã lưu mô tả userProfile.profile và userProfile.ownerCount. Hãy kiểm tra đối tượng thực tế được trả về và báo cáo rõ ràng dữ liệu bị thiếu thay vì giả định bộ đếm thiếu nghĩa là bằng 0.

Một bộ đếm trên profile có cho phép truy cập bài đăng riêng tư hoặc chứng minh doanh số không?

Không. Các bộ đếm và liên kết vào profile không cấp quyền truy cập nội dung riêng tư và cũng không xác lập doanh số, chuyển đổi, địa lý khán giả hay toàn bộ lịch sử đăng bài. Các lần đọc bổ sung là tác vụ riêng, không phải bước tiếp theo tự động.