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

TikTok AI-generated article of a single video

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article

Get AI-generated article of a single video on TikTok. Returns the platform data as structured JSON.

Giá
$0.001USD / 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
Video id
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

TikTok AI-generated article of a single video API

Returns an AI-generated article for a single TikTok video, with a title, a short description and SEO keywords. It needs the video id as itemId.

Use cases

  • Turn a video into a written summary for a blog or newsletter.
  • Pull the suggested keywords of a video to study how it is described for search.
  • Collect titles and descriptions of many videos to review their topics in bulk.
  • Check how a product review video, such as a skincare or sunscreen review, is summarized in text.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itemId": "7651935877744168194"}'

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

Parameters

NameTypeRequiredDescription
itemIdstringYesVideo id

Example response

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

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611030744269003827AA4F970017CAA",
    "now": 1793691867000
  },
  "itemCustomTDK": {
    "article": "The world of sunscreens can be overwhelming, with countless options available, e…",
    "desc": "Discover my genuine thoughts on the new Supergoop Unseen Sunscreen SPF50 and why…",
    "keywords": [
      "Supergoop unseen sunscreen review"
    ],
    "title": "Supergoop Unseen Sunscreen SPF50 Review: A Surprising Find"
  },
  "log_pb": {
    "impr_id": "202611030744269003827AA4F970017CAA"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": ""
}

Response fields

FieldMeaning
itemCustomTDK.titleAI-generated title for the video.
itemCustomTDK.articleBody text of the AI-generated article about the video. Long articles are returned as one string.
itemCustomTDK.descShort description of the video. It can include the hashtags from the video caption.
itemCustomTDK.keywords[]List of suggested keywords for the video. Some entries start with a space, so trim them before use.
status_code / statusCodeResult code of the request. 0 in this response.
status_msgStatus message. It is an empty string in this response.
extra.fatal_item_ids[]List of video ids that failed to load. It is empty in this response.
extra.nowTime of the response as a number, such as 1793691867000.
log_pb.impr_id / extra.logidRequest tracking ids. Both hold the same value in this response.

Notes

  • Pass the video id as itemId. It is a numeric string such as 7651935877744168194.
  • If you only have a video link, call TikTok Video ID from URL first to get the id.
  • To see stats, author and media for the same video, call TikTok Video Detail.

Pricing

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

Khám phá thêm

APIs liên quan

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

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok AI-generated article of a single video?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article 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 TikTok AI-generated article of a single video có giá bao nhiêu?

$0.001 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 TikTok AI-generated article of a single video chấp nhận những tham số nào?

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

API TikTok AI-generated article of a single video 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 TikTok không?

Không. TikTok AI-generated article of a single video 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 TikTok.