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

Weibo Picture Search

Tài liệu API
https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search

Returns picture content and associated post details matching a search query on Weibo. Results include image URLs, post text, and user profile information.

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

Phòng thử nghiệm

Đầu vào
Search keyword (required)
Page number (default 1)
Đầu raVí dụ
Phản hồioutputs · 3.0 KB · 69 dòng
[
  {
    "data": {
      "claim_auth": [],
      "claim_auth_white": true,
      "is_end": 0,
      "noResultMsg": "抱歉,未找到相关结果。",
      "pic_list": [
        {
          "created_at": "Thu Aug 20 16:10:07 +0800 2026",
          "forward_id": "5334021993141912",
          "is_forward": true,
          "mid": "5334021993141912",
          "original_pic": "//wx1.sinaimg.cn/large/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
          "sub_name": "这个学长",
          "sub_text": "#AI开始报警抓人了# AI主动向FBI举报用户...",
          "text": "#AI开始报警抓人了# AI主动向FBI举报用户、导致真人被捕的第一起案件已经出现——一名25岁的前高盛分析师因为在ChatGPT里详细策划绑架、性侵并杀害前女友,被OpenAI安全系统识别后直接报警,最终被判8年缓刑。 ​",
          "url": "//wx1.sinaimg.cn/thumb180/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
          "user": {
            "name": "这个学长",
            "profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.995.995.50/008gEZpgly8h0pb8jfee5j30rn0rnwh1.jpg?KID=imgbed,tva&Expires=1787229739&ssig=o8aWm3oYbE",
            "profile_url": "//weibo.com/u/7575253202"
          }
        },
        {
          "created_at": "Thu Aug 20 17:33:47 +0800 2026",
          "forward_id": 0,
          "is_forward": false,
          "mid": "5334043050639814",
          "original_pic": "//wx3.sinaimg.cn/large/66d5446aly1igafhrz55zj20pg0fp172.jpg",
          "sub_name": "温度新闻",
          "sub_text": "#AI开始报警抓人了#【高盛前分析师向ChatG...",
          "text": "#AI开始报警抓人了#【高盛前分析师向ChatGPT透露奸杀前女友计划,平台监测到后报警】美国一名25岁的男子因在上班期间向人工智能聊天工具ChatGPT详细透露强奸、杀害其前女友的计划,从而被开发商OpenAI检测到之后举报至联邦调查局(FBI)。\n\n人工智能公司往往会通过多标签有害内容分类模型,精准识别暴 ​",
          "url": "//wx3.sinaimg.cn/thumb180/66d5446aly1igafhrz55zj20pg0fp172.jpg",
          "user": {
            "name": "温度新闻",
            "profile_image_url": "//tvax1.sinaimg.cn/crop.0.0.600.600.50/66d5446aly8hbcak0pkymj20go0go3zo.jpg?KID=imgbed,tva&Expires=1787229739&ssig=SQBH0f3ALP",
            "profile_url": "//weibo.com/66wz"
          }
        },
        {
          "created_at": "Thu Aug 20 17:32:47 +0800 2026",
          "forward_id": 0,
          "is_forward": false,
          "mid": "5334042794788345",
          "original_pic": "//wx2.sinaimg.cn/large/7215528fly1igafgruld5j20u0140ta8.jpg",
          "sub_name": "海文同学HW",
          "sub_text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上...",
          "text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上第一个因为AI报警被抓的人\n \n前高盛分析师Darren Zhou在ChatGPT聊天中写下针对前女友的详细犯罪计划,包括绑架、性侵、谋杀,甚至杀害其家人。对话触发安全机制后,OpenAI人工复核确认存在现实严重暴力风险,直接向FBI举报。\n \nFBI拿到聊天记录后转交当地警 ​",
          "url": "//wx2.sinaimg.cn/thumb180/7215528fly1igafgruld5j20u0140ta8.jpg",
          "user": {
            "name": "海文同学HW",
            "profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.1080.1080.50/7215528fly8ieiyttn9bxj20u00u0jrp.jpg?KID=imgbed,tva&Expires=1787229739&ssig=Zpgw%2FAzRNF",
            "profile_url": "//weibo.com/u/1914000015"
          }
        },
        "… 17 more items in the full response"
      ],
      "risk_control": {
        "aitabHidden": 0,
        "cateList": [],
        "navControl": [],
        "overall": 0
      },
      "suda_pre": "seqid:178721893924702034107|type:0|t:0|pos:1-0|q:OpenAI|ext:",
      "total_number": 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

Weibo Picture Search API

Returns Weibo posts that contain pictures and match a search keyword. Each result has an image URL, the post text, and basic details about the user who posted it. It needs one input, query, and takes an optional page.

Use cases

  • Collect images that Weibo users post about a brand or product name.
  • Pull post text next to each picture to review how a topic is discussed with images.
  • Build a list of accounts that post pictures about a keyword using user.name and user.profile_url.
  • Check whether a picture comes from an original post or a repost with is_forward.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI"}'

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

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (required)
pageintegerNoPage number (default 1)

Example response

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

{
  "claim_auth": [],
  "claim_auth_white": true,
  "is_end": 0,
  "noResultMsg": "抱歉,未找到相关结果。",
  "pic_list": [
    {
      "created_at": "Tue Nov 03 15:42:14 +0800 2026",
      "forward_id": 0,
      "is_forward": false,
      "mid": "5361194065202409",
      "original_pic": "//wx1.sinaimg.cn/large/66fd066bly1iip1qt0l0sj20hw0aadhh.jpg",
      "sub_name": "宝玉xp",
      "sub_text": "OpenAI 的下一代大模型可能要来了,正好接上...",
      "text": "OpenAI 的下一代大模型可能要来了,正好接上 Altman 11 月 2 日在阿布扎比说的“下一个 GPT 很快发布”。\n\n不过目前只是猜测,没有正式发布。…",
      "url": "//wx1.sinaimg.cn/thumb180/66fd066bly1iip1qt0l0sj20hw0aadhh.jpg",
      "user": {
        "name": "宝玉xp",
        "profile_image_url": "//tva3.sinaimg.cn/crop.0.0.180.180.50/66fd066bjw1e8qgp5bmzyj2050050aa8.jpg?KID=i…",
        "profile_url": "//weibo.com/dotey"
      }
    }
  ],
  "risk_control": {
    "aitabHidden": 0,
    "cateList": [],
    "navControl": [],
    "overall": 0
  },
  "suda_pre": "seqid:179369198652802043194|type:0|t:0|pos:1-0|q:OpenAI|ext:",
  "total_number": 0
}

Response fields

FieldMeaning
pic_list[]One picture result per item. Each item holds the image links, the post text and the poster.
pic_list[].original_picLink to the large version of the image. It starts with //, so add https: to use it.
pic_list[].urlLink to a small thumbnail (thumb180) of the same image.
pic_list[].textText of the post. Long posts end with an ellipsis.
pic_list[].sub_textShorter preview of the post text.
pic_list[].midID of the post as a string of digits.
pic_list[].created_atTime the post was created, for example Tue Nov 03 15:42:14 +0800 2026.
pic_list[].is_forward / pic_list[].forward_idis_forward is true when the post is a repost. forward_id holds an ID for a repost and is 0 when the post is not a repost.
pic_list[].user.name / pic_list[].user.profile_urlDisplay name of the poster and a link to their Weibo profile. sub_name repeats the name at the item level.
pic_list[].user.profile_image_urlLink to the poster's avatar image.
is_endPaging flag. The value 0 is shown in this response, which had results.

Notes

  • pic_list[].mid is the post ID. Pass it to Weibo Post Detail to get the full post.
  • Image and profile links start with //. Add https: before you open them.
  • Set page to get later result pages. It defaults to 1.
  • total_number returned 0 even though pic_list had items, so count the items in pic_list instead.

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
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

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

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo Picture Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search 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 Weibo Picture Search 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 Weibo Picture Search chấp nhận những tham số nào?

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

API Weibo Picture Search 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 Weibo không?

Không. Weibo Picture Search 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 Weibo.