drawstyle 平台
面向 AI 的接口
drawstyle 对 AI agent 友好:公开只读 API + 一份 llms.txt,让工具和搜索引擎都能理解、消费。
公开只读接口(无需登录)
http
# 列表 / 搜索(支持 category、tag、q、sort)
$ curl https://drawstyle.leeguoo.com/api/styles
# 单个风格详情
$ curl https://drawstyle.leeguoo.com/api/styles/xiaohei
# 拉取包(命令行 pull 用的就是它):片段 + 版本 + 参考图 URL
$ curl https://drawstyle.leeguoo.com/api/styles/xiaohei/packageGEO
https://drawstyle.leeguoo.com/llms.txt 用自然语言说明了平台是什么、有哪些接口、以及怎么用命令行拉取——面向生成式搜索引擎优化。命令行如何对接
style search 打 /api/styles;pull 和 --style-online 打 /package 拿到片段和参考图。全部只读、无需鉴权。
由 郭立 · Guo Li · leeguoo · 博客 · GitHub