API reference · Douyin
douyin/creator/creator-hot-course
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
douyin/creator/creator-hot-course01
Input Schema
4 parameters · 0 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | Optional | 每页数量/Items per page (建议24) · Min: 1 · Max: 100 · Default: 24 |
order | integer | Optional | 排序方式/Order type (1=推荐排序, 2=最受欢迎, 3=最新上传) · Default: 1 |
offset | integer | Optional | 偏移量/Offset · Min: 0 · Default: 0 |
category_id | union | Optional | 精选专题分类ID/Selected topic category ID - 不传则为热门课程,传入则为精选专题 可选值/Available values: 6976547830546582816=知识品类, 6976547923849006336=生活品类, 6976547940311633165=娱乐品类, 6976547972108635404=美食品类, 6980288134957272352=正能量, 6980288181744766219=游戏品类, 6980288219548011776=通用 |
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": "douyin/creator/creator-hot-course",
"limit": 24,
"order": 1,
"offset": 0,
"prompt": "a beautiful sunset over mountains"
}'
