API reference · Douyin

douyin/search/user-search

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

APISynchronousOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/run
Model IDdouyin/search/user-search
01

Input Schema

5 parameters · 0 required · 5 optional

ParameterTypeRequiredDescription
cursorintegerOptional偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response · Default: 0
keywordstringOptional关键词 / Keyword · Default: "猫咪"
search_idstringOptional搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response · Default: ""
douyin_user_fansstringOptional粉丝数过滤:空=不限 0_1k=1千以下 1k_5k=1千到5千 5k_10k=5千到1万 10k_100k=1万到10万 100k_1M=10万到100万 1M_=100万以上 / Fans filter: empty=No limit, 0_1k=Under 1k, etc. · Default: ""
douyin_user_typestringOptional用户类型过滤:空=不限 300=创作者 900=小店 700=音乐人 800=明星 / User type filter: empty=No limit, 300=Creator, 900=Shop, 700=Musician, 800=Celebrity · Default: ""
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description
03

Code Examples

Ready-to-run snippets

curl -X POST https://api.sandbase.ai/v1/run \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "model": "douyin/search/user-search",
  "cursor": 0,
  "keyword": "猫咪",
  "search_id": "",
  "douyin_user_fans": "",
  "douyin_user_type": "",
  "prompt": "a beautiful sunset over mountains"
}'