360 Secure SkillHub
360 安全技能中心

Bilibili Video Captions API

核心功能是调用指定接口获取B站视频字幕数据,支持转录提取与多语言内容分析。典型场景包括B站视频字幕提取、多语言内容研究等。输入需提供必填参数aid、bvid、cid及JUST_ONE_API_TOKEN认证,可通过命令行调用。输出先返回接口操作信息与参数,再返回字幕数据摘要及原始JSON,异常时返回后端错误payload及操作ID。

justoneapi
justoneapi
热度 35.45
最近更新 2026-05-11 17:45:30
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add justoneapi-bilibili-get-video-caption
Metadata
name
Bilibili Video Captions API
description
Call GET /api/bilibili/get-video-caption/v2 for Bilibili Video Captions through JustOneAPI with aid, bvid, and cid.
author
JustOneAPI
homepage
https://api.justoneapi.com
metadata
{"openclaw":{"homepage":"https://api.justoneapi.com","primaryEnv":"JUST_ONE_API_TOKEN","requires":{"bins":["node"],"env":["JUST_ONE_API_TOKEN"]},"skillKey":"justoneapi_bilibili_get_video_caption"}}

Bilibili Video Captions

Use this focused JustOneAPI skill for video Captions in Bilibili. It targets GET /api/bilibili/get-video-caption/v2. Required non-token inputs are aid, bvid, and cid. OpenAPI describes it as: Get Bilibili video Captions data, including caption data, for transcript extraction and multilingual content analysis.

Endpoint Scope

  • Platform key: bilibili
  • Endpoint key: get-video-caption
  • Platform family: Bilibili
  • Skill slug: justoneapi-bilibili-get-video-caption
Operation Version Method Path OpenAPI summary
getVideoCaptionV1 v2 GET /api/bilibili/get-video-caption/v2 Video Captions

Inputs

Parameter In Required by Optional by Type Notes
aid query all n/a string Bilibili AID
bvid query all n/a string Bilibili Video ID (BVID)
cid query all n/a string Bilibili CID

Request body: none documented; send parameters through path or query arguments.

Version Choice

Use getVideoCaptionV1 for the documented v2 endpoint. There are no alternate versions grouped in this skill.

Run This Endpoint

Supported operation IDs in this skill: getVideoCaptionV1.

node {baseDir}/bin/run.mjs --operation "getVideoCaptionV1" --token "$JUST_ONE_API_TOKEN" --params-json '{"bvid":"<bvid>","aid":"<aid>","cid":"<cid>"}'

Ask for any missing required parameter before calling the helper. Keep user-provided IDs, cursors, keywords, and filters unchanged.

Environment

  • Required: JUST_ONE_API_TOKEN
  • Pass the token with --token "$JUST_ONE_API_TOKEN"; do not paste token values into chat messages, screenshots, or logs.
  • Get a token from Just One API Dashboard.
  • Authentication details: Just One API Usage Guide.

Output Focus

  • State the operation ID and endpoint path used, for example getVideoCaptionV1 on /api/bilibili/get-video-caption/v2.
  • Echo the required lookup scope (aid, bvid, and cid) before summarizing results.
  • Prioritize fields that support this endpoint purpose: Get Bilibili video Captions data, including caption data, for transcript extraction and multilingual content analysis.
  • Return raw JSON only after the short, endpoint-specific summary.
  • If the backend errors, include the backend payload and the exact operation ID.