Skip to content

Extract live room danmaku

POST/v1/run

Extract live room danmaku This interface is no longer available online, you need to purchase the source code and deploy it locally for use. To purchase the source code, please contact the administrator in the Discord server. Discord invite link: https://discord.gg/aMEAS8Xsvz #### Price: 0.001$ per 10 data, support tiered billing discounts.

Request body

Call this sync operation with its public SandBase model identifier and operation-specific input fields.

stringmodelrequired

Model identifier. Set to douyin/web/live-room.

Default: douyin/web/live-room

stringdanmaku_typerequired

消息类型/Message type

stringlive_room_urlrequired

直播间链接/Live room link

Response Schema

A synchronous completed response contains exactly one outputs item with only data. Failed and timeout responses contain error and never outputs.

stringidrequired

SandBase run identifier. Provider task identifiers are never exposed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

stringmodelrequired

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Contains exactly one item whose only field is data.

Optional<object | array>outputs[0].data

Operation-specific business payload. This reference uses an empty object when no safe example can be confirmed.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: api, douyin

stringexecution_moderequired

Execution mode declared by the model registry.

Default: sync

pending response

{"id":"run_abc123","status":"pending","model":"douyin/web/live-room"}

running response

{"id":"run_abc123","status":"running","model":"douyin/web/live-room"}

completed response

{"id":"run_abc123","status":"completed","model":"douyin/web/live-room","outputs":[{"data":{}}]}

failed response

{"id":"run_abc123","status":"failed","model":"douyin/web/live-room","error":{"type":"upstream_error","message":"upstream request failed"}}

timeout response

{"id":"run_abc123","status":"timeout","model":"douyin/web/live-room","error":{"type":"upstream_error","message":"upstream request failed"}}