learn-opencode
learn-opencode copied to clipboard
每个章节的那个核心知识点的图是用什么工具生成的?
RT,每个章节的那个核心知识点的图是用什么工具生成的?
同问,感觉总结的真好,求提示词
感谢 @lamjack 和 @wangshenzhen0718 的关注。课程里的“学霸笔记”图是用 Gemini 绘图生成的,不是逐张用 Canva/Figma 手工排版。
当时的流程是:
- 内部
notes-genAgent 读取课程,提取 3~5 个核心概念、实用技巧和常见陷阱。 - 按统一提示词模板调用
gemini_draw。 - 使用 4K、16:9、纯白背景生成高清图。
- 再用
sips或 ImageMagick 生成 1920 px 缩略图。
核心提示词骨架如下:
Create a clean, professional student study note about [课程主题].
VISUAL STYLE:
- Pure white background
- Neat handwritten style with colored highlights
- Clean and organized layout
COLOR CODING:
- Pink: warnings
- Yellow: key concepts
- Blue: code and technical details
- Green: practical tips
CONTENT:
- 课程标题
- 3-5 个核心概念
- 代码或配置示例
- 实用技巧
- 常见陷阱
- 总结
Use 4K resolution and a 16:9 aspect ratio.
Add the watermark: 笔记来源是 learnopencode.com
真正影响效果的是先从课程里提炼结构化内容,再填进模板,而不是只把课程全文交给绘图模型。这个 Issue 按已答复关闭。