# B站视频转文字稿 · Bilibili Video Transcript

**Use case:** 

把一条 B站视频链接变成带时间戳的中文文字稿。输出完整 text + segments，自带 qualityCheck 自证字段，可直接喂给 LLM / RAG / 全文检索。

## Input

```json
{
  "videoUrls": [
    "https://www.bilibili.com/video/BV1MzWU65Ewn"
  ],
  "modelSize": "base",
  "language": "zh",
  "withTimestamps": true,
  "includeMetadata": true,
  "maxItems": 10,
  "maxDurationSec": 300,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "url": {
    "label": "Input URL",
    "format": "string"
  },
  "platform": {
    "label": "Platform",
    "format": "string"
  },
  "videoId": {
    "label": "Video ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "durationSec": {
    "label": "Duration (sec)",
    "format": "number"
  },
  "text": {
    "label": "Transcript text",
    "format": "string"
  },
  "segmentCount": {
    "label": "Segment count",
    "format": "number"
  },
  "charCount": {
    "label": "Character count",
    "format": "number"
  },
  "billableMinutes": {
    "label": "Billable minutes",
    "format": "number"
  },
  "hasTranscript": {
    "label": "Has transcript",
    "format": "boolean"
  },
  "qualityCheck": {
    "label": "Quality check",
    "format": "boolean"
  },
  "errorCode": {
    "label": "Error code",
    "format": "string"
  },
  "hint": {
    "label": "Hint",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The 抖音/B站视频转文字 — Douyin & Bilibili Transcript API Actor is ready to run with the inputs already set for "B站视频转文字稿 · Bilibili Video Transcript". [Sign up or log in](https://console.apify.com/create-task-from-example/DhQtLTgw905ggRnvS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "B站视频转文字稿 · Bilibili Video Transcript" task

The 抖音/B站视频转文字 — Douyin & Bilibili Transcript API Actor will start running based on the input automatically. You can also change all the input fields, like video urls, whisper model, and more, to match your specific use case.

### 3. Receive the "B站视频转文字稿 · Bilibili Video Transcript" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as input url, platform, video id, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "B站视频转文字稿 · Bilibili Video Transcript" task via API](https://apify.com/jfishpw/chinese-video-transcript.md).

## FAQ

### Do I need an API key?

No. Built-in speech-to-text, no key or third-party signup needed.

### How long does one video take?

Seconds for short videos; the model size (tiny/base/small) controls accuracy vs cost.

### Does it work for videos without subtitles?

Yes — it runs local ASR on the audio, so it works even when the platform has no subtitles.

## About this Actor

This example demonstrates how to use [抖音/B站视频转文字 — Douyin & Bilibili Transcript API](https://apify.com/jfishpw/chinese-video-transcript.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jfishpw/chinese-video-transcript.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/jfishpw/chinese-video-transcript.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
