notebooklm
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNotebookLM 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
undefinedbash
undefinedAuthenticate 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
undefinednpx -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
undefinedCommands
命令
Authentication
认证
bash
npx -y bun scripts/main.ts loginFirst run opens Chrome for Google login. Cookies are cached for subsequent runs.
bash
undefinedbash
npx -y bun scripts/main.ts login首次运行会打开Chrome进行Google登录,Cookie会被缓存供后续使用。
bash
undefinedForce cookie refresh
Force cookie refresh
npx -y bun scripts/main.ts login --force
undefinednpx -y bun scripts/main.ts login --force
undefinedNotebook Management
笔记本管理
bash
undefinedbash
undefinedList 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>
undefinednpx -y bun scripts/main.ts notebooks search <query>
undefinedChat with Notebook AI
与Notebook AI聊天
bash
undefinedbash
undefinedAsk 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
undefinednpx -y bun scripts/main.ts chat --question "Summarize the methodology" --json
undefinedSource Management
素材源管理
bash
undefinedbash
undefinedList 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
undefinedbash
undefinedFast 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
undefinednpx -y bun scripts/main.ts research status --notebook abc123
undefinedNotes
笔记
bash
undefinedbash
undefinedList 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
undefinednpx -y bun scripts/main.ts notes delete <noteId> --notebook abc123
undefinedArtifact Generation
产物生成
bash
npx -y bun scripts/main.ts generate <type> [options]Types: , , , , , , , ,
slide_deckaudiovideomind_mapflashcardsquizinfographicreportdata_tablebash
npx -y bun scripts/main.ts generate <type> [options]类型:、、、、、、、、
slide_deckaudiovideomind_mapflashcardsquizinfographicreportdata_tableOptions
选项
Global Options
全局选项
| Option | Description |
|---|---|
| Notebook URL or library ID (defaults to active notebook) |
| Output file path (auto-named if omitted) |
| Custom instructions for generation |
| Output as JSON |
| Refresh cookies only, then exit |
| Show help |
| 选项 | 描述 |
|---|---|
| 笔记本URL或库ID(默认使用激活的笔记本) |
| 输出文件路径(省略则自动命名) |
| 生成内容的自定义指令 |
| 以JSON格式输出 |
| 仅刷新Cookie,然后退出 |
| 显示帮助信息 |
Slide Deck Options
幻灯片选项
| Option | Description |
|---|---|
| Output format: |
| 选项 | 描述 |
|---|---|
| 输出格式: |
Audio Overview Options
音频概览选项
| Option | Description |
|---|---|
| Audio format: |
| Duration: |
| Language code (default: |
| 选项 | 描述 |
|---|---|
| 音频形式: |
| 时长: |
| 语言代码(默认: |
Video Overview Options
视频概览选项
| Option | Description |
|---|---|
| Visual style: |
| Video format: |
| 选项 | 描述 |
|---|---|
| 视觉风格: |
| 视频形式: |
Quiz Options
测验选项
| Option | Description |
|---|---|
| Difficulty: |
| Number of questions: |
| 选项 | 描述 |
|---|---|
| 难度: |
| 题目数量: |
Flashcards Options
闪卡选项
| Option | Description |
|---|---|
| Difficulty: |
| Number of cards: |
| 选项 | 描述 |
|---|---|
| 难度: |
| 卡片数量: |
Infographic Options
信息图选项
| Option | Description |
|---|---|
| Layout: |
| 选项 | 描述 |
|---|---|
| 版式: |
Report Options
报告选项
| Option | Description |
|---|---|
| Report format: |
| 选项 | 描述 |
|---|---|
| 报告格式: |
Data Table Options
数据表选项
| Option | Description |
|---|---|
| Output format: |
| 选项 | 描述 |
|---|---|
| 输出格式: |
Artifact Types
产物类型
| Type | Output Format | Description |
|---|---|---|
| PDF/PPTX | Presentation slides summarizing notebook sources |
| M4A | Audio overview in conversation format (deep dive, brief, critique, debate) |
| MP4 | Animated video overview with visual styles |
| PNG | Visual mind map of key concepts and relationships |
| HTML/JSON | Study flashcards generated from source material |
| HTML/JSON | Multiple-choice quiz with answer key |
| PNG | Visual summary infographic in various orientations |
| Markdown | Written report (briefing doc, study guide, blog post) |
| CSV/Sheets | Structured data extracted from sources |
| 类型 | 输出格式 | 描述 |
|---|---|---|
| PDF/PPTX | 总结笔记本素材源的演示幻灯片 |
| M4A | 对话形式的音频概览(深度解读、摘要、评论、辩论) |
| MP4 | 带视觉风格的动画视频概览 |
| PNG | 展示核心概念和关联的可视化思维导图 |
| HTML/JSON | 基于素材生成的学习闪卡 |
| HTML/JSON | 带答案的选择题测验 |
| PNG | 多版式的可视化摘要信息图 |
| Markdown | 书面报告(简报文档、学习指南、博客文章) |
| 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
undefinedForce cookie refresh
Force cookie refresh
npx -y bun scripts/main.ts login --force
undefinednpx -y bun scripts/main.ts login --force
undefinedEnvironment variables
环境变量
| Variable | Description |
|---|---|
| Data directory override |
| Cookie file path |
| Chrome profile directory |
| Default output directory |
| 变量 | 描述 |
|---|---|
| 数据目录自定义路径 |
| Cookie文件路径 |
| Chrome配置文件目录 |
| 默认输出目录 |
Rate Limits
速率限制
NotebookLM free tier limits:
| Resource | Limit |
|---|---|
| Audio/video overviews | 3 per day |
| Reports/flashcards/quizzes | 10 per day |
| Daily chats | 50 |
| Total notebooks | 100 |
| Sources per notebook | 50 |
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.pdfbash
npx -y bun scripts/main.ts generate slide_deck \
--notebook https://notebooklm.google.com/notebook/abc123 \
--output presentation.pdfCreate 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.mp4bash
npx -y bun scripts/main.ts generate video \
--style whiteboard \
--length medium \
--output explainer.mp4Create 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.jsonbash
npx -y bun scripts/main.ts generate quiz \
--difficulty hard \
--quantity more \
--json > quiz_data.jsonGenerate a portrait infographic
生成纵向版式信息图
bash
npx -y bun scripts/main.ts generate infographic \
--orientation portrait \
--instructions "Highlight the three main findings" \
--output summary.pngbash
npx -y bun scripts/main.ts generate infographic \
--orientation portrait \
--instructions "Highlight the three main findings" \
--output summary.pngExport structured data as CSV
导出结构化数据为CSV
bash
npx -y bun scripts/main.ts generate data_table \
--format csv \
--output extracted_data.csvbash
npx -y bun scripts/main.ts generate data_table \
--format csv \
--output extracted_data.csv