API reference · Kuaishou

kuaishou/app/tag-feed

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 IDkuaishou/app/tag-feed
01

Input Schema

7 parameters · 1 required · 6 optional

ParameterTypeRequiredDescription
general_tag_idstringRequired话题标签传标签名或 search_tag 的数字 id;声音标签传编码串
tabstringOptionalhot(最热门) / latest(最新发布) / image(图片) / live(直播) · Options: hot, latest, image, live · Default: "hot"
hotlatestimagelive
pcursorstringOptional首次留空,翻页传上一页响应的 pcursor · Default: ""
tag_namestringOptional话题标签建议传,等于标签名
tag_typeintegerOptional1=话题标签,29=声音/音乐标签 · Default: 1
tag_sourceintegerOptional2=搜索进入话题页,3=作品页声音标签 · Default: 2
from_photo_idstringOptional进入标签页的源作品 photoId(可选)
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": "kuaishou/app/tag-feed",
  "tab": "hot",
  "pcursor": "",
  "tag_type": 1,
  "tag_source": 2,
  "prompt": "a beautiful sunset over mountains"
}'