notebooklm

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

NotebookLM AI Plugin

NotebookLM AI 插件

Supports:
  • Chat with Notebook AI (source-grounded Q&A with citations)
  • Slide Deck generation (PDF/PPTX)
  • Audio Overview (M4A -- deep dive, brief, critique, debate formats)
  • Video Overview (MP4 -- classic, whiteboard, kawaii, anime, watercolor styles)
  • Mind Map (HTML)
  • Flashcards (HTML/JSON)
  • Quiz (HTML/JSON)
  • Infographic (PNG -- landscape, portrait, square)
  • Report (Markdown -- briefing doc, study guide, blog post)
  • Data Table (CSV / Google Sheets export)
  • Source management (add URLs, YouTube, files, pasted text; list, delete)
  • Fast/Deep web research with auto-import
  • Notes management (create, update, delete, list)
  • Notebook library management (add, list, search, activate)
支持以下功能:
  • 与Notebook AI聊天(基于素材源的问答,附带引用来源)
  • 生成幻灯片(PDF/PPTX格式)
  • 生成音频概览(M4A格式,支持深度解读、摘要、评论、辩论等形式)
  • 生成视频概览(MP4格式,支持经典、白板、可爱风、动漫、水彩等风格)
  • 生成思维导图(HTML格式)
  • 生成闪卡(HTML/JSON格式)
  • 生成测验(HTML/JSON格式)
  • 生成信息图(PNG格式,支持横向、纵向、正方形版式)
  • 生成报告(Markdown格式,支持简报文档、学习指南、博客文章类型)
  • 生成数据表(支持CSV / Google Sheets导出)
  • 素材源管理(添加URL、YouTube链接、文件、粘贴文本;支持列出、删除操作)
  • 支持自动导入结果的快速/深度网页研究
  • 笔记管理(创建、更新、删除、列出)
  • 笔记本库管理(添加、列出、搜索、激活)

Quick start

快速开始

bash
undefined
bash
undefined

Authenticate first (opens Chrome for Google login)

Authenticate first (opens Chrome for Google login)

npx -y bun scripts/main.ts login
npx -y bun scripts/main.ts login

Add a notebook to library

Add a notebook to library

npx -y bun scripts/main.ts notebooks add https://notebooklm.google.com/notebook/abc123 --name "My Research"
npx -y bun scripts/main.ts notebooks add https://notebooklm.google.com/notebook/abc123 --name "My Research"

Generate artifacts

Generate artifacts

npx -y bun scripts/main.ts generate slide_deck --notebook abc123 --output slides.pdf npx -y bun scripts/main.ts generate audio --format deep_dive --length long npx -y bun scripts/main.ts generate video --style whiteboard --output explainer.mp4 npx -y bun scripts/main.ts generate quiz --difficulty medium --quantity more --json npx -y bun scripts/main.ts generate mind_map --output mindmap.png npx -y bun scripts/main.ts generate infographic --orientation portrait --output info.png npx -y bun scripts/main.ts generate report --format study_guide --output report.md npx -y bun scripts/main.ts generate flashcards --difficulty easy --json npx -y bun scripts/main.ts generate data_table --output data.csv
undefined
npx -y bun scripts/main.ts generate slide_deck --notebook abc123 --output slides.pdf npx -y bun scripts/main.ts generate audio --format deep_dive --length long npx -y bun scripts/main.ts generate video --style whiteboard --output explainer.mp4 npx -y bun scripts/main.ts generate quiz --difficulty medium --quantity more --json npx -y bun scripts/main.ts generate mind_map --output mindmap.png npx -y bun scripts/main.ts generate infographic --orientation portrait --output info.png npx -y bun scripts/main.ts generate report --format study_guide --output report.md npx -y bun scripts/main.ts generate flashcards --difficulty easy --json npx -y bun scripts/main.ts generate data_table --output data.csv
undefined

Commands

命令

Authentication

认证

bash
npx -y bun scripts/main.ts login
First run opens Chrome for Google login. Cookies are cached for subsequent runs.
bash
undefined
bash
npx -y bun scripts/main.ts login
首次运行会打开Chrome进行Google登录,Cookie会被缓存供后续使用。
bash
undefined

Force cookie refresh

Force cookie refresh

npx -y bun scripts/main.ts login --force
undefined
npx -y bun scripts/main.ts login --force
undefined

Notebook Management

笔记本管理

bash
undefined
bash
undefined

List all notebooks in library

List all notebooks in library

npx -y bun scripts/main.ts notebooks list
npx -y bun scripts/main.ts notebooks list

Add a notebook by URL

Add a notebook by URL

npx -y bun scripts/main.ts notebooks add <url> [--name <name>] [--description <desc>] [--topics <t1,t2>]
npx -y bun scripts/main.ts notebooks add <url> [--name <name>] [--description <desc>] [--topics <t1,t2>]

Remove a notebook from library

Remove a notebook from library

npx -y bun scripts/main.ts notebooks remove <id>
npx -y bun scripts/main.ts notebooks remove <id>

Set active notebook (used as default for generation)

Set active notebook (used as default for generation)

npx -y bun scripts/main.ts notebooks activate <id>
npx -y bun scripts/main.ts notebooks activate <id>

Search notebooks

Search notebooks

npx -y bun scripts/main.ts notebooks search <query>
undefined
npx -y bun scripts/main.ts notebooks search <query>
undefined

Chat with Notebook AI

与Notebook AI聊天

bash
undefined
bash
undefined

Ask a question about your notebook sources

Ask a question about your notebook sources

npx -y bun scripts/main.ts chat --question "What are the key findings?" --notebook abc123
npx -y bun scripts/main.ts chat --question "What are the key findings?" --notebook abc123

Continue a conversation

Continue a conversation

npx -y bun scripts/main.ts chat --question "Tell me more about that" --conversation-id <id>
npx -y bun scripts/main.ts chat --question "Tell me more about that" --conversation-id <id>

Get JSON output with citations

Get JSON output with citations

npx -y bun scripts/main.ts chat --question "Summarize the methodology" --json
undefined
npx -y bun scripts/main.ts chat --question "Summarize the methodology" --json
undefined

Source Management

素材源管理

bash
undefined
bash
undefined

List all sources in a notebook

List all sources in a notebook

npx -y bun scripts/main.ts sources list --notebook abc123
npx -y bun scripts/main.ts sources list --notebook abc123

Add sources

Add sources

npx -y bun scripts/main.ts sources add-url https://example.com/article --notebook abc123 npx -y bun scripts/main.ts sources add-youtube https://youtube.com/watch?v=xxx --notebook abc123 npx -y bun scripts/main.ts sources add-text --title "My Notes" --content "Important findings..." --notebook abc123 npx -y bun scripts/main.ts sources add-file ./paper.pdf --notebook abc123
npx -y bun scripts/main.ts sources add-url https://example.com/article --notebook abc123 npx -y bun scripts/main.ts sources add-youtube https://youtube.com/watch?v=xxx --notebook abc123 npx -y bun scripts/main.ts sources add-text --title "My Notes" --content "Important findings..." --notebook abc123 npx -y bun scripts/main.ts sources add-file ./paper.pdf --notebook abc123

Delete a source

Delete a source

npx -y bun scripts/main.ts sources delete <sourceId> --notebook abc123

Supported file types: PDF, TXT, MD, DOCX, CSV, EPUB, images (PNG, JPG, WEBP, etc.), audio/video files.
npx -y bun scripts/main.ts sources delete <sourceId> --notebook abc123

支持的文件类型:PDF、TXT、MD、DOCX、CSV、EPUB、图片(PNG、JPG、WEBP等)、音视频文件。

Research

研究

bash
undefined
bash
undefined

Fast web research (finds relevant sources quickly)

Fast web research (finds relevant sources quickly)

npx -y bun scripts/main.ts research fast --query "latest AI agent frameworks" --notebook abc123
npx -y bun scripts/main.ts research fast --query "latest AI agent frameworks" --notebook abc123

Deep research (comprehensive report with analysis)

Deep research (comprehensive report with analysis)

npx -y bun scripts/main.ts research deep --query "state of LLM reasoning" --notebook abc123
npx -y bun scripts/main.ts research deep --query "state of LLM reasoning" --notebook abc123

Auto-import found sources into the notebook

Auto-import found sources into the notebook

npx -y bun scripts/main.ts research fast --query "topic" --notebook abc123 --import
npx -y bun scripts/main.ts research fast --query "topic" --notebook abc123 --import

Check research status

Check research status

npx -y bun scripts/main.ts research status --notebook abc123
undefined
npx -y bun scripts/main.ts research status --notebook abc123
undefined

Notes

笔记

bash
undefined
bash
undefined

List notes in a notebook

List notes in a notebook

npx -y bun scripts/main.ts notes list --notebook abc123
npx -y bun scripts/main.ts notes list --notebook abc123

Create a note

Create a note

npx -y bun scripts/main.ts notes create --title "Key Takeaways" --content "1. Finding one..." --notebook abc123
npx -y bun scripts/main.ts notes create --title "Key Takeaways" --content "1. Finding one..." --notebook abc123

Update a note

Update a note

npx -y bun scripts/main.ts notes update <noteId> --title "Updated Title" --content "New content" --notebook abc123
npx -y bun scripts/main.ts notes update <noteId> --title "Updated Title" --content "New content" --notebook abc123

Delete a note

Delete a note

npx -y bun scripts/main.ts notes delete <noteId> --notebook abc123
undefined
npx -y bun scripts/main.ts notes delete <noteId> --notebook abc123
undefined

Artifact Generation

产物生成

bash
npx -y bun scripts/main.ts generate <type> [options]
Types:
slide_deck
,
audio
,
video
,
mind_map
,
flashcards
,
quiz
,
infographic
,
report
,
data_table
bash
npx -y bun scripts/main.ts generate <type> [options]
类型:
slide_deck
audio
video
mind_map
flashcards
quiz
infographic
report
data_table

Options

选项

Global Options

全局选项

OptionDescription
--notebook <url|id>
Notebook URL or library ID (defaults to active notebook)
--output <path>
Output file path (auto-named if omitted)
--instructions <text>
Custom instructions for generation
--json
Output as JSON
--login
Refresh cookies only, then exit
--help
,
-h
Show help
选项描述
--notebook <url|id>
笔记本URL或库ID(默认使用激活的笔记本)
--output <path>
输出文件路径(省略则自动命名)
--instructions <text>
生成内容的自定义指令
--json
以JSON格式输出
--login
仅刷新Cookie,然后退出
--help
,
-h
显示帮助信息

Slide Deck Options

幻灯片选项

OptionDescription
--format <type>
Output format:
pdf
(default),
pptx
选项描述
--format <type>
输出格式:
pdf
(默认)、
pptx

Audio Overview Options

音频概览选项

OptionDescription
--format <type>
Audio format:
deep_dive
(default),
brief
,
critique
,
debate
--length <length>
Duration:
short
,
default
,
long
--language <lang>
Language code (default:
en
)
选项描述
--format <type>
音频形式:
deep_dive
(默认)、
brief
critique
debate
--length <length>
时长:
short
default
long
--language <lang>
语言代码(默认:
en

Video Overview Options

视频概览选项

OptionDescription
--style <style>
Visual style:
auto
(default),
classic
,
whiteboard
,
kawaii
,
anime
,
watercolor
--format <type>
Video format:
explainer
(default),
brief
选项描述
--style <style>
视觉风格:
auto
(默认)、
classic
whiteboard
kawaii
anime
watercolor
--format <type>
视频形式:
explainer
(默认)、
brief

Quiz Options

测验选项

OptionDescription
--difficulty <level>
Difficulty:
easy
,
medium
(default),
hard
--quantity <amount>
Number of questions:
fewer
,
standard
,
more
选项描述
--difficulty <level>
难度:
easy
medium
(默认)、
hard
--quantity <amount>
题目数量:
fewer
standard
more

Flashcards Options

闪卡选项

OptionDescription
--difficulty <level>
Difficulty:
easy
,
medium
(default),
hard
--quantity <amount>
Number of cards:
fewer
,
standard
,
more
选项描述
--difficulty <level>
难度:
easy
medium
(默认)、
hard
--quantity <amount>
卡片数量:
fewer
standard
more

Infographic Options

信息图选项

OptionDescription
--orientation <type>
Layout:
landscape
(default),
portrait
,
square
选项描述
--orientation <type>
版式:
landscape
(默认)、
portrait
square

Report Options

报告选项

OptionDescription
--format <type>
Report format:
briefing_doc
(default),
study_guide
,
blog_post
选项描述
--format <type>
报告格式:
briefing_doc
(默认)、
study_guide
blog_post

Data Table Options

数据表选项

OptionDescription
--format <type>
Output format:
csv
(default),
sheets
(Google Sheets export)
选项描述
--format <type>
输出格式:
csv
(默认)、
sheets
(Google Sheets导出)

Artifact Types

产物类型

TypeOutput FormatDescription
slide_deck
PDF/PPTXPresentation slides summarizing notebook sources
audio
M4AAudio overview in conversation format (deep dive, brief, critique, debate)
video
MP4Animated video overview with visual styles
mind_map
PNGVisual mind map of key concepts and relationships
flashcards
HTML/JSONStudy flashcards generated from source material
quiz
HTML/JSONMultiple-choice quiz with answer key
infographic
PNGVisual summary infographic in various orientations
report
MarkdownWritten report (briefing doc, study guide, blog post)
data_table
CSV/SheetsStructured data extracted from sources
类型输出格式描述
slide_deck
PDF/PPTX总结笔记本素材源的演示幻灯片
audio
M4A对话形式的音频概览(深度解读、摘要、评论、辩论)
video
MP4带视觉风格的动画视频概览
mind_map
PNG展示核心概念和关联的可视化思维导图
flashcards
HTML/JSON基于素材生成的学习闪卡
quiz
HTML/JSON带答案的选择题测验
infographic
PNG多版式的可视化摘要信息图
report
Markdown书面报告(简报文档、学习指南、博客文章)
data_table
CSV/Sheets从素材中提取的结构化数据

Authentication

认证

First run opens Chrome to authenticate with Google. Cookies are cached for subsequent runs. Uses CDP browser automation for the login flow, then direct batchexecute RPC calls for all operations.
bash
undefined
首次运行会打开Chrome进行Google身份验证,Cookie会被缓存供后续使用。登录流程使用CDP浏览器自动化,所有操作后续直接通过batchexecute RPC调用执行。
bash
undefined

Force cookie refresh

Force cookie refresh

npx -y bun scripts/main.ts login --force
undefined
npx -y bun scripts/main.ts login --force
undefined

Environment variables

环境变量

VariableDescription
NOTEBOOKLM_DATA_DIR
Data directory override
NOTEBOOKLM_COOKIE_PATH
Cookie file path
NOTEBOOKLM_CHROME_PROFILE_DIR
Chrome profile directory
NOTEBOOKLM_OUTPUT_DIR
Default output directory
变量描述
NOTEBOOKLM_DATA_DIR
数据目录自定义路径
NOTEBOOKLM_COOKIE_PATH
Cookie文件路径
NOTEBOOKLM_CHROME_PROFILE_DIR
Chrome配置文件目录
NOTEBOOKLM_OUTPUT_DIR
默认输出目录

Rate Limits

速率限制

NotebookLM free tier limits:
ResourceLimit
Audio/video overviews3 per day
Reports/flashcards/quizzes10 per day
Daily chats50
Total notebooks100
Sources per notebook50
NotebookLM免费层限制:
资源限制
音频/视频概览每日3个
报告/闪卡/测验每日10个
每日对话次数50次
总笔记本数量100个
单笔记本素材源数量50个

Examples

示例

Generate a slide deck from a specific notebook

从指定笔记本生成幻灯片

bash
npx -y bun scripts/main.ts generate slide_deck \
  --notebook https://notebooklm.google.com/notebook/abc123 \
  --output presentation.pdf
bash
npx -y bun scripts/main.ts generate slide_deck \
  --notebook https://notebooklm.google.com/notebook/abc123 \
  --output presentation.pdf

Create an audio deep dive with custom instructions

创建带自定义指令的深度解读音频

bash
npx -y bun scripts/main.ts generate audio \
  --format deep_dive \
  --length long \
  --instructions "Focus on the methodology section and compare approaches"
bash
npx -y bun scripts/main.ts generate audio \
  --format deep_dive \
  --length long \
  --instructions "Focus on the methodology section and compare approaches"

Generate a whiteboard-style video overview

生成白板风格的视频概览

bash
npx -y bun scripts/main.ts generate video \
  --style whiteboard \
  --length medium \
  --output explainer.mp4
bash
npx -y bun scripts/main.ts generate video \
  --style whiteboard \
  --length medium \
  --output explainer.mp4

Create a quiz and get JSON output for integration

创建测验并导出JSON用于集成

bash
npx -y bun scripts/main.ts generate quiz \
  --difficulty hard \
  --quantity more \
  --json > quiz_data.json
bash
npx -y bun scripts/main.ts generate quiz \
  --difficulty hard \
  --quantity more \
  --json > quiz_data.json

Generate a portrait infographic

生成纵向版式信息图

bash
npx -y bun scripts/main.ts generate infographic \
  --orientation portrait \
  --instructions "Highlight the three main findings" \
  --output summary.png
bash
npx -y bun scripts/main.ts generate infographic \
  --orientation portrait \
  --instructions "Highlight the three main findings" \
  --output summary.png

Export structured data as CSV

导出结构化数据为CSV

bash
npx -y bun scripts/main.ts generate data_table \
  --format csv \
  --output extracted_data.csv
bash
npx -y bun scripts/main.ts generate data_table \
  --format csv \
  --output extracted_data.csv