BiliNote

v0.16.10
cn.com.bilinote/bilinote Checked 1 day ago Published 7 days ago

Generate 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.

ParameterTypeDescription
model *stringModel name from list_models, e.g. "gpt-4o-mini"
byokCredentialIdstringID of an existing account BYOK credential, never the secret API key itself.
collectionIdstringOptional: file the generated note into this collection (id from list_collections / create_collection).
durationSecondsnumberKnown video duration in seconds for credit estimation; omit if unknown.
extrasstringAdditional instructions for note generation.
filePathstringAbsolute path to a LOCAL video file on this machine. Uploaded automatically, then processed as platform=LOCAL. Provide this OR videoUrl.
formatarrayOutput extras: "link" = timestamps / jump-to-video links (时间轴), "toc" = table of contents, "summary" = summary section, "screenshot" = inline screenshots. Defaults to ["link"] when omitted; pass…
linkbooleanLegacy link flag; use format: ["link"] for timestamp links.
maxWaitSecondsnumberMax seconds to wait (default 600)
platformstringBILIBILI / YOUTUBE / DOUYIN / KUAISHOU / XIAOYUZHOU / LOCAL (auto if omitted; ignored when filePath is used)
qualitystringDownload quality (backend default: medium).
screenshotboolean
sourceTaskIdstringRegenerate an owned task; the backend reuses its original video URL and platform.
stylestringBuilt-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.
styleIdintegerID 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.
titlestringCustom note title; overrides the generated title.
videoIntervalintegerScreenshot interval in seconds (default 10).
videoUnderstandingbooleanAnalyze video frames with a vision model (VIP; may cost extra credits).
videoUrlstringOnline video URL. Provide this OR filePath; omit when regenerating with sourceTaskId.
wantSpeakersbooleanDistinguish 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.

ParameterTypeDescription
taskId *string

get_note

Fetch a note by noteId.

ParameterTypeDescription
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.

ParameterTypeDescription
noteId *stringExisting note ID from list_notes / get_task.

list_notes

List notes in the account library.

ParameterTypeDescription
pagenumber

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.

ParameterTypeDescription
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.

ParameterTypeDescription
name *string
descriptionstring

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.

ParameterTypeDescription
collectionId *stringTarget collection ID from list_collections / create_collection.
noteId *stringExisting note ID from list_notes.