BiliNote
v0.16.10Generate AI study notes & transcripts from Bilibili, YouTube, Douyin, Kuaishou, or local videos.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_note
Generate an AI study note from a video — either an online URL (Bilibili / YouTube / Douyin / Kuaishou) or a LOCAL video file on this machine (pass filePath; it is uploaded automatically with resumable chunking). Blocks until the note is ready (generation takes minutes and COSTS CREDITS from the account). Returns the note markdown. On timeout returns the taskId to resume with get_task.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model name from list_models, e.g. "gpt-4o-mini" |
byokCredentialId | string | ID of an existing account BYOK credential, never the secret API key itself. |
collectionId | string | Optional: file the generated note into this collection (id from list_collections / create_collection). |
durationSeconds | number | Known video duration in seconds for credit estimation; omit if unknown. |
extras | string | Additional instructions for note generation. |
filePath | string | Absolute path to a LOCAL video file on this machine. Uploaded automatically, then processed as platform=LOCAL. Provide this OR videoUrl. |
format | array | Output extras: "link" = timestamps / jump-to-video links (时间轴), "toc" = table of contents, "summary" = summary section, "screenshot" = inline screenshots. Defaults to ["link"] when omitted; pass… |
link | boolean | Legacy link flag; use format: ["link"] for timestamp links. |
maxWaitSeconds | number | Max seconds to wait (default 600) |
platform | string | BILIBILI / YOUTUBE / DOUYIN / KUAISHOU / XIAOYUZHOU / LOCAL (auto if omitted; ignored when filePath is used) |
quality | string | Download quality (backend default: medium). |
screenshot | boolean | |
sourceTaskId | string | Regenerate an owned task; the backend reuses its original video URL and platform. |
style | string | Built-in style key from list_styles (builtin[].style), e.g. "minimal" / "detailed" / "academic". styleId takes precedence. Use extras for custom instructions and format for timestamps. |
styleId | integer | ID of one of your own custom style templates, from list_styles (custom[].styleId); takes precedence over style. Public templates must be copied to your account in the web app first. |
title | string | Custom note title; overrides the generated title. |
videoInterval | integer | Screenshot interval in seconds (default 10). |
videoUnderstanding | boolean | Analyze video frames with a vision model (VIP; may cost extra credits). |
videoUrl | string | Online video URL. Provide this OR filePath; omit when regenerating with sourceTaskId. |
wantSpeakers | boolean | Distinguish speakers during transcription (default false). |
list_styles
List note styles: built-in keys for generate_note.style and your own custom templates with styleId for generate_note.styleId.
list_models
List available models and their credit cost.
get_task
Check a generation task status by taskId.
| Parameter | Type | Description |
|---|---|---|
taskId * | string |
get_note
Fetch a note by noteId.
| Parameter | Type | Description |
|---|---|---|
noteId * | string |
get_note_transcript
Fetch the source transcript (原文对照) for a note by noteId, including timestamped segments, speakers, and Chinese translations when available. Does not consume credits.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | Existing note ID from list_notes / get_task. |
list_notes
List notes in the account library.
| Parameter | Type | Description |
|---|---|---|
page | number |
get_account
Check the account: remaining credits (balance), total earned/consumed, VIP status & plan, and this API key's rate limit / monthly spend cap. Use to answer "how many credits do I have left".
list_collections
List the user's note collections (collectionId, name, noteCount).
get_collection
Get a collection's contents: the collection info plus the notes inside it.
| Parameter | Type | Description |
|---|---|---|
collectionId * | string |
create_collection
Create a new note collection; returns its collectionId. Use add_note_to_collection for existing notes, or pass collectionId to generate_note for new notes.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
description | string |
add_note_to_collection
Add an existing note to a collection. Both must belong to your account. Keeps memberships in other collections; does not regenerate or modify the note and costs no credits. Returns added: 1 for a new association, added: 0 if already in this collection. Invalid IDs return an error.
| Parameter | Type | Description |
|---|---|---|
collectionId * | string | Target collection ID from list_collections / create_collection. |
noteId * | string | Existing note ID from list_notes. |