API reference · Kuaishou
kuaishou/app/search-comprehensive
Integrate this model through SandBase's unified API, with production-ready schemas and examples.
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/runModel ID
kuaishou/app/search-comprehensive01
Input Schema
5 parameters · 1 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
keyword | string | Required | — |
pcursor | string | Optional | — |
duration | string | Optional | 可选值: all(全部), under_1_min(1分钟以内), 1_to_5_min(1-5分钟), over_5_min(5分钟以上) · Options: all, under_1_min, 1_to_5_min, over_5_min · Default: "all" allunder_1_min1_to_5_minover_5_min |
sort_type | string | Optional | 可选值: all(综合排序), newest(最新发布), most_likes(最多点赞) · Options: all, newest, most_likes · Default: "all" allnewestmost_likes |
publish_time | string | Optional | 可选值: all(全部), one_day(近一日), one_week(近一周), one_month(近一月) · Options: all, one_day, one_week, one_month · Default: "all" allone_dayone_weekone_month |
02
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-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/search-comprehensive",
"duration": "all",
"sort_type": "all",
"publish_time": "all",
"prompt": "a beautiful sunset over mountains"
}'
