Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Weibo Picture Search

Dokumentasi 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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 1 opsional

Playground

Input
Search keyword (required)
Page number (default 1)
OutputContoh
Responsoutputs · 3.0 KB · 69 baris
[
  {
    "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
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON

Panduan:Best Weibo API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Weibo Picture Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Weibo Picture Search?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Weibo Picture Search?

Wajib: query (string). Opsional: page (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Weibo Picture Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Weibo?

Tidak. Weibo Picture Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Weibo secara terpisah.