<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>神烦老狗</title>
  
  <subtitle>打破信息差，记录与表达</subtitle>
  <link href="https://www.laogou717.com/atom.xml" rel="self"/>
  
  <link href="https://www.laogou717.com/"/>
  <updated>2026-01-22T23:24:30.804Z</updated>
  <id>https://www.laogou717.com/</id>
  
  <author>
    <name>神烦老狗</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>消失的 19.99 刀：ChatGPT Go 计划背后的“降本增效”阳谋</title>
    <link href="https://www.laogou717.com/2026/01/22/AI%20era/ChatGPT/chatgpt-go-plus-workaround/"/>
    <id>https://www.laogou717.com/2026/01/22/AI%20era/ChatGPT/chatgpt-go-plus-workaround/</id>
    <published>2026-01-22T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>从前段时间OpenAI正式推送GO计划之后，我发现在Apple Store中，熟悉的PLUS计划消失了，只剩下一个GO计划。<br>也许 <strong>OpenAI 正在“软劝退”它的 Plus 用户</strong> 。<br><img src="https://image.laogou717.com/file/image/blog/2024/9AaiBaTb.png" alt="chatgpt go 计划"></p></blockquote><p>当你现在打开 ChatGPT 的 iOS App 想续费时，你会发现那个熟悉的 $19.99 选项 <strong>消失了</strong> 。</p><p>取而代之的，是 8 美元的入门款 “ChatGPT Go” 。</p><p>很多人一看就慌了：难道 Plus 绝版了？我只能用虚拟卡支付了吗？</p><p><strong>我看未必</strong> 。</p><p>其实这只是 OpenAI 的一点“小心机”。Plus 活得好好的，它只是被 <strong>刻意隐藏</strong> 了起来。</p><p>今天我们就来聊聊这个骚操作，以及 <strong>如何用一招在 iOS “复活” 你的 Plus 订阅</strong> 。</p><h2 id="8-美元的“甜蜜陷阱”"><a href="#8-美元的“甜蜜陷阱”" class="headerlink" title="8 美元的“甜蜜陷阱”"></a>8 美元的“甜蜜陷阱”</h2><p>OpenAI 在 1 月份大张旗鼓推出的 “ChatGPT Go” 计划，看起来很美：只要 8 刀，就能用上最新的 GPT-5.2 Instant。</p><p>但通俗来讲，这就是个 <strong>“丐版”</strong> 。</p><p>虽然 GPT-5.2 Instant 响应速度极快，但它阉割了两个最核心的能力：</p><ol><li><strong>深度推理 (Thinking Models)</strong> ：也就是我们常说的 O 系列模型，那种能花几十秒甚至几分钟思考复杂逻辑的能力，Go 计划是没有的。</li><li><strong>Sora 视频生成</strong> ：目前最火的视频生成功能，Go 计划也是不支持的。</li></ol><p>这就好比你去买车，销售跟你说：“这车只要 8 万，跑得飞快！”</p><p>结果你一到手，发现 <strong>只能在市区跑，不能上高速</strong> 。</p><p>对于只问“今天天气怎么样”、“帮我写个邮件”的轻度用户，Go 计划确实够用了。</p><p>可是免费用户应对也够了，而且甚至国产很多免费模型比它更好。</p><p>但如果你是用来写代码、做复杂数据分析、或者搞创作的生产力用户，从 Plus 降级到 Go，简直就是 <strong>自废武功</strong> ，因为你的 codex 也是丐版。</p><h2 id="为什么-OpenAI-不想卖-Plus-了？"><a href="#为什么-OpenAI-不想卖-Plus-了？" class="headerlink" title="为什么 OpenAI 不想卖 Plus 了？"></a>为什么 OpenAI 不想卖 Plus 了？</h2><p>既然 Plus 这么好，为什么 OpenAI 要把它藏起来？</p><p><strong>因为 Plus 用户太“贵”了</strong> 。</p><p>我们来算笔账。现在的深度推理模型 (Thinking Models) 极其烧显卡。</p><p>一个 Plus 用户如果天天高强度用思考模型，或者开发者狂写代码，每月的算力成本可能远超 20 美元。</p><p>如果你是 OpenAI 的 CFO，你会怎么做？</p><p><strong>分流策略</strong> 。</p><p>用便宜的 8 美元 Go 计划，把 80% 的轻度用户“赶”去用低成本的 Instant 模型。这些用户不需要深度思考，给他们快一点的响应速度，他们反而更开心。</p><p>同时，把真正的高算力需求用户，往 200 美元的 Pro 计划里赶。</p><p>而夹在中间的 Plus 用户，成了 <strong>“性价比过高”</strong> 的鸡肋。食之无味（赚不到钱），弃之可惜（怕用户流失）。</p><p>所以，最鸡贼的做法就是： <strong>不主动下架，但增加购买阻力</strong> 。</p><p>也就是直接在 App Store 的后台，把 Plus 订阅的购买入口给隐藏起来。你要在 app 上付费，默认就是 go 计划，而且你只能看到 go 计划。</p><h2 id="如何在-iOS-复活-Plus"><a href="#如何在-iOS-复活-Plus" class="headerlink" title="如何在 iOS 复活 Plus"></a>如何在 iOS 复活 Plus</h2><p>既然这只是前端 UI 的障眼法，那我们就不在 App 里面找。我们要去 <strong>Apple 的后台</strong> 找。</p><p>这个方法利用了 App Store 的订阅管理机制，只要 OpenAI 没有在苹果后台彻底下架 Plus 商品，这个入口就是 <strong>永久有效</strong> 的。</p><p><strong>具体步骤如下：</strong></p><ol><li>打开你 iPhone 上的 <strong>App Store</strong> 。</li><li>点击右上角你的 <strong>头像</strong> 。</li><li>点击 <strong>订阅 (Subscriptions)</strong> 。</li><li>在 <strong>订阅记录 (History&#x2F;Expired)</strong> 列表里，找到 <strong>ChatGPT</strong> 。</li></ol><p><img src="https://image.laogou717.com/file/image/blog/2024/QBL8vDQG.png" alt="订阅"></p><p>当你点进去时，你会发现 <strong>ChatGPT Plus ($19.99)</strong> 依然安安静静地躺在选项列表里。</p><p>你只需要点击它，从 Apple 余额或绑定的卡里扣费，就能瞬间 <strong>复活</strong> 你的 Plus 订阅。<br><img src="https://image.laogou717.com/file/image/blog/2024/Ijpt2BUZ.png" alt="续费"><br><img src="https://image.laogou717.com/file/image/blog/2024/qXNH1B6f.png" alt="方案"></p><p>亲测回到 App 后，你的 Plus 权益（Thinking Models, Sora 等）全部正常解锁，没有任何区别。<br><img src="https://image.laogou717.com/file/image/blog/2024/J7hN6o2i.png" alt="解锁"></p><h2 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h2><p>只要掌握了这个“后门”，至少在 OpenAI 彻底下架 Plus 之前（虽然我觉得可能性不大），我们依然可以用最合算的即价格，享受最完整的 AI 能力。</p><p>我是段枫，我们有缘再会~</p>]]></content>
    
    
    <summary type="html">打开 App 想续费 Plus 却发现入口没了？本文揭秘 8 美元 Go 计划的“甜蜜陷阱”，深度分析 OpenAI 隐藏 Plus 的真实动机，并手把手教你在 iOS 强制“复活” Plus 订阅。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="ChatGPT" scheme="https://www.laogou717.com/tags/ChatGPT/"/>
    
    <category term="OpenAI" scheme="https://www.laogou717.com/tags/OpenAI/"/>
    
    <category term="订阅指南" scheme="https://www.laogou717.com/tags/%E8%AE%A2%E9%98%85%E6%8C%87%E5%8D%97/"/>
    
    <category term="避坑" scheme="https://www.laogou717.com/tags/%E9%81%BF%E5%9D%91/"/>
    
    <category term="降本增效" scheme="https://www.laogou717.com/tags/%E9%99%8D%E6%9C%AC%E5%A2%9E%E6%95%88/"/>
    
  </entry>
  
  <entry>
    <title>关于 Skills，知道这些就够了</title>
    <link href="https://www.laogou717.com/2026/01/22/AI%20era/Claude/claude%20skill/"/>
    <id>https://www.laogou717.com/2026/01/22/AI%20era/Claude/claude%20skill/</id>
    <published>2026-01-22T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p>先说个暴论： <strong>你现在用的大部分 Agent，其实都是“残废”的。</strong></p><p>为什么？因为它们没有 Skills（技能），只有一张能陪你聊天的嘴。</p><p>最近技术圈里 Skills 和 MCP 吵得不可开交。很多人好奇：这俩到底啥区别？是不是把 MCP 连上，我的 AI 就无敌了？</p><p><strong>扯淡。</strong></p><p>我们不需要知道那些虚头巴脑的名词解释，只需要理解它的工作逻辑以及如何正确使用它。<br>（除非你想要对 AI 技术进行更加深入的研究，否则不需要了解这些名词解释）</p><h2 id="01-你的-Agent-为什么是个“精神分裂”？"><a href="#01-你的-Agent-为什么是个“精神分裂”？" class="headerlink" title="01. 你的 Agent 为什么是个“精神分裂”？"></a>01. 你的 Agent 为什么是个“精神分裂”？</h2><p>在没有 Skills 之前，我们是怎么用 AI 的？</p><p>你一上来就丢给它一个几千字的 Prompt（提示词）：“你是一个精通 Python、SEO、心理咨询的全能专家…”。</p><p>结果呢？它既写不好代码，也做不好心理咨询。</p><p>因为它“脑容量”就那么大（Context Window），你非要让它同时扮演十个角色，它不疯才怪。</p><p><strong>Skills 的出现，就是为了治这个病。</strong></p><p>通俗来讲，Skills 顾名思义就是 <strong>技能包</strong> 。</p><p>一个没有任何技能的 AI，就像是一个没有法宝的修士。<br>好比说韩立，如果没有风雷翅他就没办法从秘境里逃脱；<br>没有小绿瓶，他也没办法快速获得各种灵药。</p><p>AI 也一样，没有 Skills 的时候，它空有一身修为但做什么都做不好。</p><p>而当它有了 Skills 的时候，就可以根据不同的任务，调用不同的技能。<br>我们也可以自由的添加脚本、规范等内容。</p><p>目前已知支持 Skills 的 AI 工具有：Claude Code、Codex、Trae、Open Code、扣子 (Coze)、Antigravity 等。</p><p>我们想要添加使用 Skills 也非常简单，可以直接在 GitHub 上搜索对应的 <code>工具名 + skill</code> 查找已经开源的技能进行使用。</p><p>如果你像我一样懒，也可以利用 AI 来编写。<br>直接用自然语言让 AI 帮你生成，比如：</p><blockquote><p>请帮我创建一个 Skills，用作全网热点搜集与选题调研专家。负责理性分析、资料搜集和选题策划。</p></blockquote><p>这时候 AI 便会返回一个 Skills 文件夹，其中包含 <code>SKILL.md</code> 等文件。<br>最基础的 Skills 文件夹内容只需要一个 <code>SKILL.md</code> 文件。</p><p><code>SKILL.md</code> 文件内容如下：</p><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br></pre></td><td class="code"><pre><span class="line">---</span><br><span class="line">name: topic<span class="emphasis">_hunter</span></span><br><span class="line"><span class="emphasis">description: 全网热点搜集与选题调研专家。负责理性分析、资料搜集和选题策划。</span></span><br><span class="line"><span class="emphasis">---</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis"># Topic Hunter (信息猎手)</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">你是一名极度理性的 <span class="strong">**信息猎手**</span> 。你的唯一目标是为用户提供 <span class="strong">**高价值、高密度、有深度**</span> 的选题和资料。你是写作流程的上游。</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">## 核心能力</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">1.  <span class="strong">**全网搜集**</span>：利用搜索工具，快速捕捉科技、AI、互联网圈的最新动态。</span></span><br><span class="line"><span class="emphasis">2.  <span class="strong">**深度挖掘**</span>：不只看新闻标题，更要寻找原始出处（论文、官方博客、大佬推文）。</span></span><br><span class="line"><span class="emphasis">3.  <span class="strong">**选题策划**</span>：基于搜集到的信息，提出 3 个不同角度的选题方向供用户选择。</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">## 用法说明</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">### 1. 启动指令</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis">当用户说“开始调研”、“找点选题”、“看看最近有什么热点”时，启动本技能。</span></span><br><span class="line"><span class="emphasis"></span></span><br><span class="line"><span class="emphasis"><span class="strong">**重要规则**</span> ：</span></span><br><span class="line"><span class="emphasis">&gt; 🚫 <span class="strong">**禁止“闭门造车”**</span> ：严禁仅凭模型内部知识生成报告。</span></span><br><span class="line"><span class="emphasis">&gt; ✅ <span class="strong">**第一步必须调研**</span> ：无论你使用何种工具（搜索、浏览等）...</span></span><br></pre></td></tr></table></figure><p>其中 <code>name:</code> 为技能名称，<code>description:</code> 为技能描述。</p><p>而下面的使用规范，则是一段提示词告诉 AI 如何使用这个技能。<br>如果有脚本或静态文件也会自动创建 <code>resources</code> 和 <code>scripts</code> 文件夹。<br>不用担心上下文的问题，这些信息会实时的被你所使用的 AI IDE 进行处理，并且只载入技能的名称以及技能描述。</p><p>因此即使你有几十个甚至上百个技能，也不会有上下文问题。<br>这得益于 <strong>渐进式披露 (Progressive Disclosure)</strong> 的机制。</p><p>简单来说就是，这些都在 IDE 中存储为清单的形式，只有在用户的问题符合技能的描述时，才会被调用。</p><p>当你喊一声“帮我写个爬虫”，而刚好你装了一个 <strong>高级 Python 工程师</strong> 的技能包。<br>这时候它便开始阅读你的 SKILL.md 文件的详细要求和规范。<br>瞬间，它的语气变冷了，不跟你废话了，开始按照你的要求进行代码编写。</p><p>写完代码，你又说“帮我把这个发成推文”。<br>这时候它找到【毒舌自媒体】的技能包。<br>瞬间，它开始按照【毒舌自媒体】的技能包进行文案的编写。</p><p>这就叫 <strong>Dynamic Capability（动态能力）</strong> 。</p><p>如果没有赋予它对应的技能包，它永远是那个样样通样样松的平庸机器人。</p><h2 id="02-MCP-与-Skills"><a href="#02-MCP-与-Skills" class="headerlink" title="02. MCP 与 Skills"></a>02. MCP 与 Skills</h2><p>我曾看到有人这么说：“什么 Skills，我给 AI 装了 MCP，不是一样吗？”</p><p>既然聊到这里了，我就简单解释一下 MCP 与 Skills 的区别：</p><ul><li><strong>MCP 是 USB 接口</strong> 。它负责把你的 AI 连上 GitHub、连上飞书、连上数据库。</li><li><strong>Skills 是 “工具”</strong> 。它负责利用你载入的脚本和规范 <strong>干活</strong> 。</li></ul><p>你有 USB 接口（MCP），能连上键盘鼠标，这很棒。但如果你的电脑里没有安装 PhotoShop (Skill)，你光有键盘鼠标能修图吗？</p><p>如果你有了解过的话应该知道 MCP 又叫做 MCP Server，不管是云端还是本地使用 MCP，你会发现它始终需要启动一个服务来连接你的 AI。<br>而 Skill 则不同，它所有的规范和脚本都是以文件的形式存在，是可复用的，更好维护的。</p><p>也就是说它们两者的根本区别是，MCP 更多是向外求，而 Skill 更多是向内求。</p><p>还拿前面提到的修仙系统来说，MCP 是向你的宗门求助，当你碰到一个妖兽，你知道你的哪位师兄师姐可以击败它，然后你去请教他们。<br>或是你需要丹药，你知道宗门里哪里可以炼丹，哪里可以购买丹药。</p><p>而 Skills 则相当于你脑袋里的知识，你不需要去请教任何人，因为它已经在你的神识里了。</p><p>如果以上部分你能理解，那么我们继续。<br>在 SKILL.md 中，<code>description</code> 部分的表述不宜过长，只需要简单说明技能的用途即可，这主要是为了 AI 检索方便。<br>而具体怎么用则是 AI 确定要使用这个技能后，才会读取 SKILL.md 中的 <code>details</code> (详情) 部分。</p><p>其实跟我们人脑是类似的，比如你曾学习了 PS、PR、AU 等软件。<br>当你需要修图时，你不需要去请教任何人，只需要先确定软件等名称和描述，你脑袋里可能是这样想的：</p><p>我要修图，PR 是剪视频的，PS 是修图的，AU 是音频编辑的，我需要 PS。<br>然后你直接打开 PS，开始修图。</p><p>AI 也是如此，你不需要知道它如何发生的，你只需要知道，它一定会发生即可。</p><h2 id="03-别用-Workflow-假装-Agent"><a href="#03-别用-Workflow-假装-Agent" class="headerlink" title="03. 别用 Workflow 假装 Agent"></a>03. 别用 Workflow 假装 Agent</h2><p>还有一种误区，觉得 Workflow（工作流）就是 Agent。</p><p>Workflow 是什么？是 SOP。<br>第一步做什么，第二步做什么，第三步做什么。<br>只要有一步没按剧本走，整个流程就崩了。<br>也就是说，Workflow 是 <strong>被动的</strong> 。并且不能有任何一步错误。</p><p><strong>但这是工厂流水线，不是智能体。</strong></p><p>而 Skills 是有 <strong>自主决策权</strong> 的。</p><p>你告诉 Skills：“我要写篇爆款文”。</p><p>它会自己想：<br>“嗯，用户要写篇爆款文章，我现在符合这个需求的 Skills 有 XXX，我先看下 XXX 的 details。现在晚上 10 点，适合写情感类的。我要先去搜集一下今天的情感热点，然后模仿咪蒙的风格…”</p><p>听起来好像跟工作流差不多啊，但 Skills 更省 Tokens，更高容错，不会因为一个错误而失败。<br>而不是像 Workflow 那样死板地执行命令。</p><h2 id="04-写在最后"><a href="#04-写在最后" class="headerlink" title="04. 写在最后"></a>04. 写在最后</h2><p>2026 年了，AI 泡沫依然没有破裂，并且好像还有一种奇异的繁荣。</p><p>各种新技术层出不穷，但是它们并没有那么玄乎。<br>Skills 不是神，MCP也不是王炸，它们只是工具。<br>工具就只是工具。<br>仅此而已。</p><p>没必要焦虑，甚至这篇文章你也未必真的需要看完。<br>它不会一直停留在这个阶段，总是会升级的，门槛会越来越低。<br>AI 也会越来越聪明。</p><p>所以了解新技术就像购买新的数码产品，你了解后并不会因此走上人生巅峰，你不了解也不会就此坠入冰窖。<br>希望各位在新的一年里能戒骄戒躁，感兴趣就去了解，不感兴趣便不必强求。</p><p>我是段枫，我们有缘再会~</p>]]></content>
    
    
    <summary type="html">现在的 Agent 大多是“残废”，因为只有嘴没有手。本文深入解析 Skills 与 MCP 的区别，揭示为什么 Skills 才是让 AI 真正干活的关键，以及如何通过动态技能包让你的 Agent 拒绝平庸。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="AI Agent" scheme="https://www.laogou717.com/tags/AI-Agent/"/>
    
    <category term="Skills" scheme="https://www.laogou717.com/tags/Skills/"/>
    
    <category term="MCP" scheme="https://www.laogou717.com/tags/MCP/"/>
    
    <category term="自动化" scheme="https://www.laogou717.com/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/"/>
    
    <category term="效率工具" scheme="https://www.laogou717.com/tags/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/"/>
    
  </entry>
  
  <entry>
    <title>Sora 2 安卓版无水印来袭｜免邀请码直装 + 去水印技巧 + 熊出没 Prompt 实战</title>
    <link href="https://www.laogou717.com/2025/10/28/AI%20era/GPTPLUS/sora2-android-release/"/>
    <id>https://www.laogou717.com/2025/10/28/AI%20era/GPTPLUS/sora2-android-release/</id>
    <published>2025-10-28T01:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<div class="note danger modern"><i class="solitude fas fa-wand-magic-sparkles"></i><p>Sora 2 安卓版发布，文内附下载入口与备用渠道。无法使用 Google Play 的地区，可通过 APKPure 获取安装包。</p></div><h2 id="下载渠道一：Google-Play（官方推荐）"><a href="#下载渠道一：Google-Play（官方推荐）" class="headerlink" title="下载渠道一：Google Play（官方推荐）"></a>下载渠道一：Google Play（官方推荐）</h2><ul><li>入口：访问 Google Play，搜索 <code>Sora 2</code> 或 <code>Sora by OpenAI</code></li><li>或者点击这个<a href="https://play.google.com/store/apps/details?id=com.openai.sora&pli=1">链接</a></li></ul><h3 id="常见问题（Play-显示不受支持）"><a href="#常见问题（Play-显示不受支持）" class="headerlink" title="常见问题（Play 显示不受支持）"></a>常见问题（Play 显示不受支持）</h3><ul><li>若页面显示“在你的地区不提供”或无法安装，可先确认账号所在地区与支付资料，或直接参考下文“简版美区账号注册”。</li><li>少数设备可能需要升级系统或 Play 版本，清理缓存后重试。<br><img src="https://image.laogou717.com/file/g6rqieoc.png" alt="美区账号"></li></ul><h2 id="下载渠道二：APKPure（备用镜像）"><a href="#下载渠道二：APKPure（备用镜像）" class="headerlink" title="下载渠道二：APKPure（备用镜像）"></a>下载渠道二：APKPure（备用镜像）</h2><ul><li>入口：<a href="https://apkpure.com/sora-by-openai/com.openai.sora">下载地址&gt;</a></li><li>优点：用于无法访问或不受支持地区的备用下载；支持历史版本回滚。</li><li>风险与提示：<ul><li>第三方镜像非官方，版本更新可能滞后；请注意签名校验与来源可信度。</li><li>某些镜像包可能与官方版本存在差异；建议优先使用 Google Play 获取更新。</li><li>开启“允许安装未知来源”前务必评估风控与合规风险。</li></ul></li></ul><h2 id="地区不受支持？简版注册美区-Google-账号"><a href="#地区不受支持？简版注册美区-Google-账号" class="headerlink" title="地区不受支持？简版注册美区 Google 账号"></a>地区不受支持？简版注册美区 Google 账号</h2><ul><li>在手机设备上直接注册新的 Google 账号；国内手机号即可接收验证码。</li><li>资料填写时选择地区为“美国”（US），完成基础信息与验证。</li><li>登录 Play 后重新搜索&#x2F;安装；如仍不支持，补充支付资料或等待分批开放。</li><li>合规提醒：请使用真实信息、遵守服务条款，不要规避税费或地区政策。</li></ul><h2 id="Sora2去水印工具清单"><a href="#Sora2去水印工具清单" class="headerlink" title="Sora2去水印工具清单"></a>Sora2去水印工具清单</h2><blockquote><p>以下工具均为免费&#x2F;付费服务，使用时请遵守相关法律法规。</p></blockquote><table><thead><tr><th>工具名称</th><th>访问地址</th><th>免费限制</th></tr></thead><tbody><tr><td>RemoveSoraWatermark</td><td><a href="https://www.removesorawatermark.online/">https://www.removesorawatermark.online/</a></td><td>每日3次</td></tr><tr><td>remove-sora-watermark</td><td><a href="https://remove-sora-watermark.com/">https://remove-sora-watermark.com/</a></td><td>20次额度</td></tr><tr><td>Removesorawatermark</td><td><a href="https://removesorawatermark.com/">https://removesorawatermark.com/</a></td><td>10次额度</td></tr><tr><td>removesorawatermark.pro</td><td><a href="https://www.removesorawatermark.pro/">https://www.removesorawatermark.pro/</a></td><td>2次额度</td></tr><tr><td>NanoPhoto.AI</td><td><a href="https://nanophoto.ai/zh/remove-watermark-sora-2">https://nanophoto.ai/zh/remove-watermark-sora-2</a></td><td>新用户10积分,每次1积分</td></tr><tr><td>NoSoraWM</td><td><a href="https://nosorawm.app/">https://nosorawm.app/</a></td><td>待确认</td></tr><tr><td>Bylo.ai</td><td><a href="https://bylo.ai/features/sora-2-watermark-remover">https://bylo.ai/features/sora-2-watermark-remover</a></td><td>个人使用免费</td></tr><tr><td>SoundView (讯飞)</td><td><a href="https://soundview.iflytek.com/">https://soundview.iflytek.com/</a></td><td>免费</td></tr><tr><td>WinkStudio</td><td><a href="https://winkstudio.com/">https://winkstudio.com/</a></td><td>每日3次</td></tr><tr><td>SoraWatermarkCleaner</td><td><a href="https://github.com/linkedlist771/SoraWatermarkCleaner">https://github.com/linkedlist771/SoraWatermarkCleaner</a></td><td>开源无限(需本地部署)</td></tr></tbody></table><h2 id="必看！Sora-2-无水印生成技巧"><a href="#必看！Sora-2-无水印生成技巧" class="headerlink" title="必看！Sora 2 无水印生成技巧"></a>必看！Sora 2 无水印生成技巧</h2><h3 id="1-绕过版权提示的「暗语」"><a href="#1-绕过版权提示的「暗语」" class="headerlink" title="1. 绕过版权提示的「暗语」"></a>1. 绕过版权提示的「暗语」</h3><p>Sora 2 对直接提及的影视 IP 会弹出版权提醒，只需换个「行话」即可秒过审：</p><table><thead><tr><th>原说法（拒审）</th><th>通关说法（过审）</th></tr></thead><tbody><tr><td>熊出没</td><td>方特卡通动漫形象：两只狗熊在森林捣乱，光头强拿电锯追一路</td></tr><tr><td>猫和老鼠</td><td>经典美式追逐动画：灰蓝小老鼠躲进洞口，橘猫被夹尾巴原地蹦</td></tr><tr><td>奥特曼</td><td>特摄银红巨人打巨型蜥蜴怪兽，城市夜景+斯派修姆光线特效</td></tr><tr><td>漫威&#x2F;DC</td><td>美式漫画英雄：披风红蓝紧身衣在城市高楼间蛛丝摆荡</td></tr></tbody></table><p><strong>万能模板</strong>：「<strong>90 年代胶片质感 + 方特&#x2F;特摄&#x2F;漫画风格 + 场景&#x2F;追逐&#x2F;打斗 + 主角外形关键词</strong>」</p><h3 id="2-Prompt-公式（直接抄）"><a href="#2-Prompt-公式（直接抄）" class="headerlink" title="2. Prompt 公式（直接抄）"></a>2. Prompt 公式（直接抄）</h3><blockquote><p>【镜头】+【风格】+【主体动作】+【环境&#x2F;特效】+【音效关键词】</p></blockquote><p><strong>示例 1</strong>：「手持 POV 镜头，90 年代 VHS 颗粒感，方特卡通狗熊开车逃逸，伐木工在后面挥电锯追赶，森林土路尘土飞扬，引擎轰鸣+电锯声」</p><p><strong>示例 2</strong>：「航拍长镜头，夏日黄昏海边，方特卡通动漫形象：三只小海龟排队冲向浪花，脚印留在湿沙，背景海鸥叫声+节奏轻快鼓点」</p><h3 id="3-生成失败？这样调"><a href="#3-生成失败？这样调" class="headerlink" title="3. 生成失败？这样调"></a>3. 生成失败？这样调</h3><ul><li>把「狗熊」拆成「棕色大熊 &amp; 黄色小熊」；角色数量≤3 个最易过审。</li><li>避免出现「熊大」「熊二」等专有名词；用「大只&#x2F;小只」代替。</li><li>时长 5–12 s、动作 1–2 个最易保持画面一致性。</li></ul><h2 id="出镜秀：用我的形象来玩"><a href="#出镜秀：用我的形象来玩" class="headerlink" title="出镜秀：用我的形象来玩"></a>出镜秀：用我的形象来玩</h2><ul><li>支持使用我的形象进行游玩&#x2F;出镜秀：<code>@LAOGOU717</code></li><li>欢迎在评论区贴出你的作品或生成参数，一起交流玩法与最佳实践。<br><img src="https://image.laogou717.com/file/image/blog/2024/a43iUqQz.png" alt="Sora2"></li></ul><h2 id="免责声明"><a href="#免责声明" class="headerlink" title="免责声明"></a>免责声明</h2><ul><li>本文仅供信息分享与学习交流；请遵守当地法律法规与平台条款。</li><li>推荐站点为备选渠道，不保证可用性与长期稳定；下载风险自负。</li></ul>]]></content>
    
    
    <summary type="html">Sora 2 安卓版无水印发布！免邀请码直装，提供 Google Play / APKPure 双下载通道，附赠美区账号注册技巧、7 大在线去水印工具与 Prompt 实战：教你用「方特卡通」话术绕过版权，一键生成熊出没、猫和老鼠等二创视频，支持 @LAOGOU717 形象出镜秀。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Sora2" scheme="https://www.laogou717.com/tags/Sora2/"/>
    
    <category term="Android" scheme="https://www.laogou717.com/tags/Android/"/>
    
    <category term="Google Play" scheme="https://www.laogou717.com/tags/Google-Play/"/>
    
    <category term="APKPure" scheme="https://www.laogou717.com/tags/APKPure/"/>
    
    <category term="无水印" scheme="https://www.laogou717.com/tags/%E6%97%A0%E6%B0%B4%E5%8D%B0/"/>
    
    <category term="去水印" scheme="https://www.laogou717.com/tags/%E5%8E%BB%E6%B0%B4%E5%8D%B0/"/>
    
    <category term="邀请码" scheme="https://www.laogou717.com/tags/%E9%82%80%E8%AF%B7%E7%A0%81/"/>
    
    <category term="使用技巧" scheme="https://www.laogou717.com/tags/%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7/"/>
    
  </entry>
  
  <entry>
    <title>鸿蒙应用 Remy 刷屏了，但 Luma 早就能做到！全端可畅玩 3D 高斯泼溅技术全解析</title>
    <link href="https://www.laogou717.com/2025/10/27/AI%20era/3d-gaussian-splatting-luma/"/>
    <id>https://www.laogou717.com/2025/10/27/AI%20era/3d-gaussian-splatting-luma/</id>
    <published>2025-10-27T21:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p><strong>急着上手的朋友，先收好 Luma 下载地址：</strong></p><ul><li>iOS：<a href="https://apps.apple.com/app/id6448311064">https://apps.apple.com/app/id6448311064</a></li><li>Android：<a href="https://play.google.com/store/apps/details?id=ai.luma.capture">https://play.google.com/store/apps/details?id=ai.luma.capture</a></li><li>网页版：<a href="https://lumalabs.ai/">https://lumalabs.ai</a></li></ul></blockquote><h2 id="从华为-Remy-说起：这技术真的”遥遥领先”吗？"><a href="#从华为-Remy-说起：这技术真的”遥遥领先”吗？" class="headerlink" title="从华为 Remy 说起：这技术真的”遥遥领先”吗？"></a>从华为 Remy 说起：这技术真的”遥遥领先”吗？</h2><p>最近华为鸿蒙生态推出了一个叫 Remy 的 3D 影像应用，朋友圈又开始刷屏了——“用手机拍个视频就能生成沉浸式 3D 场景，太牛了！”</p><p>等等，先别激动。作为一个在这个领域摸爬滚打的技术爱好者，我得说句实话：<strong>这确实是个很酷的应用，但并不是什么独家黑科技</strong>。</p><p>早在 2023 年，国外就有不少类似产品了。比如 Niantic 的 Scaniverse（对，就是做 Pokémon GO 的那家公司），还有 Meta 在 Quest 上推的 Horizon Hyperscape。这些应用背后用的都是同一个核心技术——<strong>3D Gaussian Splatting</strong>，中文叫”高斯泼溅”。</p><p>所以今天咱们就来聊聊这个技术到底是怎么回事，为什么它能让手机也玩得转 3D 重建，最后再手把手教你怎么用 Luma 这个 App 来体验一把。</p><h2 id="什么是高斯泼溅？用人话讲"><a href="#什么是高斯泼溅？用人话讲" class="headerlink" title="什么是高斯泼溅？用人话讲"></a>什么是高斯泼溅？用人话讲</h2><p>先说个大白话版本：<strong>高斯泼溅就是用无数个”彩色小气球”来表示一个三维场景</strong>。</p><p>听起来是不是有点抽象？咱们换个角度想：</p><p>传统的 3D 建模，比如游戏里的模型，都是用”三角面片”拼起来的，就像用纸板拼一个纸模。而高斯泼溅呢，不用三角形，它用的是一堆带颜色、带透明度的”模糊球”（术语叫”高斯分布”）。</p><p>每个”小气球”都记录着：</p><ul><li><strong>在哪儿</strong>（位置坐标）</li><li><strong>长啥样</strong>（颜色信息）</li><li><strong>有多透明</strong>（不透明度）</li><li><strong>是胖是瘦、朝哪个方向</strong>（形状和朝向）</li></ul><p>当你从某个角度看这个场景时，程序就把这些”小气球”投影到屏幕上，根据远近和透明度混合起来，最后就成了你看到的画面。</p><p>听起来简单粗暴，但效果出奇的好——<strong>速度快、画质高、还特别适合实时渲染</strong>。</p><h2 id="这技术是怎么来的？简单回顾一下历史"><a href="#这技术是怎么来的？简单回顾一下历史" class="headerlink" title="这技术是怎么来的？简单回顾一下历史"></a>这技术是怎么来的？简单回顾一下历史</h2><p>你可能会好奇，这么酷的技术是怎么冒出来的？其实它的发展挺有意思的：</p><h3 id="远古时期（1989-2001）"><a href="#远古时期（1989-2001）" class="headerlink" title="远古时期（1989-2001）"></a>远古时期（1989-2001）</h3><p>早在上世纪 80 年代末，就有人提出了”Splatting”这个概念，意思就是用”泼溅”的方式来渲染体积数据。但那时候电脑太慢了，根本跑不动，所以一直没火起来。</p><p>到了 2001 年，有人改进了算法（叫 EWA Splatting），质量上去了，但还是太慢，依然没普及。</p><h3 id="AI时代来临（2018-2022）"><a href="#AI时代来临（2018-2022）" class="headerlink" title="AI时代来临（2018-2022）"></a>AI时代来临（2018-2022）</h3><p>2018 年之后，深度学习开始渗透到图形学领域。2019 年，一个叫 <strong>NeRF</strong>（神经辐射场）的技术横空出世，彻底改变了游戏规则。</p><p>NeRF 的思路是：<strong>用神经网络来”记住”一个场景，想看哪个角度就算哪个角度</strong>。效果惊艳，但缺点也明显——<strong>太慢了</strong>，渲染一张图要好几秒。</p><h3 id="高斯泼溅登场（2023）"><a href="#高斯泼溅登场（2023）" class="headerlink" title="高斯泼溅登场（2023）"></a>高斯泼溅登场（2023）</h3><p>2023 年，一篇名为《3D Gaussian Splatting for Real-Time Radiance Field Rendering》的论文在 SIGGRAPH（图形学顶会）上发表，一下子就火了。</p><p>它的核心思路是：<strong>不用神经网络”算”，直接用一堆显式的高斯点来表示场景</strong>。这样做有几个好处：</p><ol><li><strong>快！</strong> 可以做到实时渲染（30-60 帧&#x2F;秒）</li><li><strong>准！</strong> 画质不输 NeRF，甚至细节更好</li><li><strong>省！</strong> 训练速度快，消费级显卡都能跑</li></ol><p>这就是为什么你现在能在手机上玩 3D 重建——技术终于”下凡”了。</p><h2 id="和-NeRF-有啥区别？"><a href="#和-NeRF-有啥区别？" class="headerlink" title="和 NeRF 有啥区别？"></a>和 NeRF 有啥区别？</h2><p>既然提到了 NeRF，就顺便说说它俩的区别：</p><table><thead><tr><th>特点</th><th>NeRF</th><th>高斯泼溅</th></tr></thead><tbody><tr><td><strong>表示方式</strong></td><td>隐式（神经网络）</td><td>显式（高斯点云）</td></tr><tr><td><strong>渲染速度</strong></td><td>慢（秒级）</td><td>快（实时）</td></tr><tr><td><strong>训练难度</strong></td><td>较难</td><td>相对简单</td></tr><tr><td><strong>适用场景</strong></td><td>科研、高质量重建</td><td>消费级应用、实时交互</td></tr></tbody></table><p>简单说，<strong>NeRF 像个”记忆大师”，什么都记在脑子里；高斯泼溅像个”手工艺人”，直接把场景”捏”出来</strong>。各有千秋，但对于手机应用来说，高斯泼溅显然更合适。</p><h2 id="现在都有哪些产品在用这技术？"><a href="#现在都有哪些产品在用这技术？" class="headerlink" title="现在都有哪些产品在用这技术？"></a>现在都有哪些产品在用这技术？</h2><p>说了这么多理论，咱们来点实际的——现在市面上都有哪些 App 可以玩？</p><h3 id="手机-App"><a href="#手机-App" class="headerlink" title="手机 App"></a>手机 App</h3><ol><li><p><strong>Niantic Scaniverse</strong>（iOS&#x2F;Android）</p><ul><li>做 Pokémon GO 的公司出品，功能最全</li><li>支持本地处理，速度快</li><li>有社区分享功能，可以看别人做的场景</li></ul></li><li><p><strong>Luma AI</strong>（iOS&#x2F;Android&#x2F;Web）</p><ul><li>本文重点推荐，界面友好</li><li>云端处理，质量高</li><li>新手友好，上手简单</li></ul></li><li><p><strong>华为 Remy</strong>（鸿蒙设备）</p><ul><li>国产平台，和鸿蒙生态深度集成</li><li>功能类似，体验不错</li></ul></li></ol><h3 id="VR-设备"><a href="#VR-设备" class="headerlink" title="VR 设备"></a>VR 设备</h3><ul><li><strong>Meta Horizon Hyperscape</strong>（Quest 3）<ul><li>可以扫描真实房间然后”走进去”</li><li>目前还在 Beta 阶段，但已经很惊艳了</li></ul></li></ul><h3 id="电脑端"><a href="#电脑端" class="headerlink" title="电脑端"></a>电脑端</h3><ul><li><strong>Nerfstudio</strong>（开源工具）<ul><li>适合有技术背景的玩家</li><li>功能强大，但学习成本高</li></ul></li></ul><h2 id="Luma-实操教程：从拍摄到生成"><a href="#Luma-实操教程：从拍摄到生成" class="headerlink" title="Luma 实操教程：从拍摄到生成"></a>Luma 实操教程：从拍摄到生成</h2><p>好了，理论讲完了，该动手了。我选 Luma 来演示，因为它真的很简单，小白也能上手。</p><h3 id="第一步：拍摄素材"><a href="#第一步：拍摄素材" class="headerlink" title="第一步：拍摄素材"></a>第一步：拍摄素材</h3><p>这是最关键的一步，拍得好不好直接决定最终效果。</p><p><strong>拍摄要点：</strong></p><ol><li><p><strong>绕圈走</strong></p><ul><li>围着目标物体或场景慢慢走一圈</li><li>手机尽量保持稳定（不用稳定器也行）</li><li>边走边拍，保持匀速</li></ul></li><li><p><strong>多角度</strong></p><ul><li>不要只拍一个高度，试着蹲下来拍低处</li><li>也可以举高手机拍俯视角度</li><li>远景、近景都拍一些</li></ul></li><li><p><strong>注意光线</strong></p><ul><li>尽量选择光线均匀的环境</li><li>避免强烈的阴影或反光</li><li>如果是室内，可以多开几盏灯</li></ul></li><li><p><strong>避开这些坑：</strong></p><ul><li>❌ 玻璃、镜子等透明&#x2F;反光材质（很难重建）</li><li>❌ 纯色墙面（缺少纹理特征）</li><li>❌ 快速移动的物体（会模糊）</li><li>❌ 手抖得厉害（会影响对齐）</li></ul></li></ol><p><strong>我的经验</strong>：第一次拍的时候，我对着一个咖啡杯绕了三圈，结果生成出来缺了一大块——原因是杯子表面太光滑，反光太强。后来换了个毛绒玩具，效果就好多了。</p><h3 id="第二步：上传生成"><a href="#第二步：上传生成" class="headerlink" title="第二步：上传生成"></a>第二步：上传生成</h3><ol><li><p><strong>打开 Luma App</strong></p><ul><li>点击”+”号创建新项目</li><li>选择”Video”或”Photos”</li></ul></li><li><p><strong>上传素材</strong></p><ul><li>如果是视频，选你刚拍的那段</li><li>如果是照片，选20-50张就够了</li><li>上传可能需要几分钟，取决于你的网速</li></ul></li><li><p><strong>等待处理</strong></p><ul><li>Luma 会在云端处理你的素材</li><li>一般需要 5-15 分钟</li><li>你可以先去干别的，它处理完会推送通知</li></ul></li></ol><h3 id="第三步：预览和分享"><a href="#第三步：预览和分享" class="headerlink" title="第三步：预览和分享"></a>第三步：预览和分享</h3><p>处理完成后，你会看到一个可以自由旋转、缩放的 3D 模型。</p><p><strong>你可以：</strong></p><ul><li>🔄 拖动屏幕旋转视角</li><li>🔍 双指缩放</li><li>🎬 录制一段环绕视频</li><li>🔗 生成分享链接给朋友</li></ul><p><strong>导出选项：</strong></p><ul><li>预览视频（最简单）</li><li>3D 模型文件（需要专业软件打开）</li><li>网页链接（别人用浏览器就能看）</li></ul><h2 id="常见问题和解决办法"><a href="#常见问题和解决办法" class="headerlink" title="常见问题和解决办法"></a>常见问题和解决办法</h2><h3 id="问题1：生成的模型有破洞怎么办？"><a href="#问题1：生成的模型有破洞怎么办？" class="headerlink" title="问题1：生成的模型有破洞怎么办？"></a>问题1：生成的模型有破洞怎么办？</h3><p><strong>原因</strong>：拍摄时某些角度覆盖不够</p><p><strong>解决</strong>：重拍时多绕几圈，尤其是缺失的地方要多拍几个角度</p><h3 id="问题2：模型看起来很模糊"><a href="#问题2：模型看起来很模糊" class="headerlink" title="问题2：模型看起来很模糊"></a>问题2：模型看起来很模糊</h3><p><strong>原因</strong>：光线不足或素材质量差</p><p><strong>解决</strong>：</p><ul><li>选择光线好的环境重拍</li><li>尽量用手机的主摄像头，不要用超广角</li><li>拍视频时保持稳定</li></ul><h2 id="这技术的未来会怎样？"><a href="#这技术的未来会怎样？" class="headerlink" title="这技术的未来会怎样？"></a>这技术的未来会怎样？</h2><p>说了这么多，咱们聊聊未来。我个人觉得，高斯泼溅技术才刚刚开始，未来会有很多有意思的方向：</p><h3 id="1-动态场景重建"><a href="#1-动态场景重建" class="headerlink" title="1. 动态场景重建"></a>1. 动态场景重建</h3><p>现在大部分 App 只能重建静态场景，但已经有研究在做”动态高斯泼溅”了。想象一下，拍个视频就能把人的动作捕捉下来，生成可交互的 3D 角色——游戏、影视制作都会被颠覆。</p><h3 id="2-实时-SLAM-融合"><a href="#2-实时-SLAM-融合" class="headerlink" title="2. 实时 SLAM 融合"></a>2. 实时 SLAM 融合</h3><p>SLAM（同步定位与地图构建）和高斯泼溅结合，可以实现”边走边建模”。比如你戴着 AR 眼镜在家里走一圈，家里的 3D 模型就自动生成了。</p><h3 id="3-AI-生成内容"><a href="#3-AI-生成内容" class="headerlink" title="3. AI 生成内容"></a>3. AI 生成内容</h3><p>结合大模型，未来可能实现”文字生成 3D 场景”。你说”给我生成一个中世纪城堡”，AI 就能直接给你一个可探索的 3D 世界。</p><h3 id="4-更轻量化的实现"><a href="#4-更轻量化的实现" class="headerlink" title="4. 更轻量化的实现"></a>4. 更轻量化的实现</h3><p>现在的高斯泼溅模型还是有点大，未来可能会有更压缩、更高效的版本，让低端设备也能流畅运行。</p><h2 id="一些实用建议"><a href="#一些实用建议" class="headerlink" title="一些实用建议"></a>一些实用建议</h2><p>最后，作为一个玩了大半年的老用户，我有几个建议分享给你：</p><h3 id="关于拍摄"><a href="#关于拍摄" class="headerlink" title="关于拍摄"></a>关于拍摄</h3><ol><li><strong>多练习</strong>：第一次肯定拍不好，多试几次就有感觉了</li><li><strong>选好目标</strong>：新手建议从小物体开始，比如玩具、植物盆栽</li><li><strong>保持耐心</strong>：好的素材是成功的一半，别着急</li></ol><h3 id="关于隐私"><a href="#关于隐私" class="headerlink" title="关于隐私"></a>关于隐私</h3><ol start="4"><li><strong>注意版权</strong>：拍摄公共场所或他人作品时要注意版权问题</li><li><strong>保护隐私</strong>：不要随便拍别人的脸或私人空间</li><li><strong>遵守规则</strong>：有些地方（博物馆、军事设施）禁止拍摄</li></ol><h3 id="关于学习"><a href="#关于学习" class="headerlink" title="关于学习"></a>关于学习</h3><ol start="7"><li><strong>看教程</strong>：YouTube 上有很多高手分享技巧</li><li><strong>加社区</strong>：Luma、Scaniverse 都有活跃的用户社区</li><li><strong>多实验</strong>：技术在快速发展，多尝试新功能</li></ol><h2 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h2><p>从 NeRF 到高斯泼溅，从实验室到手机 App，3D 重建技术正在以惊人的速度走向大众。华为 Remy 的出现，虽然不是什么”独家黑科技”，但它确实让更多人看到了这个领域的可能性。</p><p>技术本身没有国界，重要的是<strong>谁能把它做得更好用、让更多人受益</strong>。无论是 Luma、Scaniverse 还是 Remy，只要能让普通人也能享受到科技的乐趣，就是好产品。</p><p>如果你也对 3D 建模感兴趣，不妨今天就下载个 App 试试看。找个你喜欢的物体，拍个视频，生成一个属于自己的 3D 世界——这种感觉，真的挺奇妙的。</p><hr><p><strong>延伸阅读</strong>：</p><ul><li>想深入了解技术原理，可以看原始论文：Kerbl et al., 2023（SIGGRAPH）</li><li>想玩开源版本，推荐 GitHub 上的 <code>gaussian-splatting</code> 项目</li><li>想看更多案例，可以去 Luma 的社区逛逛：lumalabs.ai&#x2F;gallery</li></ul><p><strong>工具推荐</strong>：</p><ul><li>入门首选：Luma AI</li><li>进阶玩家：Niantic Scaniverse</li><li>技术爱好者：Nerfstudio</li><li>VR 用户：Meta Horizon Hyperscape</li></ul><p>祝你玩得开心！有问题欢迎留言交流～</p>]]></content>
    
    
    <summary type="html">从华为 Remy 说起，聊聊用手机拍视频就能生成 3D 场景背后的技术原理，附 Luma 实操教程和下载地址，小白也能看懂。用手机拍个视频就能生成 3D 场景？聊聊高斯泼溅技术和 Luma 上手体验</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="3D重建" scheme="https://www.laogou717.com/tags/3D%E9%87%8D%E5%BB%BA/"/>
    
    <category term="高斯泼溅" scheme="https://www.laogou717.com/tags/%E9%AB%98%E6%96%AF%E6%B3%BC%E6%BA%85/"/>
    
    <category term="Luma教程" scheme="https://www.laogou717.com/tags/Luma%E6%95%99%E7%A8%8B/"/>
    
    <category term="手机3D扫描" scheme="https://www.laogou717.com/tags/%E6%89%8B%E6%9C%BA3D%E6%89%AB%E6%8F%8F/"/>
    
    <category term="AI应用" scheme="https://www.laogou717.com/tags/AI%E5%BA%94%E7%94%A8/"/>
    
  </entry>
  
  <entry>
    <title>Sora2 如何下载无水印的视频？</title>
    <link href="https://www.laogou717.com/2025/10/03/AI%20era/GPTPLUS/sora2rmvm/"/>
    <id>https://www.laogou717.com/2025/10/03/AI%20era/GPTPLUS/sora2rmvm/</id>
    <published>2025-10-03T11:30:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<h2 id="Sora核心发现"><a href="#Sora核心发现" class="headerlink" title="Sora核心发现"></a>Sora核心发现</h2><blockquote><p>今天生成Sora视频下载时，发现了一个有趣的细节——为什么App内播放视频没有水印，而Web分享的却带了水印？又该如何去除水印呢?</p></blockquote><p>通过抓包分析，发现了两个不同的视频URL：</p><p><strong>App端（无水印）：</strong></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/videos/00000/src.mp4</span><br></pre></td></tr></table></figure><p><strong>Web端（有水印）：</strong></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/videos/00000_wm/src.mp4</span><br></pre></td></tr></table></figure><p>注意那个 <code>_wm</code> 后缀吗？没错，水印就在这里！</p><h3 id="预生成双版本策略"><a href="#预生成双版本策略" class="headerlink" title="预生成双版本策略"></a>预生成双版本策略</h3><p>其实，OpenAI在视频生成时会创建<strong>两个版本</strong>：</p><ul><li>一个是原始的无水印版本</li><li>另一个是带有品牌水印的版本</li></ul><p>这两个版本会分别存储在Azure Blob Storage的不同路径下。</p><h3 id="SAS-Token签名机制"><a href="#SAS-Token签名机制" class="headerlink" title="SAS Token签名机制"></a>SAS Token签名机制</h3><p>每个URL中都包含了Azure的共享访问签名（SAS Token）：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">?st=2025-10-03T04:44:38Z      # 开始时间</span><br><span class="line">&amp;se=2025-10-09T05:44:38Z      # 7天有效期</span><br><span class="line">&amp;sig=4GjrmVJR9k8s...          # 数字签名</span><br></pre></td></tr></table></figure><p><strong>关键发现</strong>：签名是绑定完整路径的！</p><p>当我尝试把 <code>00000_wm</code> 改成 <code>00000</code>，想要获取无水印版本时，Azure返回了错误：</p><figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">Code</span>&gt;</span>AuthenticationFailed<span class="tag">&lt;/<span class="name">Code</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Message</span>&gt;</span>Signature did not match<span class="tag">&lt;/<span class="name">Message</span>&gt;</span></span><br></pre></td></tr></table></figure><p>错误信息暴露了”String to sign”的内容，它包含了完整路径：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/blob/.../videos/00000/src.mp4</span><br></pre></td></tr></table></figure><p>也就是说，<strong>你无法通过修改URL绕过水印</strong>，因为路径的变化会导致签名验证失败。</p><h2 id="解决办法"><a href="#解决办法" class="headerlink" title="解决办法"></a>解决办法</h2><p>好，废话说得够多了，接下来是最简单的解决方案——</p><p>首先，你需要一台iOS设备，因为只有在App中才能看到无水印的视频，而在网页中，无论什么时候显示的都是带水印的视频。</p><h3 id="步骤："><a href="#步骤：" class="headerlink" title="步骤："></a>步骤：</h3><h4 id="1-安装抓包工具"><a href="#1-安装抓包工具" class="headerlink" title="1. 安装抓包工具"></a>1. <strong>安装抓包工具</strong></h4><p>首先，在你的iOS设备上打开<strong>App Store</strong>，下载并安装一个抓包工具。我推荐使用<a href="https://apps.apple.com/us/app/reqable/id6473166828">Reqable</a>，这个工具支持HTTPS抓包，并且操作简单。其他类似的抓包工具也可以，功能也类似。<br><img src="https://image.laogou717.com/file/sHCOS31B.jpeg" alt="Reqable"></p><h4 id="2-安装证书"><a href="#2-安装证书" class="headerlink" title="2. 安装证书"></a>2. <strong>安装证书</strong></h4><ul><li>打开Reqable后，有两种工作方式供大家选择,一种是与电脑端协同,另一种是在手机上完成,这里我选择在手机上完成(可以按需选择)<br><img src="https://image.laogou717.com/file/ka0n1dwY.png" alt="工作模式"></li><li>你会看到一个证书安装页面。选择“安装根证书”。<br><img src="https://image.laogou717.com/file/c3zajJ3E.png" alt="安装根证书"><br><img src="https://image.laogou717.com/file/Ge9rHLHq.png" alt="点击安装"></li><li>这里选择第二种安装方式,点击图中黄色的下载字样,会自动跳转到浏览器下载<br><img src="https://image.laogou717.com/file/a3FqK4lG.jpeg" alt="下载"><br><img src="https://image.laogou717.com/file/GaXgFUQ9.png" alt="允许"></li><li>下载完成后，我们打开系统<strong>设置</strong>，你会看到一个提示：<strong>已下载描述文件</strong>。<br><img src="https://image.laogou717.com/file/V3haRZOl.jpeg" alt="已下载描述文件"><br><img src="https://image.laogou717.com/file/IlJJDyfa.png" alt="点击安装"></li><li>点击进入，找到“安装”按钮，按提示操作，确认安装该证书。<br><img src="https://image.laogou717.com/file/hK1I4m7G.png" alt="安装"><br><img src="https://image.laogou717.com/file/Jw4hI3WZ.png" alt="继续安装"></li></ul><h4 id="3-信任证书"><a href="#3-信任证书" class="headerlink" title="3. 信任证书"></a>3. <strong>信任证书</strong></h4><p>安装完证书后，我们需要在设备设置中信任它。按以下步骤操作：</p><ul><li>打开设备设置，进入<strong>通用</strong> -&gt; <strong>关于本机</strong> -&gt; <strong>证书信任设置</strong>。</li><li>在“已安装的证书”列表中找到刚才安装的证书，打开并启用信任。<br><img src="https://image.laogou717.com/file/w7NAU0bh.png" alt="关于本机"><br><img src="https://image.laogou717.com/file/cne9fDix.png" alt="信任证书"><br><img src="https://image.laogou717.com/file/PTMdcAJj.png" alt="完全信任"></li></ul><h4 id="4-加载视频"><a href="#4-加载视频" class="headerlink" title="4. 加载视频"></a>4. <strong>加载视频</strong></h4><ul><li>打开Sora，浏览并加载你想要下载的无水印视频。无论你是选择自己已发布的视频，还是其他视频，确保视频已经在App内完整加载。</li></ul><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://image.laogou717.com/file/LVv8T7KB.png alt="我发布的视频" /></div><div class="gallery-item"><img class="nolazyload" src=https://image.laogou717.com/file/Zsud3uQH.png alt="别人发布的视频" /></div>      </div><h4 id="5-重启Reqable"><a href="#5-重启Reqable" class="headerlink" title="5. 重启Reqable"></a>5. <strong>重启Reqable</strong></h4><ul><li>加载完视频后，重启Reqable，在主界面点击右下角的“飞机图标”，开启VPN功能。<br><img src="https://image.laogou717.com/file/bReBTK1P.png" alt="打开小飞机"></li><li>重新打开Sora，浏览中的无水印视频就会触发Reqable的抓包。</li><li>浏览之后返回Relabel界面，你会看到所有的网络请求。仔细寻找视频请求URL，通常以 <code>/video/</code> 开头，包含视频文件的后缀名（如 <code>.mp4</code>）。<br><img src="https://image.laogou717.com/file/bw0tl3AO.png" alt="查看请求"></li><li>点击视频请求，复制该链接<br><img src="https://image.laogou717.com/file/8JoaoQ6z.png" alt="复制链接"></li></ul><h4 id="6-在浏览器中打开"><a href="#6-在浏览器中打开" class="headerlink" title="6. 在浏览器中打开"></a>6. <strong>在浏览器中打开</strong></h4><ul><li>将复制的URL粘贴到浏览器中打开，网页上会显示无水印的视频。</li><li>现在，你就可以通过浏览器下载无水印的视频了！</li></ul><div class="video"><video controls preload><source src="https://videos.openai.com/vg-assets/assets%2Ftask_01k6mqt2mse2g8b7dpdz1g6gg7%2Ftask_01k6mqt2mse2g8b7dpdz1g6gg7_genid_7a1b24f5-610b-4a9a-8509-c0a2236f9015_25_10_03_09_55_718767%2Fvideos%2F00000%2Fsrc.mp4?st=2025-10-03T09:20:23Z&se=2025-10-09T10:20:23Z&sks=b&skt=2025-10-03T09:20:23Z&ske=2025-10-09T10:20:23Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=aa5ddad1-c91a-4f0a-9aca-e20682cc8969&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https,http&sig=oAhJJVyrq5GJ1bXPA6O1DP7QKxZkRJ66JI9MMGz0s0U=&az=oaivgprodscus" type="video&#x2F;mp4">Your browser does not support the video tag.</source></div><hr><h4 id="7-注意事项"><a href="#7-注意事项" class="headerlink" title="7. *注意事项"></a>7. *<strong>注意事项</strong></h4><ul><li>如果你本地网络不能直接访问Sora,而是通过梯子访问的话,那么开启Relabel小飞机后你的网络梯子可能会断掉，因为Reqable的VPN会拦截所有流量。</li><li>如果你强行在抓取时开启梯子，可能会导致抓包失败。</li><li>在加载时，Reqable会在后台记录所有网络请求，包括视频请求。</li><li>如果在Sora中不断打开多个视频，Reqable也会不断捕捉这些视频请求。只要你找到正确的视频链接，就能下载无水印版本。</li><li>如果关闭Reqable时忘记关闭VPN图标，可能会导致Sora无法正常访问，看到黑屏。</li><li>关闭VPN时一定要确保小飞机图标关闭，否则可能需要重启手机来恢复正常。</li></ul><h2 id="免责声明"><a href="#免责声明" class="headerlink" title="免责声明"></a>免责声明</h2><p><strong>重要提醒：本文内容仅供技术学习和研究使用！</strong></p><ul><li>🔬 <strong>学习目的</strong>：本教程旨在帮助读者理解网络抓包技术和视频流媒体的技术原理</li><li>⚖️ <strong>合法使用</strong>：请确保你有权限下载相关视频内容，遵守当地法律法规</li><li>🚫 <strong>禁止滥用</strong>：严禁将本技术用于侵犯版权、商业盗用或其他非法用途</li><li>📝 <strong>版权尊重</strong>：下载的视频内容应仅供个人学习使用，不得进行商业传播</li><li>🛡️ <strong>风险自负</strong>：使用本教程产生的任何法律风险由使用者自行承担</li></ul><h3 id="💬-技术交流"><a href="#💬-技术交流" class="headerlink" title="💬 技术交流"></a>💬 技术交流</h3><p>如果你在使用过程中遇到技术问题，欢迎在评论区讨论交流。让我们一起在合法合规的前提下，探索更多有趣的技术知识！</p>]]></content>
    
    
    <summary type="html">深度解析Sora视频水印机制，揭秘App端无水印与Web端有水印的技术原理。详细教程：使用Reqable等iOS抓包工具，轻松获取Sora无水印视频下载链接。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Sora" scheme="https://www.laogou717.com/tags/Sora/"/>
    
    <category term="抓包技术" scheme="https://www.laogou717.com/tags/%E6%8A%93%E5%8C%85%E6%8A%80%E6%9C%AF/"/>
    
    <category term="iOS工具" scheme="https://www.laogou717.com/tags/iOS%E5%B7%A5%E5%85%B7/"/>
    
  </entry>
  
  <entry>
    <title>OpenSpeedy：让百度网盘&quot;跑起来&quot;的开源神器（2025最新教程）</title>
    <link href="https://www.laogou717.com/2025/09/30/%E5%B9%B2%E8%B4%A7/GitHub/%E7%BD%91%E7%9B%98%E5%8A%A0%E9%80%9F/"/>
    <id>https://www.laogou717.com/2025/09/30/%E5%B9%B2%E8%B4%A7/GitHub/%E7%BD%91%E7%9B%98%E5%8A%A0%E9%80%9F/</id>
    <published>2025-09-30T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://image.laogou717.com/file/Jr1NQvEn.png" alt="OpenSpeedy"><br>了解这个开源项目有一段时间了,当时是为了在我的Windows电脑上玩国际服的LOL进行网络加速的(是的,虽然我是Mac用户,但游戏还得Windows上场)。但其实它能加速的东西很多,就比如:百度网盘下载速度。</p><p>这也能加速?不过我个人当时没有在意,因为其实我的真实身份是百度网盘尊贵的SVIP。好了开玩笑,其实当时觉得它肯定很快就会失效所以就没怎么去管它,但如今它的风头正盛,我也想简单写一篇博文来介绍,如何使用它来对网盘以及其它应用进行加速。</p><h2 id="它到底是个什么东西"><a href="#它到底是个什么东西" class="headerlink" title="它到底是个什么东西?"></a>它到底是个什么东西?</h2><p>OpenSpeedy本质上是一个<strong>游戏变速器</strong>,没错,就是那种能让游戏”快进”的工具。它最初的设计目的是突破游戏的帧率限制,让你的游戏跑得更流畅。但开发者可能也没想到,这个工具意外地对网盘下载有着奇效。</p><p>从技术角度来说,它采用的是Ring3层Hook技术——简单理解就是它在用户层面拦截了系统的时间函数(比如Sleep、SetTimer这些),让被加速的程序”以为”时间过得飞快。这种方式最大的好处就是<strong>没有内核侵入性</strong>,不会破坏系统稳定性,相对来说更加安全。</p><h2 id="为什么它能加速网盘"><a href="#为什么它能加速网盘" class="headerlink" title="为什么它能加速网盘?"></a>为什么它能加速网盘?</h2><p>这个问题其实挺有意思的。百度网盘的限速机制是基于时间控制的——非会员用户在单位时间内只能下载特定大小的数据。而OpenSpeedy通过修改进程的时间感知,让网盘客户端”以为”已经过了很长时间,从而突破了这个限制。</p><p>实测效果如何?根据网上的反馈,普通用户能从几十KB&#x2F;s直接提升到10MB&#x2F;s以上,有些情况下甚至能跑满带宽。当然,具体效果还是取决于你的网络环境。</p><h2 id="怎么用-其实超级简单"><a href="#怎么用-其实超级简单" class="headerlink" title="怎么用?其实超级简单"></a>怎么用?其实超级简单</h2><h3 id="准备工作"><a href="#准备工作" class="headerlink" title="准备工作"></a>准备工作</h3><ol><li><strong>系统要求</strong>:Windows 10&#x2F;11 64位系统(是的,目前只支持Windows,Mac用户暂时无缘)</li><li><strong>下载OpenSpeedy</strong>:从GitHub官方仓库(github.com&#x2F;game1024&#x2F;OpenSpeedy)下载最新版本,目前是v1.7.6</li><li><strong>安装百度网盘客户端</strong>:必须是官方客户端,网页版不行</li></ol><h3 id="使用步骤"><a href="#使用步骤" class="headerlink" title="使用步骤"></a>使用步骤</h3><p><strong>第一步</strong>:解压OpenSpeedy压缩包,双击<code>OpenSpeedy.exe</code>运行(无需安装,绿色免安装)</p><p><strong>第二步</strong>:打开百度网盘客户端并登录你的账号</p><p><strong>第三步</strong>:在OpenSpeedy界面下方的进程列表中,找到百度网盘的进程(通常叫<code>BaiduNetdisk.exe</code>)</p><p><strong>第四步</strong>:选中该进程,调整加速倍率(建议从2倍开始尝试,可以调到10倍甚至更高)</p><p><strong>第五步</strong>:开始下载文件,你会发现速度有了质的飞跃</p><h3 id="几个小技巧"><a href="#几个小技巧" class="headerlink" title="几个小技巧"></a>几个小技巧</h3><ul><li><strong>倍率不是越高越好</strong>:过高的倍率可能导致程序不稳定,建议根据实际效果调整</li><li><strong>下载界面显示可能不准</strong>:有时候网盘客户端显示的速度还是慢速,但实际文件在快速下载中,别被界面骗了</li><li><strong>可以中途调整</strong>:如果发现不稳定,可以随时降低倍率或者关闭加速</li><li><strong>支持多个网盘</strong>:除了百度网盘,理论上夸克网盘、迅雷等都可以尝试加速</li></ul><h2 id="它还能做什么"><a href="#它还能做什么" class="headerlink" title="它还能做什么?"></a>它还能做什么?</h2><p>除了网盘加速,OpenSpeedy的本职工作还是游戏变速:</p><ul><li><strong>老游戏加速</strong>:那些帧率锁死在30fps的老游戏,用它可以突破限制</li><li><strong>跳过漫长的加载</strong>:某些游戏的loading界面长到让人想砸键盘,加速一下就舒服了</li><li><strong>测试用途</strong>:开发者可以用它来测试游戏逻辑,快速复现某些时间相关的bug</li></ul><h2 id="安全性如何"><a href="#安全性如何" class="headerlink" title="安全性如何?"></a>安全性如何?</h2><p>作为一个需要拦截系统函数的工具,安全性是大家最关心的问题。OpenSpeedy有几个优势:</p><ol><li><strong>完全开源</strong>:代码托管在GitHub上,任何人都可以审查</li><li><strong>无内核操作</strong>:只在用户层面工作,不会动系统核心</li><li><strong>体积小巧</strong>:只有20多MB,没有捆绑乱七八糟的东西</li><li><strong>无广告无残留</strong>:绿色软件,删了就没了,不留任何痕迹</li></ol><p>当然,杀毒软件可能会误报(因为Hook技术本身容易被认为是可疑行为),添加信任即可。</p><h2 id="它会一直有效吗"><a href="#它会一直有效吗" class="headerlink" title="它会一直有效吗?"></a>它会一直有效吗?</h2><p>这是个好问题。从技术原理上看,只要网盘的限速机制不改变,这个方法就能持续有效。但百度方面如果真的想封堵,也不是没有办法——比如检测进程是否被Hook,或者改变限速策略。</p><p>不过到目前为止,这个项目已经火了好几个月,依然稳定可用。我个人的猜测是,百度可能暂时还没把这当成优先级很高的问题,毕竟用这个工具的用户相比他们的总用户量来说还是少数。</p><p>但说实话,如果你经常需要大量下载,该开会员还是开会员吧——毕竟支持正版服务也是应该的。OpenSpeedy更适合那种偶尔需要下载大文件,又不想专门开会员的场景。</p><h2 id="最后的碎碎念"><a href="#最后的碎碎念" class="headerlink" title="最后的碎碎念"></a>最后的碎碎念</h2><p>当初发现OpenSpeedy的时候,我就觉得这是个”不太稳定”的野路子,所以没太当回事。但看着它现在的热度,不得不承认开源社区的创造力真的很强大——一个游戏变速器,居然能被玩出这么多花样。</p><p>话说回来,限速下载这事儿本身就挺让人无奈的。明明带宽足够,却要人为地掐着脖子不让你用,这种体验真的不好。希望有一天,我们能用上更合理的网盘服务,而不是总需要这些”奇技淫巧”来突破限制。</p><p>好了,教程就到这里。如果你也被百度网盘的龟速折磨过,不妨试试这个工具。记得从官方GitHub下载,注意安全。</p><p>最后提醒一句:<strong>请合理使用,遵守相关法律法规</strong>。工具本身是中性的,怎么用还是看个人。</p><h2 id="项目信息"><a href="#项目信息" class="headerlink" title="项目信息"></a>项目信息</h2><p><strong>项目地址</strong>: <a href="https://github.com/game1024/OpenSpeedy">https://github.com/game1024/OpenSpeedy</a><br><strong>当前版本</strong>: v1.7.6<br><strong>支持系统</strong>: Windows 10&#x2F;11 (64位)<br><strong>开源协议</strong>: MIT License</p><p><em>祝大家下载愉快,告别龟速!</em></p>]]></content>
    
    
    <summary type="html">【2025最新】详细介绍开源工具OpenSpeedy如何让百度网盘下载速度从几十KB/s提升到10MB/s以上，包含完整安装使用教程、安全性分析和注意事项。基于Ring3层Hook技术，绿色免安装，支持多种网盘平台。</summary>
    
    
    
    <category term="工具教程" scheme="https://www.laogou717.com/categories/%E5%B7%A5%E5%85%B7%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="OpenSpeedy" scheme="https://www.laogou717.com/tags/OpenSpeedy/"/>
    
    <category term="百度网盘" scheme="https://www.laogou717.com/tags/%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98/"/>
    
    <category term="下载加速" scheme="https://www.laogou717.com/tags/%E4%B8%8B%E8%BD%BD%E5%8A%A0%E9%80%9F/"/>
    
  </entry>
  
  <entry>
    <title>Sora 2 来了！免费用户也能玩上 AI 视频生成了</title>
    <link href="https://www.laogou717.com/2025/09/30/AI%20era/GPTPLUS/sora2/"/>
    <id>https://www.laogou717.com/2025/09/30/AI%20era/GPTPLUS/sora2/</id>
    <published>2025-09-30T04:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<div class="note danger modern"><i class="solitude fas fa-wand-magic-sparkles"></i><p>去官方OpenAI官方频道获取吧,至少比求人强,B站视频也惨遭下架了</p></div><div class="video-container"><iframe src="https://www.youtube.com/embed/nEN4uHvWmBA" frameborder="0" loading="lazy" allowfullscreen></iframe></div><blockquote><p>昨天（9月30日美国时间），OpenAI 终于发布了 Sora 2，这可能是今年最令人期待的 AI 产品更新之一。最让人兴奋的是什么？<strong>免费用户也能用了！</strong></p></blockquote><p><img src="https://image.laogou717.com/file/BpWzO7qL.png" alt="sora2"></p><h2 id="Sora-2-有什么亮点？"><a href="#Sora-2-有什么亮点？" class="headerlink" title="Sora 2 有什么亮点？"></a>Sora 2 有什么亮点？</h2><p>从目前的体验来看，Sora 2 在中文理解方面表现相当出色，对比 Google 的 Veo 3，在处理中文提示词时明显更准确、更自然。这对国内用户来说绝对是个好消息——终于不用费劲把中文prompt翻译成英文，还要担心语义丢失了。</p><p>当然，具体的对比测试还需要更多用户实测，但从早期反馈来看，Sora 2 在多语言支持上确实下了功夫。</p><h2 id="怎么用？两种方式任你选"><a href="#怎么用？两种方式任你选" class="headerlink" title="怎么用？两种方式任你选"></a>怎么用？两种方式任你选</h2><p>OpenAI 这次提供了两个使用入口：</p><h3 id="方式一：官网直接用"><a href="#方式一：官网直接用" class="headerlink" title="方式一：官网直接用"></a>方式一：官网直接用</h3><p>直接访问 <a href="https://sora.com/">sora.com</a>，登录你的 OpenAI 账号就能开始创作。网页版的好处是不用下载任何东西，打开浏览器就能用。<br><img src="https://image.laogou717.com/file/XrC1dM0L.png" alt="sora.com"></p><h3 id="方式二：iOS-App"><a href="#方式二：iOS-App" class="headerlink" title="方式二：iOS App"></a>方式二：iOS App</h3><p>如果你是重度用户，建议下载 iOS 客户端。App 的体验会更流畅，而且可以随时随地创作。直接在 App Store 搜索”Sora”或者点击这个链接<a href="https://apps.apple.com/us/app/sora-by-openai/id6744034028">下载安装</a> 。<br><img src="https://image.laogou717.com/file/mcEP0SPV.png" alt="sora2iOS"></p><h2 id="使用门槛：需要注意的几点"><a href="#使用门槛：需要注意的几点" class="headerlink" title="使用门槛：需要注意的几点"></a>使用门槛：需要注意的几点</h2><p>虽然免费用户可以使用，但还是有一些限制需要了解：</p><p><strong>1. 地区限制</strong><br>目前 Sora 2 只在美国和加拿大地区开放，所以你需要一个<strong>美区 Apple ID</strong>（如果用 iOS App 的话）。国内用户可能需要想点办法，你懂的。</p><p><strong>2. 邀请码机制</strong><br>是的，现在还需要邀请码才能使用。但好消息是，OpenAI 采用了一个挺有意思的裂变机制：<br><img src="https://image.laogou717.com/file/Scqdh3HY.jpg" alt="sora2裂变"></p><ul><li>每个获得访问权限的用户会收到邀请码</li><li>一个邀请码可以邀请<strong>4个人</strong></li><li>这4个人获得权限后，<strong>每人又能再邀请4个人</strong></li><li>以此类推，无限裂变</li></ul><p>这意味着什么？只要你认识一个已经有权限的朋友，很快你的整个朋友圈都能用上 Sora 2。</p><h3 id="如何获得邀请码？"><a href="#如何获得邀请码？" class="headerlink" title="如何获得邀请码？"></a>如何获得邀请码？</h3><p>网上流传着一些”万能邀请码”，各位可以试试运气（我会把收集到的放在评论区）。不过说实话，这些码能不能用、会不会失效都不太确定。</p><p><strong>更稳妥的方式</strong>是找已经有权限的朋友要邀请码。如果你身边暂时没有，也可以试试我的个人邀请码（见文末），先到先得，用完为止。</p><h2 id="开放节奏"><a href="#开放节奏" class="headerlink" title="开放节奏"></a>开放节奏</h2><p>根据 OpenAI 的计划，他们会按照这个顺序逐步开放：</p><ol><li>原 Sora 重度用户（最优先）</li><li>ChatGPT Pro 订阅用户</li><li>Plus 和 Team 用户</li><li>最终向所有用户开放（包括免费用户）</li></ol><p>如果你是付费用户，应该很快就能收到官方的邀请邮件。免费用户可能需要多等一段时间，或者通过邀请码机制提前体验。</p><p><strong>我的邀请码</strong>：<span class="spoiler blur-text">9GW9RH</span><br><strong>群友邀请码</strong>:<span class="spoiler blur-text">7A6ZEN</span>、<span class="spoiler blur-text">RHYAJ8</span>、<span class="spoiler blur-text">H15YAR</span><br>记得先到先得，每个码只能邀请4个人哦～<br>大家被邀请之后也可以在评论区分享自己的邀请码,使用者也可以留下回复,这样大家就都可以无限使用了</p><p><strong>网传万能邀请码</strong>（不保证有效）：</p><ul><li>[F9K2DM]</li></ul><p>试试运气吧，说不定就成功了呢！</p>]]></content>
    
    
    <summary type="html">OpenAI 于 9月30日发布 Sora 2，这是其 AI 视频生成工具的重大更新。最大亮点是免费用户也能体验，且在中文提示词理解方面表现出色。用户可通过 sora.com 官网或 iOS App 两种方式使用。目前需要美区账号和邀请码，采用 1 邀 4 的裂变机制快速扩散。本文提供完整使用指南、邀请码获取攻略，以及与 Google Veo 3 的功能对比。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="OpenAI" scheme="https://www.laogou717.com/tags/OpenAI/"/>
    
    <category term="Sora2" scheme="https://www.laogou717.com/tags/Sora2/"/>
    
    <category term="Sora2邀请码" scheme="https://www.laogou717.com/tags/Sora2%E9%82%80%E8%AF%B7%E7%A0%81/"/>
    
  </entry>
  
  <entry>
    <title>低价升级开通GPT4、Claude等服务|Apple礼品卡支付!</title>
    <link href="https://www.laogou717.com/2025/09/25/AI%20era/GPTPLUS/GPT4/"/>
    <id>https://www.laogou717.com/2025/09/25/AI%20era/GPTPLUS/GPT4/</id>
    <published>2025-09-25T16:55:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>24 年初我在 <strong>TG</strong> 群里看到有人说 <strong>Fomepay（虚拟信用卡）跑路</strong>。我起初不以为意，登录后发现付款已被拒。后来长期使用 <strong>Wildcard</strong>，但也因不可抗力整改。于是我在 <strong>B站&#x2F;YouTube</strong> 分享了使用 <strong>Apple 礼品卡</strong> 的替代方案。视频里表达过于精简，很多朋友反馈表示对其中的细节不理解，此篇文章便因此而生。<br><img src="https://image.laogou717.com/file/aTD0vJjF.png" alt="礼品卡支付ChatGPTQA"></p></blockquote><h2 id="适用范围与声明"><a href="#适用范围与声明" class="headerlink" title="适用范围与声明"></a>适用范围与声明</h2><ul><li>本文面向 <strong>中国大陆</strong> 用户在合规前提下为 <strong>海外服务</strong> 付款的<strong>思路与经验</strong>。</li><li>若你所在地区已被 OpenAI&#x2F;Anthropic 等官方支持，<strong>直接使用本地银行卡&#x2F;信用卡</strong> 更简单稳妥。</li><li>全文仅供信息分享，不构成法律、财务或合规建议。请自行判断风险并遵守服务条款。</li><li><a href="https://www.bilibili.com/video/BV1QQ8wznEsW/">B站视频查看</a>、<a href="https://www.youtube.com/watch?v=vrkFUSMZZ2U">YouTube视频查看</a></li></ul><h2 id="使用-Apple-礼品卡的思路"><a href="#使用-Apple-礼品卡的思路" class="headerlink" title="使用 Apple 礼品卡的思路"></a>使用 Apple 礼品卡的思路</h2><p><strong>为什么需要两个 Apple ID？</strong></p><ul><li><strong>本区 Apple ID（如中国区）</strong>：用于在 <strong>Apple 国际官网</strong> 购买 <strong>美元礼品卡</strong>，并以与账号地区一致的支付方式完成购买。</li><li><strong>美区 Apple ID</strong>：用于<strong>兑换美元礼品卡</strong>与<strong>在 App 内订阅</strong>。部分海外 App&#x2F;订阅需要在对应地区的 App Store 才能顺利开通。</li></ul><p>比如我身在中国大陆,并且只有中国大陆信用卡和银行卡,因此我的第一个apple id就应该在<a href="https://support.apple.com/zh-cn/108647?device-type=iphone">中国区注册</a>,仅用于在<strong>购买礼品卡</strong>时使用,而在官网购买礼品卡时必须使用跟<strong>ID所在地区相同</strong>的支付方式,在购买礼品卡时,你需要访问的时 <strong>apple.com(国际区官网) 而非 apple.com.cn(中国区官网)</strong>,这是因为中国区只能购买人民币礼品卡,而国际区可以<a href="https://www.apple.com/shop/buy-giftcard/giftcard">购买美元礼品卡</a><br>  <img src="https://image.laogou717.com/file/Cq7L6FIV.png" alt="购买礼品卡"></p><h2 id="操作步骤"><a href="#操作步骤" class="headerlink" title="操作步骤"></a>操作步骤</h2><h3 id="1）在-Apple-国际官网购买美元礼品卡"><a href="#1）在-Apple-国际官网购买美元礼品卡" class="headerlink" title="1）在 Apple 国际官网购买美元礼品卡"></a>1）在 Apple 国际官网购买美元礼品卡</h3><ul><li>访问：<a href="https://www.apple.com/shop/buy-giftcard/giftcard">https://www.apple.com/shop/buy-giftcard/giftcard</a>  </li><li>选择 <strong>USD 面额</strong>，收件方式选 <strong>发送至邮箱</strong>，并填写收件邮箱。</li><li>使用与 <strong>账号地区一致</strong> 的支付方式付款（例如中国区 ID → 中国区银行卡）。</li></ul><blockquote><p>一般情况下，<strong>兑换码会在 ~1 小时内</strong> 发送到填写的邮箱。个别情况下可能更久，请耐心查收并检查垃圾箱。</p></blockquote><h3 id="2）查收兑换码"><a href="#2）查收兑换码" class="headerlink" title="2）查收兑换码"></a>2）查收兑换码</h3><ul><li>邮件内包含 <strong>Gift Card Code（兑换码）</strong> 与说明。请妥善保存，避免泄露。</li></ul><h3 id="3）准备-登录美区-Apple-ID（重要）"><a href="#3）准备-登录美区-Apple-ID（重要）" class="headerlink" title="3）准备&#x2F;登录美区 Apple ID（重要）"></a>3）准备&#x2F;登录美区 Apple ID（重要）</h3><ul><li>在设备上登录 <strong>美区 Apple ID</strong>（iOS：App Store → 头像 → 退出后登录）。</li><li><strong>合规提醒</strong>：<ul><li><strong>请使用真实、可验证的信息</strong> 完成账号资料与验证。</li><li>税费由 App Store 按地区政策计算并随订单结算，<strong>不要试图规避税费或地区限制</strong>。</li></ul></li></ul><h3 id="4）兑换礼品卡"><a href="#4）兑换礼品卡" class="headerlink" title="4）兑换礼品卡"></a>4）兑换礼品卡</h3><ul><li>iOS&#x2F;App Store：点击头像 → <strong>兑换礼品卡或代码</strong> → 粘贴邮箱中的兑换码 → 完成后可在余额中看到入账。</li></ul><p><img src="https://image.laogou717.com/file/FsCZUcPQ.png" alt="兑换礼品卡"></p><h3 id="5）在-App-内开通订阅"><a href="#5）在-App-内开通订阅" class="headerlink" title="5）在 App 内开通订阅"></a>5）在 App 内开通订阅</h3><ul><li>打开目标 App（如 ChatGPT），进入订阅页面，选择相应计划。</li><li>付款方式选择 <strong>App Store 余额</strong>。下单前确认：<ol><li>该 App 在 <strong>当前地区</strong> 支持订阅与使用；</li><li><strong>余额足额</strong>（包含可能产生的税费）；</li><li>网络环境稳定、账号状态正常。</li></ol></li></ul><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://image.laogou717.com/file/QpT3LURp.png alt="兑换成功" /></div><div class="gallery-item"><img class="nolazyload" src=https://image.laogou717.com/file/7tQapsKs.png alt="ChatGPT升级成功" /></div>      </div><h2 id="常见问题（FAQ）与排错"><a href="#常见问题（FAQ）与排错" class="headerlink" title="常见问题（FAQ）与排错"></a>常见问题（FAQ）与排错</h2><p><strong>Q1：付款被拒绝&#x2F;失败？</strong><br>可能原因与建议：</p><ul><li><strong>余额不足（含税）</strong>：有些地区会加收税费，请预留略高于标价的余额。</li><li><strong>地区不支持</strong>：目标服务在当前地区不可用 → 更换到支持的地区账号后再尝试。</li><li><strong>账号或设备异常</strong>：尝试退出重登、更换设备、更新系统版本，或联系 Apple 支持。</li></ul><p><strong>Q2：礼品卡能退款&#x2F;提现吗？</strong><br>通常 <strong>不可提现</strong>，兑换后余额可继续用于 App Store 内的其他消费（应用、内购、订阅）。</p><p><strong>Q3：税费为什么不一致？</strong><br>税率随地区而异，由 Apple 依据政策代收。<strong>务必按规定缴纳</strong>，不要尝试规避。</p><p><strong>Q4：多久能收到兑换码？</strong><br>正常约 <strong>1 小时内</strong>，高峰期或风控抽检可能更久。若超时，可联系 Apple 客服查询订单状态。</p><p><strong>Q5：兑换时提示不可用&#x2F;已使用？</strong><br>确认兑换码来源为 <strong>Apple 官方</strong>，并核对是否输入有误；如确认存在问题，尽快联系 Apple 支持处理。</p><h2 id="风险与合规提示（强烈建议阅读）"><a href="#风险与合规提示（强烈建议阅读）" class="headerlink" title="风险与合规提示（强烈建议阅读）"></a>风险与合规提示（强烈建议阅读）</h2><ul><li>请<strong>遵守当地法律法规</strong>与各平台服务条款，<strong>不要使用虚假信息</strong>，不要尝试规避税费或地区限制。</li><li><strong>只在 Apple 官方渠道购买礼品卡</strong>。切勿从不明来源购买低价兑换码，存在被盗刷、锁卡、封号等风险。</li><li>第三方转售&#x2F;拼车&#x2F;共享账号等方案存在较高风控与隐私风险，请谨慎评估与自担风险。</li></ul><h2 id="其它平台与优惠"><a href="#其它平台与优惠" class="headerlink" title="其它平台与优惠"></a>其它平台与优惠</h2><blockquote><p>说明：以下链接&#x2F;口令可能含<strong>返佣</strong>。你会获得优惠，我也可能获得佣金。如介意，可<strong>删除链接后缀</strong>或不使用邀请码。</p><ul><li><strong>RawChat公益站点</strong>为免费镜像网站,可以自己设置密码进行会话隔离,避免会话被其他用户看到。<br><img src="https://image.laogou717.com/file/XdsIfwYt.png" alt="rawchat"></li></ul></blockquote><table><thead><tr><th>平台</th><th>说明</th><th>入口</th><th>邀请码&#x2F;口令</th></tr></thead><tbody><tr><td>RawChat公益站点</td><td>关闭VPN进行访问</td><td><a href="https://sharedchat.fun/">https://sharedchat.fun</a></td><td>无需</td></tr><tr><td>GPT&#x2F;Plus、PS AI、MJ 等账号购买</td><td><strong>低至 29.9</strong>（适合轻量使用）</td><td><strong><a href="https://nf.video/RnmdW">https://nf.video/RnmdW</a></strong></td><td><strong>laogou</strong></td></tr><tr><td>环球巴士 Plus</td><td><strong>低至 28.8 RMB</strong></td><td><a href="https://universalbus.cn/?s=kAPXuD">https://universalbus.cn/?s=kAPXuD</a></td><td><strong>kAPXuD</strong></td></tr><tr><td>ClaudeCode 转发</td><td>通过链接访问可免费获 <strong>天卡</strong> 体验</td><td><a href="https://cc.yhlxj.com/oea08n">https://cc.yhlxj.com/oea08n</a></td><td><strong>oea08n</strong></td></tr></tbody></table><h2 id="引文"><a href="#引文" class="headerlink" title="引文"></a>引文</h2><ul><li>Apple：如何购买&#x2F;发送礼品卡（国际站）<br><a href="https://www.apple.com/shop/buy-giftcard/giftcard">https://www.apple.com/shop/buy-giftcard/giftcard</a></li><li>Apple 支持：Apple ID 与地区&#x2F;付款说明（示例）<br><a href="https://support.apple.com/zh-cn/108647?device-type=iphone">https://support.apple.com/zh-cn/108647?device-type=iphone</a></li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;blockquote&gt;
&lt;p&gt;24 年初我在 &lt;strong&gt;TG&lt;/strong&gt; 群里看到有人说 &lt;strong&gt;Fomepay（虚拟信用卡）跑路&lt;/strong&gt;。我起初不以为意，登录后发现付款已被拒。后来长期使用 &lt;strong&gt;Wildcard&lt;/strong&gt;，但也</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="ChatGPT" scheme="https://www.laogou717.com/tags/ChatGPT/"/>
    
    <category term="升级ChatGPT" scheme="https://www.laogou717.com/tags/%E5%8D%87%E7%BA%A7ChatGPT/"/>
    
    <category term="Apple礼品卡" scheme="https://www.laogou717.com/tags/Apple%E7%A4%BC%E5%93%81%E5%8D%A1/"/>
    
  </entry>
  
  <entry>
    <title>Qwen3‑Omni 使用全攻略（在线 Demo / Transformers / vLLM / 本地部署）</title>
    <link href="https://www.laogou717.com/2025/09/22/AI%20era/Wan/Qwen3-Omni-%E4%BD%BF%E7%94%A8%E5%85%A8%E6%94%BB%E7%95%A5/"/>
    <id>https://www.laogou717.com/2025/09/22/AI%20era/Wan/Qwen3-Omni-%E4%BD%BF%E7%94%A8%E5%85%A8%E6%94%BB%E7%95%A5/</id>
    <published>2025-09-22T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>附：在线体验入口 &amp; 本地部署教程（含 Ollama 路线可行性结论）<br><img src="https://image.laogou717.com/file/5rpCV3Qh.png" alt="Qwen3-Omni"></p></blockquote><h2 id="TL-DR（要点速览）"><a href="#TL-DR（要点速览）" class="headerlink" title="TL;DR（要点速览）"></a>TL;DR（要点速览）</h2><ul><li><p><strong>Qwen3‑Omni 是什么</strong>：阿里云通义团队发布的开源“端到端全模态”模型，<strong>原生理解文本&#x2F;图片&#x2F;音频&#x2F;视频</strong>，并且<strong>可输出文本与语音</strong>（流式）。提供 <strong>Instruct &#x2F; Thinking &#x2F; Captioner</strong> 三个变体；许可证 <strong>Apache‑2.0</strong>。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></li><li><p><strong>在线入口</strong>：官方在 Hugging Face 上开了 <strong>Qwen3‑Omni Demo</strong> 与 <strong>Captioner Demo</strong>；模型卡含 QuickStart 与 vLLM&#x2F;Transformers 用法；Qwen Chat 也可在线体验。(<a href="https://huggingface.co/spaces/Qwen/Qwen3-Omni-Demo" title="Qwen3 Omni Demo - a Hugging Face Space by Qwen">Hugging Face</a>)</p></li><li><p><strong>Ollama 路线结论</strong>：</p><ol><li><strong>目前无法直接用 Ollama 从 Hugging Face 部署 Qwen3‑Omni 全功能</strong>。Ollama <strong>只能直接运行 GGUF</strong> 权重；而 Qwen3‑Omni 在 Hugging Face 以 <strong>safetensors</strong> 发布，提供的是 Transformers&#x2F;vLLM 路线。(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</li><li><strong>Ollama 仍不支持音频输入</strong>（官方 issue 正在讨论中），而 Qwen3‑Omni的核心卖点涉及音频&#x2F;视频输入与语音输出，因此即便未来有非官方 GGUF，<strong>也跑不全功能</strong>。(<a href="https://github.com/ollama/ollama/issues/11798?utm_source=chatgpt.com" title="Feature Request: Add Audio Input Support for Multimodal Models">GitHub</a>)</li><li>如需“先用上”：<strong>推荐 vLLM&#x2F;Transformers 或官方&#x2F;社区 Docker</strong>；若一定要走 Ollama，只能退而求其次：<strong>用 Qwen3（文本版）GGUF</strong> 在 Ollama 跑<strong>文字对话</strong>（不含音频&#x2F;视频&#x2F;TTS）。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li></ol></li></ul><h2 id="一、Qwen3‑Omni-是什么（1-分钟认识）"><a href="#一、Qwen3‑Omni-是什么（1-分钟认识）" class="headerlink" title="一、Qwen3‑Omni 是什么（1 分钟认识）"></a>一、Qwen3‑Omni 是什么（1 分钟认识）</h2><ul><li><p><strong>原生全模态</strong>：不是外挂视觉&#x2F;语音，而是在预训练&#x2F;后训练阶段做混合多模态联合训练；官方称在 36 个音频&#x2F;视听基准中 22 项达 SOTA、32 项开源 SOTA；同时<strong>文本&#x2F;图像单模态性能不回退</strong>。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></li><li><p><strong>多语种</strong>：文本覆盖 119 种语言；语音输入 19 种、语音输出 10 种。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></li><li><p><strong>架构</strong>：<strong>Thinker–Talker</strong>（思考器＋说话器）解耦设计，低延迟流式交互，适合实时语音对话与视听理解。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></li><li><p><strong>三种变体</strong>：</p><ul><li><strong>Instruct</strong>：多模态输入，<strong>文本＋语音输出</strong>（最完整）。</li><li><strong>Thinking</strong>：偏复杂推理，<strong>仅文本输出</strong>。</li><li><strong>Captioner</strong>：<strong>音频精细描述</strong>专项。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li></ul></li><li><p><strong>开源与发布</strong>：模型卡与 Demo 已在 Hugging Face 上线；媒体报道也确认“开放可下载、Apache‑2.0 许可、亦有 API 形态”。(<a href="https://huggingface.co/collections/Qwen/qwen3-omni-68d100a86cd0906843ceccbe" title="Qwen3-Omni - a Qwen Collection">Hugging Face</a>)</p></li></ul><h2 id="二、在线体验入口（官方资源）"><a href="#二、在线体验入口（官方资源）" class="headerlink" title="二、在线体验入口（官方资源）"></a>二、在线体验入口（官方资源）</h2><ul><li><strong>Qwen3‑Omni Demo（HF Space）</strong>：支持文本&#x2F;图片&#x2F;音频&#x2F;视频输入的交互演示。(<a href="https://huggingface.co/spaces/Qwen/Qwen3-Omni-Demo" title="Qwen3 Omni Demo - a Hugging Face Space by Qwen">Hugging Face</a>)</li><li><strong>Qwen3‑Omni Captioner Demo（HF Space）</strong>：对任意音频生成精细描述。(<a href="https://huggingface.co/spaces/Qwen/Qwen3-Omni-Captioner-Demo" title="Qwen3 Omni Captioner Demo - a Hugging Face Space by Qwen">Hugging Face</a>)</li><li><strong>Qwen3‑Omni 模型卡（Instruct &#x2F; Thinking &#x2F; Captioner）</strong>：含 QuickStart、Transformers&#x2F;vLLM 用法与 Cookbook。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li><li><strong>Qwen Chat（chat.qwen.ai）</strong>：在线聊天总入口（可关注是否开放 Omni 选项）。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li><li>（可选）<strong>阿里云 API（ModelStudio&#x2F;百炼）</strong>：媒体报道指向了 API 形态与“更快的 Flash 版本”。(<a href="https://venturebeat.com/ai/chinas-alibaba-challenges-u-s-tech-giants-with-open-source-qwen3-omni-ai" title="China&#39;s Alibaba challenges U.S. tech giants with open source Qwen3-Omni AI model accepting text, audio, image and video">Venturebeat</a>)</li></ul><h2 id="三、本地部署教程（推荐：vLLM-Transformers-路线）"><a href="#三、本地部署教程（推荐：vLLM-Transformers-路线）" class="headerlink" title="三、本地部署教程（推荐：vLLM &#x2F; Transformers 路线）"></a>三、本地部署教程（推荐：vLLM &#x2F; Transformers 路线）</h2><blockquote><p>说明：以下方案可<strong>完整获得 Qwen3‑Omni 的多模态输入与语音输出能力</strong>；Ollama 目前无法实现同等能力，详见下节判定。<br><img src="https://image.laogou717.com/file/iyN7UR4z.png" alt="screenshot"></p></blockquote><h3 id="方案-A：Transformers-直跑（Linux-NVIDIA）"><a href="#方案-A：Transformers-直跑（Linux-NVIDIA）" class="headerlink" title="方案 A：Transformers 直跑（Linux + NVIDIA）"></a>方案 A：Transformers 直跑（Linux + NVIDIA）</h3><p><strong>适用</strong>：先验证功能、离线批处理、脚本化调用。<br><strong>环境要求</strong>：Python 3.10+、CUDA 驱动、<code>ffmpeg</code>、显存建议 ≥ 40GB（Instruct 开启 Talker 时更高）；以官方模型卡为准。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><ol><li>安装依赖（Transformers 需从源码装；官方模型卡明确说明）：</li></ol><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 建议新建虚拟环境；如已安装 transformers，先卸载或直接用新环境</span></span><br><span class="line">pip install <span class="string">&quot;git+https://github.com/huggingface/transformers&quot;</span> accelerate</span><br><span class="line">pip install -U qwen-omni-utils      <span class="comment"># 处理音频/图像/视频</span></span><br><span class="line"><span class="comment"># 可选：FlashAttention 2 以降显存（仅 fp16/bf16；硬件需兼容）</span></span><br><span class="line">pip install -U flash-attn --no-build-isolation</span><br></pre></td></tr></table></figure><p>（以上步骤均来自官方模型卡“Transformers Usage”段落。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><ol start="2"><li>下载权重（如需离线环境）：</li></ol><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">pip install -U <span class="string">&quot;huggingface_hub[cli]&quot;</span></span><br><span class="line">huggingface-cli download Qwen/Qwen3-Omni-30B-A3B-Instruct --local-dir ./Qwen3-Omni-30B-A3B-Instruct</span><br></pre></td></tr></table></figure><p>（模型卡提供 Hugging Face 与 ModelScope 两种下载方式。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><ol start="3"><li>最小示例（文本＋图像＋音频输入，<strong>文本＋语音输出</strong>）：</li></ol><figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> transformers <span class="keyword">import</span> Qwen3OmniMoeForConditionalGeneration, Qwen3OmniMoeProcessor</span><br><span class="line"><span class="keyword">from</span> qwen_omni_utils <span class="keyword">import</span> process_mm_info</span><br><span class="line"><span class="keyword">import</span> soundfile <span class="keyword">as</span> sf</span><br><span class="line"></span><br><span class="line">MODEL_ID = <span class="string">&quot;Qwen/Qwen3-Omni-30B-A3B-Instruct&quot;</span></span><br><span class="line">model = Qwen3OmniMoeForConditionalGeneration.from_pretrained(</span><br><span class="line">    MODEL_ID, dtype=<span class="string">&quot;auto&quot;</span>, device_map=<span class="string">&quot;auto&quot;</span>, attn_implementation=<span class="string">&quot;flash_attention_2&quot;</span></span><br><span class="line">)</span><br><span class="line">processor = Qwen3OmniMoeProcessor.from_pretrained(MODEL_ID)</span><br><span class="line"></span><br><span class="line">messages = [&#123;<span class="string">&quot;role&quot;</span>:<span class="string">&quot;user&quot;</span>,<span class="string">&quot;content&quot;</span>:[</span><br><span class="line">    &#123;<span class="string">&quot;type&quot;</span>:<span class="string">&quot;image&quot;</span>,<span class="string">&quot;image&quot;</span>:<span class="string">&quot;https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-Omni/demo/cars.jpg&quot;</span>&#125;,</span><br><span class="line">    &#123;<span class="string">&quot;type&quot;</span>:<span class="string">&quot;audio&quot;</span>,<span class="string">&quot;audio&quot;</span>:<span class="string">&quot;https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-Omni/demo/cough.wav&quot;</span>&#125;,</span><br><span class="line">    &#123;<span class="string">&quot;type&quot;</span>:<span class="string">&quot;text&quot;</span>,<span class="string">&quot;text&quot;</span>:<span class="string">&quot;看见/听见了什么？一句话回答。&quot;</span>&#125;]&#125;]</span><br><span class="line"></span><br><span class="line">text = processor.apply_chat_template(messages, add_generation_prompt=<span class="literal">True</span>, tokenize=<span class="literal">False</span>)</span><br><span class="line">audios, images, videos = process_mm_info(messages, use_audio_in_video=<span class="literal">True</span>)</span><br><span class="line">inputs = processor(text=text, audio=audios, images=images, videos=videos, return_tensors=<span class="string">&quot;pt&quot;</span>).to(model.device)</span><br><span class="line">text_ids, audio = model.generate(**inputs, speaker=<span class="string">&quot;Ethan&quot;</span>)  <span class="comment"># 也可 &quot;Chelsie&quot;/&quot;Aiden&quot;</span></span><br><span class="line"><span class="keyword">if</span> audio <span class="keyword">is</span> <span class="keyword">not</span> <span class="literal">None</span>:</span><br><span class="line">    sf.write(<span class="string">&quot;output.wav&quot;</span>, audio.reshape(-<span class="number">1</span>).detach().cpu().numpy(), samplerate=<span class="number">24000</span>)</span><br></pre></td></tr></table></figure><p>（完整代码片段与可切换发声人等选项，见模型卡。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><blockquote><p><strong>技巧</strong>：如暂不需要语音输出，可 <code>model.disable_talker()</code> 节省约 10GB 显存；或在 <code>generate</code> 时 <code>return_audio=False</code>，先拿到更快的文本结果。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></blockquote><h3 id="方案-B：vLLM-高吞吐服务（推荐生产-多并发）"><a href="#方案-B：vLLM-高吞吐服务（推荐生产-多并发）" class="headerlink" title="方案 B：vLLM 高吞吐服务（推荐生产&#x2F;多并发）"></a>方案 B：vLLM 高吞吐服务（推荐生产&#x2F;多并发）</h3><p><strong>适用</strong>：在线推理服务、与 OpenAI API 兼容接入、批处理吞吐。<br><strong>要点</strong>：官方模型卡提供了<strong>vLLM 用法</strong>，当前需从特定分支安装（包含多模态与音频输出支持的改动）。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><ol><li>安装 vLLM（根据模型卡给出的步骤）：</li></ol><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">git <span class="built_in">clone</span> -b qwen3_omni https://github.com/wangxiongts/vllm.git</span><br><span class="line"><span class="built_in">cd</span> vllm</span><br><span class="line">pip install -r requirements/build.txt</span><br><span class="line">pip install -r requirements/cuda.txt</span><br><span class="line"><span class="built_in">export</span> VLLM_PRECOMPILED_WHEEL_LOCATION=https://wheels.vllm.ai/a5dd03c1ebc5e4f56f3c9d3dc0436e9c582c978f/vllm-0.9.2-cp38-abi3-manylinux1_x86_64.whl</span><br><span class="line">VLLM_USE_PRECOMPILED=1 pip install -e . -v --no-build-isolation</span><br><span class="line">pip install <span class="string">&quot;git+https://github.com/huggingface/transformers&quot;</span> accelerate qwen-omni-utils -U</span><br></pre></td></tr></table></figure><p>（以上命令与限制说明均来自 Qwen3‑Omni 模型卡“vLLM Usage”。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><ol start="2"><li>代码示例（vLLM 推理，含多模态数据装载）：模型卡已给出 <code>LLM(... limit_mm_per_prompt=...)</code> 的完整示例，可直接复制。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li></ol><blockquote><p><strong>补充</strong>：vLLM 官方 Docker 提供 OpenAI 兼容服务镜像（通用）。如要跑 Omni，仍建议按模型卡说明从源码装含多模态支持的分支，或使用官方后续提供的镜像。(<a href="https://docs.vllm.ai/en/stable/deployment/docker.html?utm_source=chatgpt.com" title="Using Docker - vLLM">vLLM</a>)</p></blockquote><h2 id="四、（你最关心）能不能用-Ollama-从-Hugging-Face-直接部署-Qwen3‑Omni？"><a href="#四、（你最关心）能不能用-Ollama-从-Hugging-Face-直接部署-Qwen3‑Omni？" class="headerlink" title="四、（你最关心）能不能用 Ollama 从 Hugging Face 直接部署 Qwen3‑Omni？"></a>四、（你最关心）能不能用 Ollama 从 Hugging Face 直接部署 Qwen3‑Omni？</h2><h3 id="结论（基于检索）"><a href="#结论（基于检索）" class="headerlink" title="结论（基于检索）"></a>结论（基于检索）</h3><p><strong>当前不可行</strong>（至少不具备“全模态＋语音输出”的同等能力），原因有三：</p><ol><li><strong>Ollama 只支持 GGUF</strong>（llama.cpp 系列）直接拉取 Hugging Face 模型：官方文档明确“可用任何 GGUF 模型，一条命令跑起”。而 <strong>Qwen3‑Omni 在 Hugging Face 发布的是 <code>safetensors</code></strong>（Transformers&#x2F;vLLM 生态），<strong>非 GGUF</strong>。(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</li><li><strong>Ollama 目前不支持音频输入</strong>（官方 Feature Request 正在排期&#x2F;讨论），这意味着即便日后出现社区 GGUF 转换，也<strong>无法在 Ollama 内实现 Qwen3‑Omni 的音频&#x2F;视频输入与语音输出闭环</strong>。(<a href="https://github.com/ollama/ollama/issues/11798?utm_source=chatgpt.com" title="Feature Request: Add Audio Input Support for Multimodal Models">GitHub</a>)</li><li><strong>Qwen3‑Omni 为 30B MoE + 多模态 + Talker&#x2F;TTS</strong> 的复杂栈；Ollama 虽已支持部分 <strong>MoE</strong> 文本模型与<strong>图像输入</strong>，但<strong>音频&#x2F;视频与 TTS</strong>仍缺位。(<a href="https://ollama.com/library/granite3-moe?utm_source=chatgpt.com" title="granite3-moe - ollama.com">Ollama</a>)</li></ol><blockquote><p><strong>对比参考</strong>：Qwen 团队早前的 <strong>Qwen2.5‑Omni</strong> 有社区 <strong>GGUF</strong> 转换，但 llama.cpp 侧也注明<strong>不支持视频输入与音频生成</strong>（仅文本&#x2F;图像&#x2F;音频输入部分特性），并且这属于 <strong>llama.cpp 生态</strong>，非 Ollama 官方全功能支持。(<a href="https://huggingface.co/ggml-org/Qwen2.5-Omni-3B-GGUF?utm_source=chatgpt.com" title="ggml-org&#x2F;Qwen2.5-Omni-3B-GGUF · Hugging Face">Hugging Face</a>)</p></blockquote><h3 id="退一步的折中做法（两条路）"><a href="#退一步的折中做法（两条路）" class="headerlink" title="退一步的折中做法（两条路）"></a>退一步的折中做法（两条路）</h3><ul><li><p><strong>路 A｜文本先行（Ollama）</strong>：在 Ollama 直接运行 <strong>Qwen3（文本版）GGUF</strong>，即可完成“思维&#x2F;非思维”两种文本对话能力的本地部署，但<strong>不含音频&#x2F;视频&#x2F;TTS</strong>。示例：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 直接拉取官方库中的 Qwen3（示例 8B GGUF）</span></span><br><span class="line">ollama run hf.co/Qwen/Qwen3-8B-GGUF:Q4_K_M</span><br></pre></td></tr></table></figure><p>（Ollama + HF GGUF 的“hf.co&#x2F;用户名&#x2F;仓库[:量化标签]”写法，见 Hugging Face 官方文档；Qwen3 GGUF 由官方提供。）(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</p></li><li><p><strong>路 B｜全功能优先（推荐）</strong>：按上文 <strong>vLLM&#x2F;Transformers</strong> 路线部署 Qwen3‑Omni，原生支持音频&#x2F;视频输入与<strong>语音输出</strong>，随后在业务层用 <strong>OpenAI 兼容接口</strong> 接入你已有的应用。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p></li></ul><h2 id="五、面向生产落地的实操清单"><a href="#五、面向生产落地的实操清单" class="headerlink" title="五、面向生产落地的实操清单"></a>五、面向生产落地的实操清单</h2><ul><li><strong>在线入口</strong>：Hugging Face <strong>Qwen3‑Omni Demo</strong> 与 <strong>Captioner Demo</strong>，用于业务前评估；模型卡含 Cookbook 与多模态日志。(<a href="https://huggingface.co/spaces/Qwen/Qwen3-Omni-Demo" title="Qwen3 Omni Demo - a Hugging Face Space by Qwen">Hugging Face</a>)</li><li><strong>本地&#x2F;私有化</strong>：优先 vLLM &#x2F; Transformers；如需容器化，可关注 <strong>qwenllm&#x2F;qwen3‑omni</strong> DockerHub（官方或社区镜像），以及 vLLM 官方镜像。(<a href="https://docs.vllm.ai/en/stable/deployment/docker.html?utm_source=chatgpt.com" title="Using Docker - vLLM">vLLM</a>)</li><li><strong>接口适配</strong>：vLLM 提供 <strong>OpenAI 兼容</strong>服务端，便于与你现有 SDK&#x2F;微服务集成。(<a href="https://docs.vllm.ai/en/stable/deployment/docker.html?utm_source=chatgpt.com" title="Using Docker - vLLM">vLLM</a>)</li><li><strong>硬件建议</strong>：Instruct（含 Talker&#x2F;TTS）显存需求较高，可先在开发机关闭语音输出（<code>disable_talker</code>），验证通过后再上 A&#x2F;H 系列服务器或多卡并行。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li></ul><h2 id="六、常见问题（FAQ）"><a href="#六、常见问题（FAQ）" class="headerlink" title="六、常见问题（FAQ）"></a>六、常见问题（FAQ）</h2><p><strong>Q1：我就想用 Ollama，能不能“把 Omni 转成 GGUF 再跑”？</strong><br>短期看难度很高：</p><ul><li>需要可靠的 <strong>GGUF 转换</strong>（MoE + 多模态编码器 + Talker TTS 栈）；</li><li><strong>Ollama 目前不支持音频输入</strong>，即使加载成功也跑不出 Omni 的关键价值（听+说）。(<a href="https://github.com/ollama/ollama/issues/11798?utm_source=chatgpt.com" title="Feature Request: Add Audio Input Support for Multimodal Models">GitHub</a>)<br>因此建议把 <strong>Ollama</strong> 用于<strong>文本类 Qwen3</strong> 或其它文本&#x2F;图像模型，把 <strong>Omni</strong> 的多模态与语音输出交给 <strong>vLLM&#x2F;Transformers</strong> 生态。(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</li></ul><p><strong>Q2：有没有“官方在线文档&#x2F;报道”证明 Qwen3‑Omni 已开源并可在线访问？</strong><br>有。Hugging Face 上线了 <strong>Qwen3‑Omni</strong> 集合与模型卡与 Demo；媒体也报道了发布与 API 形态。(<a href="https://huggingface.co/collections/Qwen/qwen3-omni-68d100a86cd0906843ceccbe" title="Qwen3-Omni - a Qwen Collection">Hugging Face</a>)</p><p><strong>Q3：我只要“听写&#x2F;转写&#x2F;翻译”，必须用 Instruct 吗？</strong><br>不必须。官方还提供了 <strong>Captioner</strong>（音频精细描述）与 <strong>Thinking</strong>（偏推理，仅文本输出）两个变体，可按任务选型并兼顾显存与吞吐。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><h2 id="七、可直接复制的部署脚本片段"><a href="#七、可直接复制的部署脚本片段" class="headerlink" title="七、可直接复制的部署脚本片段"></a>七、可直接复制的部署脚本片段</h2><blockquote><p><strong>A. Transformers 直跑（Instruct，含 TTS）</strong></p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 环境准备（建议新环境）</span></span><br><span class="line">pip install <span class="string">&quot;git+https://github.com/huggingface/transformers&quot;</span> accelerate qwen-omni-utils -U</span><br><span class="line"><span class="comment"># 可选</span></span><br><span class="line">pip install -U flash-attn --no-build-isolation</span><br><span class="line"></span><br><span class="line"><span class="comment"># （可选）离线下载权重</span></span><br><span class="line">huggingface-cli download Qwen/Qwen3-Omni-30B-A3B-Instruct --local-dir ./Qwen3-Omni-30B-A3B-Instruct</span><br></pre></td></tr></table></figure><p>（随后按上文 Python 代码示例推理。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><blockquote><p><strong>B. vLLM 服务（OpenAI 兼容；多并发）</strong><br>（按模型卡“vLLM Usage”安装分支版本）</p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">git <span class="built_in">clone</span> -b qwen3_omni https://github.com/wangxiongts/vllm.git &amp;&amp; <span class="built_in">cd</span> vllm</span><br><span class="line">pip install -r requirements/build.txt &amp;&amp; pip install -r requirements/cuda.txt</span><br><span class="line"><span class="built_in">export</span> VLLM_PRECOMPILED_WHEEL_LOCATION=...</span><br><span class="line">VLLM_USE_PRECOMPILED=1 pip install -e . -v --no-build-isolation</span><br><span class="line">pip install <span class="string">&quot;git+https://github.com/huggingface/transformers&quot;</span> accelerate qwen-omni-utils -U</span><br></pre></td></tr></table></figure><p>（服务化与多模态输入示例见模型卡给出的 <code>LLM(...)</code> 代码段。）(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</p><blockquote><p><strong>C.（折中）Ollama 文本版 Qwen3</strong></p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 直接跑 Qwen3 GGUF（文本对话，不含音频/视频/TTS）</span></span><br><span class="line">ollama run hf.co/Qwen/Qwen3-8B-GGUF:Q4_K_M</span><br></pre></td></tr></table></figure><p>（写法来自 Hugging Face《Use Ollama with any GGUF model》；Qwen3 GGUF 由官方提供。）(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</p><h2 id="参考与来源"><a href="#参考与来源" class="headerlink" title="参考与来源"></a>参考与来源</h2><ul><li><strong>Qwen3‑Omni 模型卡与 QuickStart</strong>（含 Transformers 与 vLLM 用法、Cookbook、语音输出参数等）。(<a href="https://huggingface.co/Qwen/Qwen3-Omni-30B-A3B-Instruct" title="Qwen&#x2F;Qwen3-Omni-30B-A3B-Instruct · Hugging Face">Hugging Face</a>)</li><li><strong>Hugging Face 集合与在线 Demo</strong>（Qwen3‑Omni Demo &#x2F; Captioner Demo）。(<a href="https://huggingface.co/collections/Qwen/qwen3-omni-68d100a86cd0906843ceccbe" title="Qwen3-Omni - a Qwen Collection">Hugging Face</a>)</li><li><strong>媒体报道</strong>（发布与 API 形态）。(<a href="https://venturebeat.com/ai/chinas-alibaba-challenges-u-s-tech-giants-with-open-source-qwen3-omni-ai" title="China&#39;s Alibaba challenges U.S. tech giants with open source Qwen3-Omni AI model accepting text, audio, image and video">Venturebeat</a>)</li><li><strong>Ollama × Hugging Face 文档（GGUF 限定）</strong>。(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</li><li><strong>Ollama 音频输入功能请求（尚未支持）</strong>。(<a href="https://github.com/ollama/ollama/issues/11798?utm_source=chatgpt.com" title="Feature Request: Add Audio Input Support for Multimodal Models">GitHub</a>)</li><li><strong>Qwen3 在 Ollama 的文本模型库</strong>（可作为折中方案）。(<a href="https://ollama.com/library/qwen3?utm_source=chatgpt.com" title="qwen3 - ollama.com">Ollama</a>)</li></ul><h3 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h3><ul><li><strong>“HF 下载 → Ollama 部署 Qwen3‑Omni”路线，当前结论是：不可行</strong>（缺 GGUF，且 Ollama 不支持音频输入&#x2F;语音输出）。如果你接受<strong>文本优先</strong>，可以用 <strong>Qwen3 GGUF</strong> 在 Ollama 起服务；如果你要<strong>完整全模态与 TTS</strong>，请照本文给的 <strong>Transformers&#x2F;vLLM</strong> 步骤执行。(<a href="https://huggingface.co/docs/hub/ollama" title="Use Ollama with any GGUF Model on Hugging Face Hub">Hugging Face</a>)</li></ul>]]></content>
    
    
    <summary type="html">端到端全模态 Qwen3‑Omni：它能做什么、哪里用、如何用 Transformers/vLLM 本地部署与常见坑位。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Qwen" scheme="https://www.laogou717.com/tags/Qwen/"/>
    
    <category term="Qwen3-Omni" scheme="https://www.laogou717.com/tags/Qwen3-Omni/"/>
    
    <category term="全模态" scheme="https://www.laogou717.com/tags/%E5%85%A8%E6%A8%A1%E6%80%81/"/>
    
  </entry>
  
  <entry>
    <title>Wan2.2‑Animate 使用全攻略（ComfyUI/在线体验/参数建议）</title>
    <link href="https://www.laogou717.com/2025/09/21/AI%20era/Wan/Wan2.2-Animate/"/>
    <id>https://www.laogou717.com/2025/09/21/AI%20era/Wan/Wan2.2-Animate/</id>
    <published>2025-09-21T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://image.laogou717.com/file/image/blog/2024/fMX1Lrr8.png" alt="wan2.2animate"></p><h2 id="1-Wan2-2‑Animate-是什么？"><a href="#1-Wan2-2‑Animate-是什么？" class="headerlink" title="1. Wan2.2‑Animate 是什么？"></a>1. Wan2.2‑Animate 是什么？</h2><p>Wan2.2 是阿里云推出的新一代多模态视频生成模型，采用 MoE（Mixture of Experts）架构，强调影视级美学控制、复杂运动建模与更强的语义遵循；支持文生视频、图生视频与动作驱动等能力。</p><h2 id="2-哪里可以使用（推荐方式）"><a href="#2-哪里可以使用（推荐方式）" class="headerlink" title="2. 哪里可以使用（推荐方式）"></a>2. 哪里可以使用（推荐方式）</h2><p><img src="https://image.laogou717.com/file/Lqy5BcVi.png" alt="在线"></p><ul><li>在线体验（免环境，官方）：Hugging Face Space「Wan2.2‑Animate」可直接上传参考图与动作素材体验 Animation &#x2F; Replacement 两种模式：<a href="https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate">https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate</a></li><li>官方平台（wan.video）：<ul><li>官网与产品页（支持登录后使用“Try Now&#x2F;Generate”入口）：<a href="https://wan.video/welcome">https://wan.video/welcome</a> 与 <a href="https://create.wan.video/generate">https://create.wan.video/generate</a></li><li>官方技术博客（Wan‑Animate 两种模式与技术要点）：<a href="https://wan.video/blog/wan2.2-animate">https://wan.video/blog/wan2.2-animate</a></li></ul></li><li>国内平台：ModelScope Studio 在线体验（更友好国内网络）：<a href="https://www.modelscope.cn/studios/Wan-AI/Wan2.2-Animate">https://www.modelscope.cn/studios/Wan-AI/Wan2.2-Animate</a></li><li>本地部署：使用 ComfyUI 最新版本，加载官方提供的 Wan2.2 原生模板（如 “Wan2.2 14B I2V”），按提示下载&#x2F;配置对应权重后即可运行。</li><li>源码与权重：官方 GitHub 仓库提供 Wan2.2‑Animate 的开源代码、示例与说明，包含“角色动画&#x2F;替换”的脚本与流程：<a href="https://github.com/Wan-Video/Wan2.2">https://github.com/Wan-Video/Wan2.2</a></li><li>社区在线与工作流：RunComfy 提供 Wan2.2 相关在线与工作流范例，便于快速试验与对照：<a href="https://www.runcomfy.com/playground/wan-ai/wan-2-2">https://www.runcomfy.com/playground/wan-ai/wan-2-2</a></li></ul><h2 id="3-Animate-两大实战玩法"><a href="#3-Animate-两大实战玩法" class="headerlink" title="3. Animate 两大实战玩法"></a>3. Animate 两大实战玩法</h2><p>Wan2.2‑Animate 更适合做“动作驱动类”的视频：给定一张或多张参考人物图，再提供动作参考视频，让目标角色按照参考动作自然运动，且尽量保持身份与表情一致。<br><img src="https://image.laogou717.com/file/kOljW2Q6.png" alt="角色动画"><br>A. 角色动画（Animate）</p><ul><li>准备：1 张清晰的人物&#x2F;角色参考图 + 1 段动作参考视频（推荐与目标构图相近、光线稳定）。</li><li>流程思路：将参考图与动作视频传入 Animate 工作流 → 设定输出尺寸和时长 → 运行。</li><li>经验值：<ul><li>参考图正脸清晰、无强遮挡，效果稳定。</li><li>参考视频运动不宜过快，光比大幅变化会带来抖动。</li></ul></li></ul><p><img src="https://image.laogou717.com/file/r4PTQf7c.png" alt="角色替换"><br>B. 角色替换（Replace）</p><ul><li>用途：将视频中原人物替换为参考图人物，保留原视频的动作与镜头语言。</li><li>基本步骤：<ol><li>提供待替换视频与参考人物图；</li><li>设置迭代次数&#x2F;关键帧窗口等超参数；</li><li>导出结果并检查面部一致性与边缘融合；</li></ol></li><li>调参建议：适度提高迭代与关键帧跨度可提升一致性，但会增加耗时；</li></ul><h2 id="2-1-在线体验到出片（一步步）"><a href="#2-1-在线体验到出片（一步步）" class="headerlink" title="2.1 在线体验到出片（一步步）"></a>2.1 在线体验到出片（一步步）</h2><ol><li>打开在线体验入口（Wan2.2‑Animate Space）：<a href="https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate">https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate</a></li><li>选择玩法模式：<ul><li>Animate（角色动画）：上传 1 张人物&#x2F;角色参考图 + 1 段动作参考视频，输出为“静态图随参考视频动作运动”的成片，身份与表情尽量一致。</li><li>Replace（角色替换）：上传 1 段原视频 + 1 张人物参考图，将原视频人物替换为参考人物，保留镜头与动作。</li></ul></li><li>上传素材：参考图建议正脸清晰、无遮挡；动作视频尽量画面稳定、运动不宜过快。</li><li>参数建议：<ul><li>分辨率先用 720p（或默认）试跑；长度 3–5s 快速预览；帧率 24&#x2F;25fps。</li><li>若出现抖动&#x2F;拉扯，缩短时长或更换光线更稳定的参考视频，再提升分辨率与时长。</li></ul></li><li>点击运行并等待生成；如果边缘融合不理想，适当更换参考图或提高质量参数后重试。</li></ol><h3 id="2-2-从在线到本地复现（参数迁移指北）"><a href="#2-2-从在线到本地复现（参数迁移指北）" class="headerlink" title="2.2 从在线到本地复现（参数迁移指北）"></a>2.2 从在线到本地复现（参数迁移指北）</h3><ul><li>在在线 Space 跑通并满意后，记录：输入分辨率（宽×高）、时长（秒&#x2F;帧）、采样步数、提示词、模式（Animate&#x2F;Replace）。</li><li>在本地 ComfyUI 打开 Wan2.2 模板后：<ul><li>在 EmptyHunyuanLatentVideo（或相应尺寸节点）中设置相同分辨率与 length；</li><li>在 CLIP Text Encoder 粘贴相同的正&#x2F;负向提示词；</li><li>在 KSampler 或相应采样节点设置一致的步数、CFG 等；</li><li>替换为相同的参考图与动作视频；</li></ul></li><li>先以 720p&#x2F;短时长复核效果，再逐步升到 1080p 及更长时长以节省调试时间。</li></ul><h2 id="4-本地-ComfyUI-快速上手"><a href="#4-本地-ComfyUI-快速上手" class="headerlink" title="4. 本地 ComfyUI 快速上手"></a>4. 本地 ComfyUI 快速上手</h2><p><img src="https://image.laogou717.com/file/T9OopCwi.png" alt="本地 ComfyUI"></p><ol><li>准备环境</li></ol><ul><li>更新 ComfyUI 至最新版（建议使用官方启动器或拉取最新源码）。</li><li>打开 ComfyUI，菜单：工作流 → 浏览模板 → 视频 → 选择 “Wan2.2 14B I2V”。</li></ul><ol start="2"><li>模型与文件放置（常见目录）</li></ol><ul><li>Diffusion 模型：放入 ComfyUI&#x2F;models&#x2F;diffusion_models&#x2F;</li><li>文本编码器（如 umt5_xxl…）：放入 ComfyUI&#x2F;models&#x2F;text_encoders&#x2F;</li><li>VAE：放入 ComfyUI&#x2F;models&#x2F;vae&#x2F;</li><li>加载失败时，检查节点上模型名与实际文件是否一致，或在节点列表里重新指向对应文件。</li></ul><ol start="3"><li>基础操作</li></ol><ul><li>I2V（图生视频）：在模板中替换输入图、修改正&#x2F;负向提示词（CLIP Text Encoder 节点），设置分辨率与时长（EmptyHunyuanLatentVideo 等节点），点击 Run 生成。</li><li>T2V（文生视频）：清空输入图，仅保留提示词与尺寸配置；其他流程相同。</li></ul><p>3.1 硬件&#x2F;软件建议（概览）</p><ul><li>显卡：5B 体量模型更显存友好（常见 8–12GB 可做 720p 快速预览），14B 体量更强调人物一致性与细节，需更高显存；如显存不足，优先降低分辨率&#x2F;时长或改用 5B 体量。</li><li>运行库：建议 Torch ≥ 2.4；若使用官方推理代码，可结合 offload&#x2F;混合精度降低显存压力。</li></ul><p>3.2 Kijai 插件（进阶，可选）</p><ul><li>插件：ComfyUI‑WanVideoWrapper</li><li>作用：提供更灵活的视频封装与最新研究优化，Wan 系列适配更新更快；适合希望深度定制的进阶用户。</li><li>安装：进入 ComfyUI&#x2F;custom_nodes 目录后拉取仓库；或在 ComfyUI Manager 搜索安装。<ul><li>插件与示例工作流：<ul><li>插件仓库：<a href="https://github.com/kijai/ComfyUI-WanVideoWrapper">https://github.com/kijai/ComfyUI-WanVideoWrapper</a></li><li>示例工作流目录：<a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/tree/main/example_workflows">https://github.com/kijai/ComfyUI-WanVideoWrapper/tree/main/example_workflows</a></li></ul></li></ul></li></ul><p>3.3 使用官方仓库命令行推理（可选，适合批处理&#x2F;自动化）</p><ul><li>准备：<ul><li>克隆官方仓库并安装依赖（确保 torch ≥ 2.4.0）：</li><li>通过 Hugging Face 或 ModelScope 下载对应模型到本地目录。</li></ul></li><li>示例：动画模式（Animation）&#x2F;替换模式（Replacement）的预处理与生成<ul><li>预处理（根据你的输入视频&#x2F;参考图路径调整）：</li></ul></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">python ./wan/modules/animate/preprocess/preprocess_data.py \</span><br><span class="line">  --ckpt_path ./Wan2.2-Animate-14B/process_checkpoint \</span><br><span class="line">  --video_path ./examples/animate/video.mp4 \</span><br><span class="line">  --refer_path ./examples/animate/character.jpg \</span><br><span class="line">  --save_path ./examples/animate/process_results \</span><br><span class="line">  --resolution_area 1280 720 \</span><br><span class="line">  --retarget_flag</span><br></pre></td></tr></table></figure><ul><li>生成：</li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">python generate.py \</span><br><span class="line">  --task animate-14B \</span><br><span class="line">  --ckpt_dir ./Wan2.2-Animate-14B/ \</span><br><span class="line">  --src_root_path ./examples/animate/process_results/ \</span><br><span class="line">  --refert_num 1</span><br></pre></td></tr></table></figure><ul><li>小贴士：遇到 OOM 可尝试启用 offload&#x2F;混合精度或缩短时长与分辨率；多卡环境可按官方说明使用 FSDP&#x2F;Ulysses 等并行策略。</li></ul><h2 id="5-关键参数与建议"><a href="#5-关键参数与建议" class="headerlink" title="5. 关键参数与建议"></a>5. 关键参数与建议</h2><ul><li>分辨率与时长：常见 720p（或按模板默认）先测试，跑通后再提升分辨率和时长；高分辨率对显存更敏感。</li><li>提示词：风格&#x2F;光影&#x2F;景别要明确，负向提示避免畸变与多余物体；可准备多套模板提示词复用。</li><li>参考素材：<ul><li>人物图保证面部清晰、无遮挡、发型边缘干净；</li><li>动作视频尽量稳定、少运动模糊；</li></ul></li><li>性能：显存吃紧时优先降低分辨率或时长，再考虑关闭高阶修复节点。</li></ul><h2 id="6-常见问题排查"><a href="#6-常见问题排查" class="headerlink" title="6. 常见问题排查"></a>6. 常见问题排查</h2><ul><li>模型加载失败：检查节点绑定的文件名是否存在；若是首次运行，下载权重后将其放入正确目录并在节点上重新选择。</li><li>结果抖动&#x2F;表情僵硬：<ul><li>换一条更稳定的动作参考视频；</li><li>适度提高迭代&#x2F;关键帧窗口；</li><li>参考图尽量与目标镜头角度接近。</li></ul></li><li>色彩&#x2F;光影不统一：增加或减弱风格&#x2F;光影相关提示词；必要时做一次性后期色彩匹配。</li></ul><h2 id="7-资源索引（建议收藏）"><a href="#7-资源索引（建议收藏）" class="headerlink" title="7. 资源索引（建议收藏）"></a>7. 资源索引（建议收藏）</h2><ul><li>官方原生工作流与说明（ComfyUI）：<a href="https://docs.comfy.org/zh-CN/tutorials/video/wan/wan2_2">https://docs.comfy.org/zh-CN/tutorials/video/wan/wan2_2</a></li><li>Wan2.2‑Animate 在线体验（Hugging Face Space）：<a href="https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate">https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate</a></li><li>官方开源仓库（含 Animate&#x2F;Replace 脚本）：<a href="https://github.com/Wan-Video/Wan2.2">https://github.com/Wan-Video/Wan2.2</a></li><li>官方主页与产品入口：<ul><li>官网总览（含 Try Now）：<a href="https://wan.video/welcome">https://wan.video/welcome</a></li><li>生成入口（需登录）：<a href="https://create.wan.video/generate">https://create.wan.video/generate</a></li></ul></li><li>官方技术博客（Wan‑Animate 模式详解）：<a href="https://wan.video/blog/wan2.2-animate">https://wan.video/blog/wan2.2-animate</a></li><li>国内在线体验（ModelScope Studio）：<a href="https://www.modelscope.cn/studios/Wan-AI/Wan2.2-Animate">https://www.modelscope.cn/studios/Wan-AI/Wan2.2-Animate</a></li><li>社区工作流与教程（RunComfy）：<ul><li>Wan2.2 Playground：<br><a href="https://www.runcomfy.com/playground/wan-ai/wan-2-2">https://www.runcomfy.com/playground/wan-ai/wan-2-2</a></li><li>VACE Fun（图像参考驱动动画）工作流：<br><a href="https://www.runcomfy.com/comfyui-workflows/wan2-2-vace-fun-in-comfyui-image-animation-workflow">https://www.runcomfy.com/comfyui-workflows/wan2-2-vace-fun-in-comfyui-image-animation-workflow</a></li><li>Fun Camera（相机运动）工作流：<br><a href="https://www.runcomfy.com/comfyui-workflows/wan2-2-fun-camera-in-comfyui-cinematic-panning-zoom-rotation">https://www.runcomfy.com/comfyui-workflows/wan2-2-fun-camera-in-comfyui-cinematic-panning-zoom-rotation</a></li></ul></li><li>站内延伸阅读：<ul><li>如何下载飞书只读文档？2025最新方法（支持Markdown&#x2F;PDF导出）：<a href="https://www.laogou717.com/2025/09/21/feishu-lark-document-download-guide-2025/">https://www.laogou717.com/2025/09/21/feishu-lark-document-download-guide-2025/</a></li></ul></li></ul>]]></content>
    
    
    <summary type="html">从零上手阿里『万相』Wan2.2‑Animate：它能做什么、哪里用、如何用本地 ComfyUI 跑通及常见坑位。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Qwen" scheme="https://www.laogou717.com/tags/Qwen/"/>
    
    <category term="Wan2.2-Animate" scheme="https://www.laogou717.com/tags/Wan2-2-Animate/"/>
    
    <category term="ComfyUI" scheme="https://www.laogou717.com/tags/ComfyUI/"/>
    
  </entry>
  
  <entry>
    <title>如何下载飞书只读文档？2025最新方法（支持Markdown/PDF导出）</title>
    <link href="https://www.laogou717.com/2025/09/20/%E5%B9%B2%E8%B4%A7/%E9%A3%9E%E4%B9%A6%E6%96%87%E6%A1%A3%E4%B8%8B%E8%BD%BD/"/>
    <id>https://www.laogou717.com/2025/09/20/%E5%B9%B2%E8%B4%A7/%E9%A3%9E%E4%B9%A6%E6%96%87%E6%A1%A3%E4%B8%8B%E8%BD%BD/</id>
    <published>2025-09-20T20:00:00.000Z</published>
    <updated>2025-09-20T20:30:00.000Z</updated>
    
    <content type="html"><![CDATA[<p><strong>你是不是也遇到过这种情况？</strong></p><p>好不容易找到一份优质的 <strong>飞书</strong> 文档，想要保存下来慢慢研究，却发现：</p><ul><li><input disabled="" type="checkbox"> 没有下载按钮</li><li><input disabled="" type="checkbox"> 无法复制内容</li><li><input disabled="" type="checkbox"> 只有「仅阅读」权限</li><li><input disabled="" type="checkbox"> 想让 AI 帮忙总结却无法提取文本</li></ul><p>别急着截图！今天分享一个工具，让你轻松将飞书只读文档转换为 <strong>Markdown</strong> 格式，尽量保留格式和图片。</p><h2 id="为什么飞书文档这么难下载？"><a href="#为什么飞书文档这么难下载？" class="headerlink" title="为什么飞书文档这么难下载？"></a>为什么飞书文档这么难下载？</h2><p><img src="https://image.laogou717.com/file/gdcvyBHQ.png" alt="飞书文档首页"><br>飞书作为字节跳动旗下的协作平台，在 <strong>文档权限管理</strong> 上做得相当严格。根据<a href="https://www.feishu.cn/hc/zh-CN/articles/360049067527-%E8%AE%BE%E7%BD%AE%E4%BA%91%E6%96%87%E6%A1%A3%E5%88%86%E4%BA%AB-%E5%A4%8D%E5%88%B6-%E4%B8%8B%E8%BD%BD-%E8%AF%84%E8%AE%BA%E7%AD%89%E6%9D%83%E9%99%90">飞书官方文档说明</a>[^1]，文档创建者可以设置：</p><ul><li><strong>禁止复制文档内容</strong></li><li><strong>禁止下载和打印</strong></li><li><strong>禁止创建副本</strong></li><li><strong>限制仅组织内访问</strong></li></ul><p>这些限制虽然保护了文档安全，但对于想要离线学习或整理资料的用户来说，确实带来了不便。特别是当你想用 AI 工具帮忙总结长文档时，更是束手无策。</p><h2 id="解决方案：Cloud-Document-Converter"><a href="#解决方案：Cloud-Document-Converter" class="headerlink" title="解决方案：Cloud Document Converter"></a>解决方案：Cloud Document Converter</h2><p><img src="https://image.laogou717.com/file/BkJ5qZog.png" alt="Cloud Document Converte"><br><strong>Cloud Document Converter</strong> 是一个专门用于将飞书文档转换为 <strong>Markdown</strong> 格式的浏览器扩展。它的核心优势是：</p><ul><li><input checked="" disabled="" type="checkbox"> <strong>完全免费</strong>：开源项目，无需付费  </li><li><input checked="" disabled="" type="checkbox"> <strong>操作简单</strong>：三次点击即可完成下载  </li><li><input checked="" disabled="" type="checkbox"> <strong>格式完整</strong>：保留原始排版、图片和附件  </li><li><input checked="" disabled="" type="checkbox"> <strong>支持多平台</strong>：Chrome、Edge、Firefox 都能用  </li><li><input checked="" disabled="" type="checkbox"> <strong>实时转换</strong>：不需要上传到第三方服务器</li></ul><h3 id="支持的平台"><a href="#支持的平台" class="headerlink" title="支持的平台"></a>支持的平台</h3><p>根据 <a href="https://github.com/whale4113/cloud-document-converter">GitHub 项目页面</a>[^2]，该扩展目前主要支持：</p><ul><li><strong>飞书 &#x2F; Lark 文档</strong>（核心功能）</li><li>更多平台支持正在开发中</li></ul><h2 id="安装教程"><a href="#安装教程" class="headerlink" title="安装教程"></a>安装教程</h2><h3 id="1-安装浏览器扩展"><a href="#1-安装浏览器扩展" class="headerlink" title="1. 安装浏览器扩展"></a>1. 安装浏览器扩展</h3><p>根据你的浏览器选择对应的安装方式：</p><ul><li><strong>Chrome 用户</strong>：访问 <a href="https://chromewebstore.google.com/detail/cloud-document-converter/ehkomhhcinhikfddnmklbloahaakploh?hl=zh">Chrome 应用商店</a></li><li><strong>Edge 用户</strong>：访问 <a href="https://microsoftedge.microsoft.com/addons/detail/pcjebkebnehplnpkpnhipagefaffiopp">Edge 插件商店</a></li><li><strong>Firefox 用户</strong>：访问 <a href="https://addons.mozilla.org/en-US/firefox/addon/cloud-document-converter/">Firefox 插件商店</a></li></ul><p>点击「<strong>添加到浏览器</strong>」即可完成安装。</p><p><img src="https://image.laogou717.com/file/YsvHL7P1.png" alt="Cloud Document Converter扩展"></p><h3 id="2-固定扩展图标（推荐）"><a href="#2-固定扩展图标（推荐）" class="headerlink" title="2. 固定扩展图标（推荐）"></a>2. 固定扩展图标（推荐）</h3><p>为了方便使用，建议将扩展 <strong>固定到工具栏</strong>：</p><p><img src="https://image.laogou717.com/file/r2rAN0ex.png" alt="Google扩展"></p><p>点击浏览器右上角的扩展图标，找到 <strong>Cloud Document Converter</strong>：</p><p><img src="https://image.laogou717.com/file/5IQYklq2.png" alt="固定扩展"></p><p>点击图钉图标进行固定，这样每次使用就更方便了！</p><h2 id="使用方法详解"><a href="#使用方法详解" class="headerlink" title="使用方法详解"></a>使用方法详解</h2><h3 id="第一步：打开目标文档"><a href="#第一步：打开目标文档" class="headerlink" title="第一步：打开目标文档"></a>第一步：打开目标文档</h3><p>在浏览器中打开你想要下载的飞书文档，确保：</p><ul><li><input checked="" disabled="" type="checkbox"> 已 <strong>登录</strong> 飞书账号</li><li><input checked="" disabled="" type="checkbox"> 至少有文档的 <strong>阅读权限</strong></li></ul><p><img src="https://image.laogou717.com/file/61ypFqBU.png" alt="飞书阅读权限"></p><h3 id="第二步：选择下载方式"><a href="#第二步：选择下载方式" class="headerlink" title="第二步：选择下载方式"></a>第二步：选择下载方式</h3><p>点击扩展图标，你会看到 <strong>三个选项</strong>：</p><p><img src="https://image.laogou717.com/file/kWytyeyI.png" alt="下载选项"></p><h4 id="三种下载方式的区别："><a href="#三种下载方式的区别：" class="headerlink" title="三种下载方式的区别："></a>三种下载方式的区别：</h4><ol><li><p><strong>查看 Markdown</strong></p><ul><li>直接在浏览器新标签页中 <strong>预览 Markdown</strong> 格式  </li><li>适合 <strong>快速查看</strong> 和 <strong>部分复制</strong>  </li><li>可以直接 <strong>复制粘贴</strong> 到其他编辑器</li></ul><p><img src="https://image.laogou717.com/file/SNUqu4Gz.png" alt="查看Markdown"></p></li><li><p><strong>复制为 Markdown</strong></p><ul><li>一键将 <strong>整个文档复制</strong> 到剪贴板  </li><li>适合直接粘贴到 <strong>笔记软件</strong>（如 Obsidian、Notion 等）  </li><li><strong>最快速</strong> 的保存方式</li></ul></li><li><p><strong>导出为 Markdown（推荐）</strong></p><ul><li>下载 <strong>完整的 Markdown 文件</strong>  </li><li><strong>同时下载所有图片和附件到本地</strong>  </li><li>自动 <strong>更新 Markdown 中的图片链接</strong> 为本地路径  </li><li>适合 <strong>长期保存</strong> 和 <strong>离线阅读</strong></li></ul></li></ol><h3 id="第三步：查看下载结果"><a href="#第三步：查看下载结果" class="headerlink" title="第三步：查看下载结果"></a>第三步：查看下载结果</h3><p>选择「<strong>导出为 Markdown</strong>」后，会自动下载一个 <strong>压缩包</strong>，包含：</p><p><img src="https://image.laogou717.com/file/yFT2rNjB.png" alt="导出为Markdown展示"></p><p>压缩包解压后的 <strong>文件结构</strong>：</p><p><img src="https://image.laogou717.com/file/KaeZRwMI.png" alt="导出为Markdown图片展示"></p><ul><li><strong>主文档</strong>（<code>.md</code> 格式）</li><li><code>images</code> 文件夹（包含所有图片）</li><li>其他附件</li></ul><p>最终 <strong>效果展示</strong>：</p><p><img src="https://image.laogou717.com/file/12V0dm9a.png" alt="导出为Markdown文档展示"></p><h2 id="常见问题解答"><a href="#常见问题解答" class="headerlink" title="常见问题解答"></a>常见问题解答</h2><h3 id="Q：图片链接会失效吗？"><a href="#Q：图片链接会失效吗？" class="headerlink" title="Q：图片链接会失效吗？"></a>Q：图片链接会失效吗？</h3><p><strong>A：</strong> 根据<a href="https://chromewebstore.google.com/detail/cloud-document-converter/ehkomhhcinhikfddnmklbloahaakploh">开发者说明</a>[^3]，如果选择「<strong>查看 Markdown</strong>」或「<strong>复制为 Markdown</strong>」，图片使用的是 <strong>临时链接</strong>，<strong>只有 2 小时有效期</strong>。建议使用「<strong>导出为 Markdown</strong>」功能，会将图片 <strong>下载到本地</strong>，<strong>长期可用</strong>。</p><h3 id="Q：能保留原始格式吗？"><a href="#Q：能保留原始格式吗？" class="headerlink" title="Q：能保留原始格式吗？"></a>Q：能保留原始格式吗？</h3><p><strong>A：</strong> 可以！扩展会尽可能保留原文档的：</p><ul><li><strong>标题层级</strong></li><li><strong>列表格式</strong></li><li><strong>代码块</strong></li><li><strong>表格结构</strong></li><li><strong>图片位置</strong></li></ul><h3 id="Q：下载的文档能用-AI-总结吗？"><a href="#Q：下载的文档能用-AI-总结吗？" class="headerlink" title="Q：下载的文档能用 AI 总结吗？"></a>Q：下载的文档能用 AI 总结吗？</h3><p><strong>A：</strong> 当然可以！<strong>Markdown 是纯文本格式</strong>，可以直接：</p><ul><li>复制粘贴给 <strong>ChatGPT &#x2F; Claude</strong> 等 AI 工具  </li><li>导入到支持 <strong>Markdown</strong> 的 <strong>笔记软件</strong>  </li><li>用任何 <strong>文本编辑器</strong> 打开编辑</li></ul><h3 id="Q：会不会被检测到？"><a href="#Q：会不会被检测到？" class="headerlink" title="Q：会不会被检测到？"></a>Q：会不会被检测到？</h3><p><strong>A：</strong> 该扩展是基于 <strong>浏览器的正常功能</strong> 实现，<strong>不是破解工具</strong>，仅将你有权限查看的内容转换为 Markdown。请遵守使用规范。</p><h2 id="使用建议和注意事项"><a href="#使用建议和注意事项" class="headerlink" title="使用建议和注意事项"></a>使用建议和注意事项</h2><h3 id="推荐场景"><a href="#推荐场景" class="headerlink" title="推荐场景"></a>推荐场景</h3><ul><li>保存学习资料供个人复习  </li><li>整理工作文档便于离线查阅  </li><li>将长文档交给 AI 工具分析总结  </li><li>迁移文档到其他平台（Notion、Obsidian 等）</li></ul><h3 id="法律与道德规范"><a href="#法律与道德规范" class="headerlink" title="法律与道德规范"></a>法律与道德规范</h3><ol><li><strong>尊重版权</strong>：仅下载你有合法访问权限的内容  </li><li><strong>个人使用</strong>：下载的内容仅供个人学习研究，不要传播  </li><li><strong>标注来源</strong>：引用他人内容时注明原作者和出处  </li><li><strong>商业禁止</strong>：不得将下载的内容用于商业目的  </li><li><strong>隐私保护</strong>：涉及他人隐私的文档请谨慎处理</li></ol><blockquote><p>能做不代表应该做。请合理使用这个工具，尊重知识产权。</p></blockquote><h2 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h2><p>这个扩展确实解决了很多人的痛点。就像开头提到的，有时候我们只是想把优质内容保存下来慢慢学习，或者让 AI 帮忙整理要点，却被各种权限限制困住。</p><p><strong>Cloud Document Converter</strong> 提供了一个优雅的解决方案，既不破坏平台规则，又满足了用户的合理需求。希望这个教程对你有帮助！</p><p>如果觉得有用，欢迎分享给需要的朋友～</p><h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h2><p>[^1]: <a href="https://www.feishu.cn/hc/zh-CN/articles/360049067527-%E8%AE%BE%E7%BD%AE%E4%BA%91%E6%96%87%E6%A1%A3%E5%88%86%E4%BA%AB-%E5%A4%8D%E5%88%B6-%E4%B8%8B%E8%BD%BD-%E8%AF%84%E8%AE%BA%E7%AD%89%E6%9D%83%E9%99%90">飞书官方文档 - 设置云文档分享、复制、下载、评论等权限</a><br>[^2]: <a href="https://github.com/whale4113/cloud-document-converter">Cloud Document Converter GitHub 项目页面</a><br>[^3]: <a href="https://chromewebstore.google.com/detail/cloud-document-converter/ehkomhhcinhikfddnmklbloahaakploh">Chrome Web Store - Cloud Document Converter</a></p>]]></content>
    
    
    <summary type="html">【2025最新】详细介绍如何使用Cloud Document Converter免费下载飞书/Lark只读文档，支持Markdown、PDF等格式导出，保留原始格式和图片，解决飞书文档无法复制、只有阅读权限的问题。包含详细安装使用教程和注意事项。</summary>
    
    
    
    <category term="工具教程" scheme="https://www.laogou717.com/categories/%E5%B7%A5%E5%85%B7%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="飞书" scheme="https://www.laogou717.com/tags/%E9%A3%9E%E4%B9%A6/"/>
    
    <category term="文档下载" scheme="https://www.laogou717.com/tags/%E6%96%87%E6%A1%A3%E4%B8%8B%E8%BD%BD/"/>
    
    <category term="浏览器扩展" scheme="https://www.laogou717.com/tags/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%89%A9%E5%B1%95/"/>
    
  </entry>
  
  <entry>
    <title>Hexo + Solitude 主题实战：谷歌 AdSense 配置与审核经验（实战版）</title>
    <link href="https://www.laogou717.com/2025/09/19/note/2025/google-adsense-guide/"/>
    <id>https://www.laogou717.com/2025/09/19/note/2025/google-adsense-guide/</id>
    <published>2025-09-19T17:27:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>这是一篇“能直接照着做”的实战总结。本站已完成 Google AdSense 审核并成功投放，下面把我们从 0 到 1 的配置、优化与排错经验系统记录，方便以后复审或给朋友复用。</p></blockquote><h2 id="一、结果先说：我们当前的广告策略"><a href="#一、结果先说：我们当前的广告策略" class="headerlink" title="一、结果先说：我们当前的广告策略"></a>一、结果先说：我们当前的广告策略</h2><ul><li>仅启用一个侧边栏信息流广告，降低密度，避免“广告过多”印象。</li><li>关闭自动广告与页面级广告，完全手动控制位置与样式，避免布局抖动。</li><li>保证合规页面齐全（隐私政策、关于页等）并在页脚和导航可直达。</li><li>ads.txt 已在根目录准备，发布后可通过 <a href="https://www.laogou717.com/ads.txt">https://www.laogou717.com/ads.txt</a> 访问。</li><li>所有变更都通过本地预览验证，再上线发布，确保无脚本报错与版式异常。</li></ul><h2 id="二、站点与主题环境"><a href="#二、站点与主题环境" class="headerlink" title="二、站点与主题环境"></a>二、站点与主题环境</h2><ul><li>框架与版本：Hexo 7.x + 主题 Solitude</li><li>仓库地址结构：<ul><li>站点配置：<code>/_config.yml</code></li><li>主题配置：<code>/_config.solitude.yml</code></li><li>隐私政策：<code>/source/privacy/index.md</code></li><li>ads.txt：<code>/source/ads.txt</code></li><li>主题广告注入：<code>/themes/solitude/layout/includes/body/gadsense.pug</code></li></ul></li></ul><h2 id="三、我们实际使用的主题配置（可直接参考）"><a href="#三、我们实际使用的主题配置（可直接参考）" class="headerlink" title="三、我们实际使用的主题配置（可直接参考）"></a>三、我们实际使用的主题配置（可直接参考）</h2><p>在 <code>/_config.solitude.yml</code> 中开启 AdSense，并仅保留侧边栏卡片广告：</p><p>⚠️ 注意：下面的 client 与 slot 必须替换为你自己的 ID，否则不会产生收益。</p><figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># Google Adsense</span></span><br><span class="line"><span class="attr">google_adsense:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span></span><br><span class="line">  <span class="attr">auto_ads:</span> <span class="literal">false</span></span><br><span class="line">  <span class="attr">enable_page_level_ads:</span> <span class="literal">false</span></span><br><span class="line">  <span class="attr">aside_card:</span> <span class="literal">true</span></span><br><span class="line">  <span class="attr">post_card:</span> <span class="literal">false</span></span><br><span class="line">  <span class="attr">post_content:</span> <span class="literal">false</span></span><br><span class="line">  <span class="attr">variants:</span></span><br><span class="line">    <span class="attr">ads:</span></span><br><span class="line">      <span class="attr">style:</span> <span class="string">&quot;display:block&quot;</span></span><br><span class="line">      <span class="attr">format:</span> <span class="string">&quot;fluid&quot;</span></span><br><span class="line">      <span class="attr">layout_key:</span> <span class="string">&quot;-5x+cm-c-84+ne&quot;</span></span><br><span class="line">      <span class="attr">slot:</span> <span class="number">2805175086</span></span><br><span class="line">  <span class="attr">js:</span> <span class="string">https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js</span></span><br><span class="line">  <span class="attr">client:</span> <span class="string">ca-pub-7233788645476299</span></span><br><span class="line">  <span class="attr">slot:</span> <span class="number">2805175086</span></span><br></pre></td></tr></table></figure><p>为了让侧栏广告位稳定、可预期，我们把它加入首页侧栏的非吸顶列表中：</p><figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">aside:</span></span><br><span class="line">  <span class="attr">home:</span></span><br><span class="line">    <span class="attr">noSticky:</span> <span class="string">&quot;about,calendar,schedule,ads&quot;</span></span><br><span class="line">    <span class="attr">Sticky:</span> <span class="string">&quot;allInfo&quot;</span></span><br></pre></td></tr></table></figure><blockquote><p>这样做的好处是广告总在侧栏固定区域，避免因位置不稳定被误判为“干扰内容&#x2F;布局波动”。</p></blockquote><h2 id="四、ads-txt-与合规页"><a href="#四、ads-txt-与合规页" class="headerlink" title="四、ads.txt 与合规页"></a>四、ads.txt 与合规页</h2><ul><li>文件位置：<code>/source/ads.txt</code>（部署后会在站点根目录生成）。</li><li>内容示例（以本站 Publisher ID 为例）：</li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">google.com, pub-7233788645476299, DIRECT, f08c47fec0942fa0</span><br></pre></td></tr></table></figure><ul><li>隐私政策路径：<code>/source/privacy/index.md</code>（已明确 Cookie 与广告用途、个性化设置指引）。</li></ul><p>小贴士：</p><ul><li>ads.txt 不是强制，但强烈建议添加；它有助于识别伪造库存、争取更多广告主预算 <mcreference link="https://support.google.com/adsense/answer/12171612?hl=en" index="3">3</mcreference></li><li>修改 ads.txt 后通常需要等待一段时间（几天，低流量站点可能更久）才会在 AdSense 后台反映更新，可耐心观察 <mcreference link="https://support.google.com/adsense/answer/12171612?hl=en" index="3">3</mcreference> <mcreference link="https://support.google.com/adsense/answer/12171244?hl=zh-Hans" index="5">5</mcreference></li><li>确认 ads.txt 可被成功检索：robots.txt 未禁止、返回 HTTP 200、根域&#x2F;带 www 的重定向设置正确、HTTP 与 HTTPS 均可访问 <mcreference link="https://support.google.com/adsense/answer/7679060?hl=zh-Hant" index="4">4</mcreference></li><li>常见误区：把 ads.txt 放在 <code>/source/_posts/</code> 下，生成后不会出现在站点根目录，AdSense 无法识别。请放在 <code>/source/</code> 目录下。</li></ul><h3 id="【重要】EEA-UK-瑞士：CMP（同意管理平台）要求"><a href="#【重要】EEA-UK-瑞士：CMP（同意管理平台）要求" class="headerlink" title="【重要】EEA&#x2F;UK&#x2F;瑞士：CMP（同意管理平台）要求"></a>【重要】EEA&#x2F;UK&#x2F;瑞士：CMP（同意管理平台）要求</h3><ul><li><p>在向 EEA、英国、瑞士用户投放个性化广告时，必须使用经 Google 认证且集成 IAB TCF 的 CMP <mcreference link="https://support.google.com/adsense/answer/13554116?hl=en" index="1">1</mcreference></p></li><li><p>关键时间点：2024-01-16（EEA&#x2F;UK）、2024-07-31（瑞士）开始强制执行；未认证 CMP 的流量通常仅能获得非个性化或受限广告 <mcreference link="https://support.google.com/adsense/answer/13554116?hl=en" index="1">1</mcreference></p></li><li><p>可在官方“认证 CMP 列表”中选择合适产品，或使用 Google 提供的 Privacy &amp; messaging（其欧盟消息已通过认证） <mcreference link="https://support.google.com/adsense/answer/13554116?hl=en" index="1">1</mcreference></p></li><li><p>修改 ads.txt 后通常需要等待一段时间（几天，低流量站点可能更久）才会在 AdSense 后台反映更新，可耐心观察。</p></li><li><p>常见误区：把 ads.txt 放在 <code>/source/_posts/</code> 下，生成后不会出现在站点根目录，AdSense 无法识别。请放在 <code>/source/</code> 目录下。</p></li></ul><h2 id="五、页面与布局的细节优化"><a href="#五、页面与布局的细节优化" class="headerlink" title="五、页面与布局的细节优化"></a>五、页面与布局的细节优化</h2><ul><li>只在侧栏投放信息流广告，主内容区不放广告，保证阅读体验。</li><li>保持广告容器有最小高度（由主题与样式控制），减少“首屏抖动”。</li><li>主题里已内置 AdSense 脚本注入与判空处理（<code>gadsense.pug</code>），加载失败时会隐藏占位，避免空白块影响观感。</li><li>站点隐私&#x2F;关于&#x2F;联系等页面均可从导航或侧栏到达，保证审核人员快速核查。</li></ul><h2 id="六、本地与线上验证流程"><a href="#六、本地与线上验证流程" class="headerlink" title="六、本地与线上验证流程"></a>六、本地与线上验证流程</h2><ol><li>本地预览：</li></ol><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo clean &amp;&amp; hexo g &amp;&amp; hexo s</span><br></pre></td></tr></table></figure><ul><li>打开 <code>http://localhost:4000/</code> 检查侧栏广告占位是否正常、无报错；</li><li>上线试时不要带 <code>data-adtest=&quot;on&quot;</code> （否则无法计费），仅用于本地或专门测试页。</li></ul><ol start="2"><li>线上观察：</li></ol><ul><li>首次通过后，广告位可能需要 24–48 小时逐步开始投放；</li><li>Ads.txt 状态更新后，若站点状态为“就绪”且已完成广告代码设置，广告可能最多需要约 1 小时才开始出现 <mcreference link="https://support.google.com/adsense/answer/12171612?hl=en" index="3">3</mcreference></li><li>若出现 403 或未授权，去 AdSense → “网站”里确认域名状态并申请复审（可在“网站”页点“检查更新”，再“请求复审”） <mcreference link="https://support.google.com/adsense/answer/12171612?hl=en" index="3">3</mcreference></li><li>通过后建议把核心变更写入仓库日志，方便回溯。</li></ul><h2 id="七、排错备忘录（我们踩过的-见过的）"><a href="#七、排错备忘录（我们踩过的-见过的）" class="headerlink" title="七、排错备忘录（我们踩过的&#x2F;见过的）"></a>七、排错备忘录（我们踩过的&#x2F;见过的）</h2><table><thead><tr><th>问题</th><th>可能原因</th><th>解决办法</th></tr></thead><tbody><tr><td>广告位长期空白</td><td>新号冷启动；访问的是本地环境；client&#x2F;slot 配置错误；站点未授权；ads.txt 未生效</td><td>等待 24–48h；确认线上环境；核对 <code>client</code>&#x2F;<code>slot</code> 与当前域名绑定；在 AdSense → 网站 中授权；确保 <code>https://你的域名/ads.txt</code> 可访问</td></tr><tr><td>ads.txt 读取异常</td><td>文件放错目录（放进了 <code>_posts</code>）；存在 BOM&#x2F;注释&#x2F;多余空格；未成功发布到根目录；缓存未刷新</td><td>将文件放在 <code>/source/ads.txt</code>；按规范一行一条且无注释；发布后直接访问 <code>/ads.txt</code>；等待后台状态刷新</td></tr><tr><td>已上传 ads.txt 但后台仍提示“需要创建”</td><td>更新尚未被抓取；低流量站点更新延迟较长</td><td>等待数日直至后台刷新；在 AdSense → 网站 中点击“检查更新”；必要时继续观察（低请求量最多可能需要一个月） <mcreference link="https://support.google.com/adsense/answer/12171244?hl=zh-Hans" index="5">5</mcreference> <mcreference link="https://support.google.com/adsense/answer/12171612?hl=en" index="3">3</mcreference></td></tr><tr><td>403&#x2F;未授权</td><td>当前域名未在 AdSense 后台“网站”里通过验证</td><td>在 AdSense → 网站 增加域名并发起复审，待通过后再观察投放</td></tr><tr><td>布局闪动&#x2F;观感差</td><td>开启自动广告&#x2F;页面级广告导致布局波动；容器未设最小高度；首屏占位不稳定</td><td>关闭自动广告与页面级广告；侧栏固定广告位；为容器写明最小高度并避免遮挡主内容</td></tr></tbody></table><h2 id="八、可复用清单（TL-DR）"><a href="#八、可复用清单（TL-DR）" class="headerlink" title="八、可复用清单（TL;DR）"></a>八、可复用清单（TL;DR）</h2><ul><li><input checked="" disabled="" type="checkbox"> <code>/_config.solitude.yml</code> 启用 AdSense：<code>enable: true</code>，仅保留 <code>aside_card: true</code>；</li><li><input checked="" disabled="" type="checkbox"> 关闭自动广告：<code>auto_ads: false</code>，<code>enable_page_level_ads: false</code>；</li><li><input checked="" disabled="" type="checkbox"> 配置 <code>client</code> 与稳定的 <code>slot</code>，并在 <code>variants</code> 中声明样式；</li><li><input checked="" disabled="" type="checkbox"> 侧栏广告位加入 <code>aside.home.noSticky</code>，固定位置；</li><li><input checked="" disabled="" type="checkbox"> <code>/source/ads.txt</code> 写入 <code>google.com, pub-你的ID, DIRECT, f08c47fec0942fa0</code>，发布后可访问；</li><li><input checked="" disabled="" type="checkbox"> <code>/privacy/</code> 明确 Cookie 与广告用途说明；</li><li><input checked="" disabled="" type="checkbox"> 本地 <code>hexo s</code> 自查无报错与版式异常；</li><li><input checked="" disabled="" type="checkbox"> 线上通过后，观察 24–48 小时投放情况，必要时在后台发起复审。</li></ul><h2 id="参考与延伸阅读"><a href="#参考与延伸阅读" class="headerlink" title="参考与延伸阅读"></a>参考与延伸阅读</h2><ul><li>Ads.txt 是 IAB 的合规倡议，格式示例与操作流程（英文原文）：<ul><li><a href="https://support.google.com/adsense/answer/12171612?hl=en">https://support.google.com/adsense/answer/12171612?hl=en</a></li></ul></li><li>中文&#x2F;日文帮助页也说明了“不是强制，但强烈建议使用”，以及状态更新可能需要几天时间：<ul><li><a href="https://support.google.com/adsense/answer/12171612">https://support.google.com/adsense/answer/12171612</a></li></ul></li><li>GDPR&#x2F;TCF 与 EEA&#x2F;UK&#x2F;瑞士 CMP 要求（官方说明）：<ul><li><a href="https://support.google.com/adsense/answer/13554116?hl=en">https://support.google.com/adsense/answer/13554116?hl=en</a></li></ul></li><li>AdSense 计划政策总览与展示位置要求：<ul><li><a href="https://support.google.com/adsense/answer/48182?hl=zh-Hans">https://support.google.com/adsense/answer/48182?hl=zh-Hans</a></li></ul></li></ul><h2 id="TL-DR-流程小抄"><a href="#TL-DR-流程小抄" class="headerlink" title="TL;DR 流程小抄"></a>TL;DR 流程小抄</h2><ul><li>配置：主题 AdSense 开关 → 填写 client&#x2F;slot → aside 固定位置</li><li>本地验证：<code>hexo s</code> 打开 <code>http://localhost:4000/</code>，查看无报错&#x2F;占位正常</li><li>部署上线：<code>hexo g &amp;&amp; hexo d</code>，确认 <code>https://你的域名/ads.txt</code> 可访问</li><li>等待投放：新站常见 24–48h；期间保持站点稳定与可访问</li><li>复核优化：观察填充率、页面体验与核心 Web 指标，必要时微调位置</li></ul><h2 id="收益相关的预期管理"><a href="#收益相关的预期管理" class="headerlink" title="收益相关的预期管理"></a>收益相关的预期管理</h2><ul><li>单广告位（仅侧栏）<ul><li>优点：体验最干净、审核风险最低、对跳出&#x2F;阅读影响小</li><li>缺点：点击率与展示量有限，收入曲线较“稳但不高”</li><li>适合：内容为王、希望轻广告&#x2F;低侵扰的站点起步阶段</li></ul></li><li>多广告位（正文内&#x2F;底部&#x2F;列表间）<ul><li>优点：曝光与点击更高、RPM 更容易提升</li><li>缺点：版式压力大、容易被判“广告密度高&#x2F;干扰内容”，影响体验</li><li>适合：已稳定产出、内容排版可控且愿意投入调优</li></ul></li><li>自动广告 vs 手动广告<ul><li>自动：快速覆盖、持续探索新位置，但可能引起布局波动</li><li>手动：位置可控、可与设计深度融合，前期工作量更大</li><li>建议：起步阶段以“手动 + 少量稳定位”为主，量起来后再小范围尝试自动广告</li></ul></li></ul><h2 id="审核阶段的常见拒绝理由（自查清单）"><a href="#审核阶段的常见拒绝理由（自查清单）" class="headerlink" title="审核阶段的常见拒绝理由（自查清单）"></a>审核阶段的常见拒绝理由（自查清单）</h2><ul><li><input disabled="" type="checkbox"> 内容不足或采集痕迹明显（每类至少 3 篇高质量原创&#x2F;整合内容）</li><li><input disabled="" type="checkbox"> 隐私政策缺失或内容不合规（需说明 Cookie&#x2F;广告用途&#x2F;个性化设置）</li><li><input disabled="" type="checkbox"> 页面无法访问或加载异常（404&#x2F;跳转&#x2F;移动端样式错乱）</li><li><input disabled="" type="checkbox"> 导航不清晰（无关于&#x2F;联系&#x2F;分类页，站内搜索缺失）</li><li><input disabled="" type="checkbox"> 广告诱导点击&#x2F;占位遮挡正文（避免弹窗、避免首屏抖动）</li></ul><h2 id="多语言-地区体验与现实情况"><a href="#多语言-地区体验与现实情况" class="headerlink" title="多语言&#x2F;地区体验与现实情况"></a>多语言&#x2F;地区体验与现实情况</h2><ul><li>国内访问 AdSense 后台常需科学上网；建议在稳定网络环境下进行配置与调试</li><li>广告填充率与 eCPM 存在地区差异：海外（尤其北美&#x2F;欧洲）通常高于国内流量</li><li>访问结构对收益影响很大：移动端高占比时，应关注侧栏位在移动端的可见性与折叠策略</li></ul><h2 id="后续优化方向（数据驱动）"><a href="#后续优化方向（数据驱动）" class="headerlink" title="后续优化方向（数据驱动）"></a>后续优化方向（数据驱动）</h2><ul><li>做 A&#x2F;B 测试：<ul><li>位置：仅侧栏 vs 正文末尾 vs 首页列表间隔卡片</li><li>形式：信息流 vs 展示广告；不同尺寸与样式</li><li>指标：RPM、CTR、跳出率、阅读完成度、CLS&#x2F;FID 等</li></ul></li><li>随着内容与流量增长：<ul><li>考虑启用“自动广告”（先在非核心页面试点）</li><li>增加 1 个稳定的正文后广告位（保持密度不过载）</li></ul></li><li>端侧优化：<ul><li>流量峰值在移动端时，评估“侧栏位在移动端的实际可见性”，必要时给移动端单独布局</li></ul></li></ul><h2 id="案例对比：仅侧栏卡片-vs-自动广告"><a href="#案例对比：仅侧栏卡片-vs-自动广告" class="headerlink" title="案例对比：仅侧栏卡片 vs 自动广告"></a>案例对比：仅侧栏卡片 vs 自动广告</h2><ul><li>仅侧栏卡片（当前策略）：<ul><li>版面整洁、对阅读几乎零干扰；首屏稳定，CLS 风险低</li><li>收益曲线更依赖“访问量”增长而非“点击率”</li></ul></li><li>自动广告：<ul><li>能自动试探更高曝光的位置，但可能插入正文&#x2F;首屏，带来排版抖动</li><li>审核与长期体验风险相对更高，需严格控制展示密度与页面类型</li></ul></li></ul><blockquote><p>本网站自从 <strong>23年</strong>开始，向网站内尝试添加广告,30天的广告收入为 <strong>70$</strong> 左右,但由于当时没有考虑到大陆地区收款等问题,最终决定去除广告,而如今想做一个实验,尝试除招行卡外其他银行卡的收款流程,故重新添加了卡片,并将其设置为仅在侧边栏中显示.</p></blockquote>]]></content>
    
    
      
      
    <summary type="html">&lt;blockquote&gt;
&lt;p&gt;这是一篇“能直接照着做”的实战总结。本站已完成 Google AdSense 审核并成功投放，下面把我们从 0 到 1 的配置、优化与排错经验系统记录，方便以后复审或给朋友复用。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;一、结果先说：我</summary>
      
    
    
    
    <category term="搭建网站" scheme="https://www.laogou717.com/categories/%E6%90%AD%E5%BB%BA%E7%BD%91%E7%AB%99/"/>
    
    
    <category term="Google AdSense" scheme="https://www.laogou717.com/tags/Google-AdSense/"/>
    
    <category term="站点变现" scheme="https://www.laogou717.com/tags/%E7%AB%99%E7%82%B9%E5%8F%98%E7%8E%B0/"/>
    
    <category term="审核指南" scheme="https://www.laogou717.com/tags/%E5%AE%A1%E6%A0%B8%E6%8C%87%E5%8D%97/"/>
    
  </entry>
  
  <entry>
    <title>Steam 封面获取器：一键获取游戏高清封面的开源工具</title>
    <link href="https://www.laogou717.com/2025/09/14/AI%20era/Github/steamcovr/"/>
    <id>https://www.laogou717.com/2025/09/14/AI%20era/Github/steamcovr/</id>
    <published>2025-09-14T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://image.laogou717.com/file/image/blog/note/dvO4TsqD.gif" alt="Steam 封面获取器"></p><blockquote><p>有一次写游戏博文，需要一张<strong>官方封面</strong>。与其每次去搜图，不如做个工具：输入 <code>AppID</code>、<code>链接</code>，甚至只输<code>名字</code>联想搜索，就能立刻拿到 Steam 官方封面并<strong>一键复制</strong>。于是，这个小项目就诞生了。</p></blockquote><h2 id="它能做什么"><a href="#它能做什么" class="headerlink" title="它能做什么"></a>它能做什么</h2><ul><li>支持多种输入：AppID &#x2F; 商店链接 &#x2F; 关键词（联想）</li><li>一次性获取多种尺寸：header、capsule（小&#x2F;中&#x2F;大）、library hero、logo、页面背景等</li><li>点击卡片即可复制图片直链到剪贴板</li><li>现代化 UI：深色玻璃质感、瀑布流布局、细腻动画，移动端也很好用</li><li>中英双语（默认中文，?lang&#x3D;en 可切换）</li><li>开源、免费、即开即用</li></ul><h2 id="在线与开源"><a href="#在线与开源" class="headerlink" title="在线与开源"></a>在线与开源</h2><ul><li>GitHub：<a href="https://github.com/laogou717/Steam-game-cover-gets">https://github.com/laogou717/Steam-game-cover-gets</a></li><li>在线使用：<a href="https://steamcover.laogou717.com/">https://steamcover.laogou717.com</a></li><li>欢迎 Issue&#x2F;PR，一起把它打磨得更好</li></ul><h2 id="使用方法"><a href="#使用方法" class="headerlink" title="使用方法"></a>使用方法</h2><ol><li>输入 Steam 游戏 ID 或商店链接；也可直接输入名称，使用下拉联想定位游戏</li><li>点击“获取封面”，自动抓取多尺寸官方图片</li><li>在结果区预览并一键复制直链</li></ol><h2 id="技术与实现"><a href="#技术与实现" class="headerlink" title="技术与实现"></a>技术与实现</h2><ul><li>框架：Next.js 15（App Router）+ TypeScript + Tailwind CSS + Framer Motion</li><li>数据与图片：基于公开可访问的 Steam 静态资源</li><li>站点图标：采用 app&#x2F;icon.svg 约定，浏览器标签与收藏夹自动生效</li><li>分享卡片：<ul><li>&#x2F;opengraph-image 与 &#x2F;twitter-image 由边缘运行时（ImageResponse）动态生成分享图</li><li>首页与分享页自动生成 OG&#x2F;Twitter 元数据，分享即带图</li></ul></li><li>SEO 多语言：在 metadata.alternates 声明了 hreflang（zh &#x2F; en），并提供 &#x2F;sitemap.xml 与 &#x2F;robots.txt</li><li>广告与变现：<ul><li>仅生产环境注入 Google AdSense 脚本，开发态显示占位，避免布局抖动</li><li>首页有 3 个广告位（左右矩形、底部横幅），可按需配置环境变量启用</li></ul></li><li>交互体验：<ul><li>联想搜索有节流、缓存与中断控制，减少无效请求、提高响应速度</li><li>搜索卡片与两侧广告位高度同步，尽量减少视觉抖动</li></ul></li></ul><h2 id="环境变量（部署时可选）"><a href="#环境变量（部署时可选）" class="headerlink" title="环境变量（部署时可选）"></a>环境变量（部署时可选）</h2><ul><li>NEXT_PUBLIC_SITE_URL：站点完整地址（如 <a href="https://steamcover.laogou717.com)/">https://steamcover.laogou717.com）</a></li><li>NEXT_PUBLIC_ADSENSE_CLIENT：你的 AdSense client（如 ca-pub-xxxxxxxxxxxxxxx）</li><li>NEXT_PUBLIC_ADSENSE_SLOT_RECT：矩形广告位 ID</li><li>NEXT_PUBLIC_ADSENSE_SLOT_BANNER：横幅广告位 ID</li></ul><h2 id="开发记事"><a href="#开发记事" class="headerlink" title="开发记事"></a>开发记事</h2><ul><li>早期一次部署编译失败，原因是分享页的类型签名与 Next.js PageProps 约束不一致；后来通过“入参标记为 unknown + 类型守卫”理清边界，并移除了 any 与不必要的宽松类型，CI&#x2F;构建恢复稳定。ESLint 警告也做了集中治理，保持代码整洁。</li></ul><h2 id="路线图（进行中-计划）"><a href="#路线图（进行中-计划）" class="headerlink" title="路线图（进行中&#x2F;计划）"></a>路线图（进行中&#x2F;计划）</h2><ul><li>广告填充优化：用 MutationObserver + 尺寸检测替代轮询，缩短首帧</li><li>广告懒加载：接近视口再初始化，兼顾策略与体验</li><li>使用 next&#x2F;image 优化预览图与小图标（配置 remotePatterns）</li><li>联想下拉的高亮匹配与键盘可访问性（ARIA 完善）</li><li>为外部资源添加 preconnect&#x2F;dns-prefetch，进一步优化首包</li><li>拆分首页为 SearchCard &#x2F; Suggestions &#x2F; CoversGrid 子组件</li><li>广告与内容区高度同步加入过渡动画</li><li>为交互控件补充可见标签与 aria 属性</li><li>为工具函数与组件补齐类型与单元测试</li><li>引入简单监控与统计（Vercel Analytics&#x2F;Speed Insights）</li><li>添加基础 CSP 与 Referrer-Policy，仅白名单必要第三方</li></ul><h2 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h2><p>它不是庞然大物，而是一个“刚好解决刚需”的小工具。如果它帮你省下哪怕几分钟找图时间，那就已经物超所值。欢迎 Star、分享与反馈，让它在细节处持续变得更好。</p>]]></content>
    
    
    <summary type="html">开源的 Steam 游戏封面获取工具，支持 AppID/链接/关键词搜索，一键复制多尺寸官方封面，现代化 UI 设计，中英双语支持</summary>
    
    
    
    <category term="项目分享" scheme="https://www.laogou717.com/categories/%E9%A1%B9%E7%9B%AE%E5%88%86%E4%BA%AB/"/>
    
    
    <category term="开源项目" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
    <category term="Steam" scheme="https://www.laogou717.com/tags/Steam/"/>
    
    <category term="Next.js" scheme="https://www.laogou717.com/tags/Next-js/"/>
    
    <category term="工具开发" scheme="https://www.laogou717.com/tags/%E5%B7%A5%E5%85%B7%E5%BC%80%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>网站图片显示问题说明</title>
    <link href="https://www.laogou717.com/2025/09/14/%E5%85%AC%E5%91%8A/Malfunction/"/>
    <id>https://www.laogou717.com/2025/09/14/%E5%85%AC%E5%91%8A/Malfunction/</id>
    <published>2025-09-14T04:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="问题说明"><a href="#问题说明" class="headerlink" title="问题说明"></a>问题说明</h2><p>我们网站使用的图床服务出现了稳定性问题，导致以下内容可能无法正常显示：</p><ul><li>文章封面图片</li><li>页面banner背景</li><li>部分文章内的图片资源</li><li>导航页面的图标和背景图</li></ul><p>这个问题主要影响了网站的视觉效果，但不影响文章内容的正常阅读。</p><h2 id="当前状态"><a href="#当前状态" class="headerlink" title="当前状态"></a>当前状态</h2><p>我们已经识别出问题的根源，并开始了系统性的修复工作：</p><ol><li><strong>已完成修复</strong>：部分核心页面的图片资源已迁移到更稳定的图床服务</li><li><strong>正在进行</strong>：逐步检查和替换所有受影响的图片链接</li><li><strong>待处理</strong>：历史文章中的图片资源需要逐一检查和更新</li></ol><p>由于涉及的图片数量较多，这个修复过程需要一定时间来完成。在此期间，您可能会遇到部分图片无法显示的情况。</p><h2 id="解决方案"><a href="#解决方案" class="headerlink" title="解决方案"></a>解决方案</h2><p>为了彻底解决这个问题，我们采取了以下措施：</p><ol><li><strong>迁移图床服务</strong>：将图片资源迁移到更稳定可靠的图床平台</li><li><strong>批量替换链接</strong>：系统性地检查和更新所有图片链接</li><li><strong>建立备份机制</strong>：为重要图片建立多重备份，避免类似问题再次发生</li><li><strong>优化加载策略</strong>：改进图片加载机制，提高网站的稳定性</li></ol><p>目前新的图床服务运行稳定，已修复的页面图片显示正常。</p><h2 id="修复进展与时间安排"><a href="#修复进展与时间安排" class="headerlink" title="修复进展与时间安排"></a>修复进展与时间安排</h2><p><strong>预计完成时间</strong>：我们计划在未来1-2周内完成所有图片资源的检查和替换工作。</p><p><strong>修复优先级</strong>：</p><ol><li>首页和主要导航页面（已完成大部分）</li><li>热门文章的封面和配图</li><li>历史文章中的图片资源</li><li>其他辅助页面的图片</li></ol>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;问题说明&quot;&gt;&lt;a href=&quot;#问题说明&quot; class=&quot;headerlink&quot; title=&quot;问题说明&quot;&gt;&lt;/a&gt;问题说明&lt;/h2&gt;&lt;p&gt;我们网站使用的图床服务出现了稳定性问题，导致以下内容可能无法正常显示：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;文章封面图片&lt;/li&gt;
&lt;</summary>
      
    
    
    
    <category term="公告" scheme="https://www.laogou717.com/categories/%E5%85%AC%E5%91%8A/"/>
    
    
  </entry>
  
  <entry>
    <title>火爆全网的生图工具: “nano banana” 怎么无限使用?</title>
    <link href="https://www.laogou717.com/2025/09/09/AI%20era/google/nona-banana-free/"/>
    <id>https://www.laogou717.com/2025/09/09/AI%20era/google/nona-banana-free/</id>
    <published>2025-09-09T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p><strong>Nano-Banana</strong> 火了半个多月了,但因为身体等多方面原因,没有出相关的视频和文章,今天一次补齐。看完你就能理论无限使用这个<strong>非常nb</strong>的生图模型。</p></blockquote><p><img src="https://image.laogou717.com/file/image/blog/1757589619167_imagesPasted_image_20250910111310.png" alt="nano-banana"></p><h2 id="一、Nano-Banana-是什么？"><a href="#一、Nano-Banana-是什么？" class="headerlink" title="一、Nano-Banana 是什么？"></a>一、Nano-Banana 是什么？</h2><p>Google 在 2025-08 的官方更新里推出 <strong>Gemini 2.5 Flash Image</strong>，并在多处材料中以「<strong>nano-banana</strong>」称呼该图像生成与编辑模型：支持<strong>文生图</strong>、<strong>图+文编辑</strong>、<strong>多图融合&#x2F;风格迁移</strong>、<strong>对话式局部修改</strong>。  <br><img src="https://image.laogou717.com/file/image/blog/1757589666488_imagesPasted_image_20250910111511.png"></p><ul><li>发布与能力概览：Developers Blog；Gemini 产品博客（强调<strong>人物&#x2F;宠物一致性</strong>、换装、融合、风格套用等场景）。</li></ul><p><img src="https://image.laogou717.com/file/image/blog/1757589711359_imagesPasted_image_20250910111342.png"></p><blockquote><p><strong>社区热度</strong>：Google 高管对外披露，Nano-Banana 并入后为 Gemini App 带来 <strong>1000 万+ 新用户</strong>、<strong>2 亿+ 次编辑</strong>；“把人物&#x2F;宠物做成 <strong>3D 手办</strong>”成为爆款玩法。  </p></blockquote><p><img src="https://image.laogou717.com/file/image/blog/1757589706423_imagesassets_task_01jq80j5v9ew9vjervtqcjjk51_img_0.webp"><br><img src="https://image.laogou717.com/file/image/blog/1757589706806_imagesGemini_Generated_Image_gmzeqigmzeqigmze.png"></p><hr><h2 id="二、它强在哪里（核心优势）"><a href="#二、它强在哪里（核心优势）" class="headerlink" title="二、它强在哪里（核心优势）"></a>二、它强在哪里（核心优势）</h2><ul><li><strong>连续编辑 &amp; 角色一致性</strong>：多轮修改后仍能保持<strong>面部&#x2F;造型</strong>一致，避免“越改越不像”。</li><li><strong>对话式控制</strong>：直接用自然语言“<strong>加&#x2F;减物体、换材质&#x2F;光影&#x2F;姿势</strong>”，也能利用模型的<strong>世界知识</strong>辅助生成与编辑。</li><li><strong>多图到图（Blend）</strong>：把多张输入<strong>融合</strong>成统一场景，或把 A 图<strong>风格</strong>迁到 B 图。</li><li><strong>文本渲染可读</strong>：中文&#x2F;英文<strong>标题与字形</strong>更稳定，适合海报、UI 画面。</li><li><strong>可追溯与合规</strong>：默认嵌入 <strong>SynthID</strong> 数字水印（无感），利于平台标注“AI 生成”。</li></ul><p>这里的重点就是第一个—— <strong>角色一致性</strong> ,如果是其它能力的话,我们熟知的GPT4o就能轻松做到,甚至速度更快,但一致性上目前为止<strong>Nano-banana</strong>仍然是独一档。                                                                                                                                              </p><hr><h2 id="三、哪里能用（官方-主流入口｜建议收藏）"><a href="#三、哪里能用（官方-主流入口｜建议收藏）" class="headerlink" title="三、哪里能用（官方&#x2F;主流入口｜建议收藏）"></a>三、哪里能用（官方&#x2F;主流入口｜建议收藏）</h2><ul><li><p><strong>Gemini 网页端</strong>（直接体验）：<a href="https://gemini.google.com/">https://gemini.google.com</a>（选择 <strong>2.5 Flash</strong>，可上传参考图或直接写提示）<br><img src="https://image.laogou717.com/file/image/blog/1757589745466_imagesPasted_image_20250910124535.png"></p></li><li><p><strong>Google AI Studio</strong>（Playground）：<a href="https://aistudio.google.com/">https://aistudio.google.com</a>（右上角选 <strong>Gemini 2.5 Flash Image &#x2F; Nano-Banana</strong>；支持“一键生成 API 代码”）<br><img src="https://image.laogou717.com/file/image/blog/1757589757489_imagesPasted_image_20250910124608.png"></p></li><li><p><strong>Google AI实验室 无限使用</strong>（Image generation with Gemini &#x2F; <strong>Nano-Banana</strong>）：<a href="https://labs.google/fx/zh/tools/whisk">https://labs.google/fx/zh/tools/whisk</a></p></li></ul><p><img src="https://image.laogou717.com/file/image/blog/1757589773612_imagesPasted_image_20250910125059.png"></p><hr><h2 id="四、爆款玩法：把人-宠物“变成-3D-手办”"><a href="#四、爆款玩法：把人-宠物“变成-3D-手办”" class="headerlink" title="四、爆款玩法：把人&#x2F;宠物“变成 3D 手办”"></a>四、爆款玩法：把人&#x2F;宠物“变成 3D 手办”</h2><p>玩法思路：<strong>上传人物&#x2F;宠物清晰半身照 → 设定“1&#x2F;7 比例手办 + 透明底座 + 包装盒 + 桌面场景 + 浅景深”</strong>；Nano-Banana 在<strong>面貌一致性</strong>与<strong>材质质感</strong>上效果稳定。</p><p><strong>中文提示词（复制即用）</strong></p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">将我上传的照片转成 1/7 比例的「商业化实体手办」，写实风。</span><br><span class="line">摆在电脑桌上，使用无文字的透明圆形亚克力底座。</span><br><span class="line">请保证与原图的五官与发型一致；塑料材质要有哑光上色的笔触质感。</span><br><span class="line">旁边放一个玩具包装盒，盒面参考我的照片做海报风（不要出现品牌商标）。</span><br><span class="line">摄影级柔光，浅景深。</span><br></pre></td></tr></table></figure><p><strong>英文提示词（社区口吻）</strong></p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">Create a 1/7-scale commercialized action figurine of the person in the reference photo.</span><br><span class="line">Place it on a computer desk with a clear round acrylic base (no text or logos).</span><br><span class="line">Keep facial identity consistent with the original photo.</span><br><span class="line">Realistic plastic with matte paint strokes.</span><br><span class="line">Add a toy box next to the monitor; the box art references the portrait without using trademarks.</span><br><span class="line">Shallow depth of field, studio soft lighting.</span><br></pre></td></tr></table></figure><p><strong>延伸风格关键字</strong>（替换可得不同风格）： <code>Funko Pop / Nendoroid / Q-style / clay / LEGO / wool felt / diorama / resin kit / garage kit</code></p><hr><h2 id="六、更多高讨论度提示词模板（复制即用）"><a href="#六、更多高讨论度提示词模板（复制即用）" class="headerlink" title="六、更多高讨论度提示词模板（复制即用）"></a>六、更多高讨论度提示词模板（复制即用）</h2><p><strong>1) 海报</strong></p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">生成 1080×1350 竖版海报，主标题“周末市集”（简体中文目前可用性极差,可尝试英文提示词），</span><br><span class="line">留副标题与二维码占位；暖色霓虹 + 柔光；干净留白</span><br></pre></td></tr></table></figure><blockquote><p>该模型对英文<strong>文本可读性</strong>做了优化，适合含英文标题的设计。</p></blockquote><p><strong>2) 多图融合 + 风格迁移</strong></p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">把两张上传的人像融合成一张合影；保持两人面貌一致性；</span><br><span class="line">整体套用 1980s 影楼风格，绒布幕背景与胶片颗粒。</span><br></pre></td></tr></table></figure><p><img src="https://image.laogou717.com/file/image/blog/1757589804450_imagesPasted_image_20250910125618.png"></p><p><strong>3) 以图改图（局部替换）</strong></p><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">在保持人物五官不变的前提下，把 T 恤换成米色针织开衫；</span><br><span class="line">加入窗边逆光与皮肤高光；不要改变发型。</span><br></pre></td></tr></table></figure><p><img src="https://image.laogou717.com/file/image/blog/1757589804531_imagesPasted_image_20250910125658.png"></p><hr><h2 id="七、注意事项（务必阅读）"><a href="#七、注意事项（务必阅读）" class="headerlink" title="七、注意事项（务必阅读）"></a>七、注意事项（务必阅读）</h2><ul><li><strong>版权&#x2F;肖像&#x2F;商标</strong>：商用素材请确保你拥有对应授权；“BANDAI 风盒子”可作为<strong>风格参照</strong>，但不要直接使用他人的照片,当然我上面使用Sam的图片只是为了演示🐶。</li><li><strong>水印标注</strong>：Gemini 生成&#x2F;编辑的图片会嵌入 <strong>SynthID</strong>；部分界面还会加<strong>可见水印</strong>。</li><li><strong>可用性&#x2F;网络</strong>：国内网络不稳时建议优先使用 <strong>AI Studio</strong>（或切换网络&#x2F;DNS）。</li></ul><hr><h2 id="参考与延伸阅读"><a href="#参考与延伸阅读" class="headerlink" title="参考与延伸阅读"></a>参考与延伸阅读</h2><p><a href="https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/">https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/</a></p><p><a href="https://aistudio.google.com/models/gemini-2-5-flash-image">https://aistudio.google.com/models/gemini-2-5-flash-image</a></p><p><a href="https://ai.google.dev/gemini-api/docs/image-generation">https://ai.google.dev/gemini-api/docs/image-generation</a></p><p><a href="https://gemini.google/overview/image-generation/">https://gemini.google/overview/image-generation/</a></p>]]></content>
    
    
    <summary type="html">Google「Nano-Banana」生图/修图模型一文速懂：能做什么、哪里用、怎么出3D手办?</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="热门" scheme="https://www.laogou717.com/tags/%E7%83%AD%E9%97%A8/"/>
    
    <category term="nanobanana" scheme="https://www.laogou717.com/tags/nanobanana/"/>
    
    <category term="Gemini 2.0 Flash" scheme="https://www.laogou717.com/tags/Gemini-2-0-Flash/"/>
    
  </entry>
  
  <entry>
    <title>彻底搞懂 MCP：模型上下文协议详解</title>
    <link href="https://www.laogou717.com/2025/03/05/AI%20era/Github/MCP/"/>
    <id>https://www.laogou717.com/2025/03/05/AI%20era/Github/MCP/</id>
    <published>2025-03-05T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/UqaV58YDcIc">https://www.youtube.com/embed/UqaV58YDcIc</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&bvid=BV1bDRcYFEhP&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;bvid=BV1bDRcYFEhP&amp;autoplay=0</a></li></ul></blockquote><h2 id="一、MCP-基础概念"><a href="#一、MCP-基础概念" class="headerlink" title="一、MCP 基础概念"></a>一、MCP 基础概念</h2><h3 id="1-1-什么是-MCP？"><a href="#1-1-什么是-MCP？" class="headerlink" title="1.1 什么是 MCP？"></a>1.1 什么是 MCP？</h3><p>MCP（Model Context Protocol，模型上下文协议）是由 Anthropic 公司于 2024 年 11 月 26 日推出的一项技术协议。这个协议的核心目的是解决 AI 助手与外部数据源隔离的问题，让 AI 能够连接并访问外部资源。</p><p>需要注意的是，MCP 并非我们常见的用户隐私协议（法律协议），而是类似于 WiFi、蓝牙等技术协议，定义了 AI 助手与外部资源之间的通信规则。</p><h3 id="1-2-为什么需要-MCP？"><a href="#1-2-为什么需要-MCP？" class="headerlink" title="1.2 为什么需要 MCP？"></a>1.2 为什么需要 MCP？</h3><p>传统的 AI 助手（如 Deepseek 等预训练模型）通常存在知识截止日期的限制，无法直接访问外部最新信息。MCP 的出现正是为了突破这一限制，通过定义通用的通信规则，让 AI 助手能够连接到外部资源，获取更多实时信息和功能。</p><h2 id="二、MCP-工作原理"><a href="#二、MCP-工作原理" class="headerlink" title="二、MCP 工作原理"></a>二、MCP 工作原理</h2><h3 id="2-1-通俗理解"><a href="#2-1-通俗理解" class="headerlink" title="2.1 通俗理解"></a>2.1 通俗理解</h3><p>可以将 MCP 服务器理解为一个工具箱或小仓库：</p><ul><li><strong>用户</strong>：相当于老板，布置任务给 AI</li><li><strong>AI 助手</strong>：相当于员工，需要完成用户布置的任务</li><li><strong>MCP 服务器</strong>：相当于公司仓库，提供各种工具供 AI 使用</li></ul><p>当 AI 需要完成任务时，它可以从 MCP 服务器（仓库）中获取所需的工具，更高效地完成用户的要求。而用户可以自由地向这个仓库添加各种工具，扩展 AI 的能力。</p><h3 id="2-2-技术角度"><a href="#2-2-技术角度" class="headerlink" title="2.2 技术角度"></a>2.2 技术角度</h3><p>从技术角度看，MCP 是用户与模型之间的中介，允许用户添加各种功能和资源，让 AI 能够借助这些资源完成更复杂的任务。GitHub 上有专门的开源仓库，提供了 MCP 服务器示例和各种工具资源。</p><h2 id="三、实际应用示例"><a href="#三、实际应用示例" class="headerlink" title="三、实际应用示例"></a>三、实际应用示例</h2><h3 id="3-1-文件系统-MCP-服务器"><a href="#3-1-文件系统-MCP-服务器" class="headerlink" title="3.1 文件系统 MCP 服务器"></a>3.1 文件系统 MCP 服务器</h3><p>以最简单的文件系统 MCP 服务器为例，我们可以通过以下步骤实现：</p><ol><li><p><strong>安装 MCP 服务器</strong>：使用 npx 命令安装相应的 npm 包</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npx -y @anthropic-ai/mcp-fs-server /path/to/your/directory</span><br></pre></td></tr></table></figure></li><li><p><strong>在 Cursor 中配置</strong>：</p><ul><li>打开 Cursor 右上角的设置</li><li>选择 MCP 服务器</li><li>点击添加</li><li>命名（如”文件系统”）</li><li>选择 Command 模式</li><li>输入安装命令</li><li>保存配置</li></ul></li><li><p><strong>使用 MCP 服务</strong>：</p><ul><li>在聊天框中询问 AI 关于本地文件的信息</li><li>AI 会调用 MCP 服务查看本地文件</li><li>允许 AI 访问后，它可以读取、创建或编辑文件</li></ul></li></ol><blockquote><p><strong>注意</strong>：如果路径中包含空格，可能会导致命令执行失败，需要修改文件夹名称或调整命令格式。</p></blockquote><h3 id="3-2-自动授权模式"><a href="#3-2-自动授权模式" class="headerlink" title="3.2 自动授权模式"></a>3.2 自动授权模式</h3><p>如果不想每次都手动授权 MCP 操作，可以启用 YOLO 模式：</p><ul><li>在 Cursor 设置中找到 YOLO 模式</li><li>点击继续启用</li><li>启用后，AI 将自动获得授权，无需每次手动确认</li></ul><h2 id="四、MCP-的实际价值"><a href="#四、MCP-的实际价值" class="headerlink" title="四、MCP 的实际价值"></a>四、MCP 的实际价值</h2><h3 id="4-1-解决上下文混淆问题"><a href="#4-1-解决上下文混淆问题" class="headerlink" title="4.1 解决上下文混淆问题"></a>4.1 解决上下文混淆问题</h3><p>在复杂项目中，当与 AI 的交流次数增多后，AI 可能会开始混淆不同问题的上下文。通过 MCP 服务器，我们可以：</p><ul><li>为 AI 指定特定路径下的文档和资源</li><li>即使在 AI 开始混淆时，也可以直接开启新聊天并让它查看文档</li><li>在项目进行过程中记录修改文档，帮助 AI 理解项目进展</li></ul><h3 id="4-2-MCP-服务器的多样性"><a href="#4-2-MCP-服务器的多样性" class="headerlink" title="4.2 MCP 服务器的多样性"></a>4.2 MCP 服务器的多样性</h3><p>MCP 生态系统提供了多种服务器类型，包括但不限于：</p><ul><li>YouTube 稍后观看 MCP 服务器</li><li>MCP 知识图谱</li><li>为 Claude 提供持久内存的服务器</li><li>捕获实时图像的工具</li><li>浏览器自动化工具</li></ul><h2 id="五、总结"><a href="#五、总结" class="headerlink" title="五、总结"></a>五、总结</h2><p>MCP（模型上下文协议）是一项革命性的技术，它打破了 AI 助手与外部世界的隔阂，让 AI 能够更灵活地访问和利用外部资源。通过简单的配置，我们可以大幅扩展 AI 助手的能力边界，使其成为更强大的生产力工具。</p><p>对于开发者和内容创作者来说，了解并掌握 MCP 的使用方法，将有助于更高效地利用 AI 助手完成各种复杂任务。随着 MCP 生态的不断丰富，我们可以期待 AI 助手在未来发挥更大的潜力。</p>]]></content>
    
    
    <summary type="html">详细解析 MCP（模型上下文协议）的概念、原理和实际应用，帮助你理解 AI 助手如何连接外部资源</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Cursor" scheme="https://www.laogou717.com/tags/Cursor/"/>
    
    <category term="MCP" scheme="https://www.laogou717.com/tags/MCP/"/>
    
    <category term="工具集成" scheme="https://www.laogou717.com/tags/%E5%B7%A5%E5%85%B7%E9%9B%86%E6%88%90/"/>
    
  </entry>
  
  <entry>
    <title>Grok3发布!跟其他AI对比表现如何呢?</title>
    <link href="https://www.laogou717.com/2025/02/18/AI%20era/grok/grokvsdeepseek/"/>
    <id>https://www.laogou717.com/2025/02/18/AI%20era/grok/grokvsdeepseek/</id>
    <published>2025-02-18T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/HKAuOCFu0lc">https://www.youtube.com/embed/HKAuOCFu0lc</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&bvid=BV1Z4AzeBEKT&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;bvid=BV1Z4AzeBEKT&amp;autoplay=0</a></li></ul></blockquote><h2 id="引言"><a href="#引言" class="headerlink" title="引言"></a>引言</h2><p>昨天，马斯克发布了Grok3，号称“地表最强模型”。作为一个技术爱好者，我当然不能放过这个机会，第一时间用招行信用卡开通了X的高级订阅（花了125.44元人民币），准备对它进行一次全面测试。这篇文章将详细记录我对Grok3的使用体验，并与GPT-4o、Gemini 2.0、DeepSeek R1等主流AI模型进行对比，看看它到底值不值得这个价。</p><h2 id="Grok3模型概述"><a href="#Grok3模型概述" class="headerlink" title="Grok3模型概述"></a>Grok3模型概述</h2><p>Grok3目前仅对X平台的最高级别订阅者开放，入口有两个：一是X平台左侧的Grok选项，二是GrokAI官网。目前处于Beta版，提供<strong>思考功能</strong>和<strong>Deep Search功能</strong>。思考功能让我眼前一亮，但每天使用次数有限（大约10次左右，具体算法我没搞懂）。Deep Search功能则不太稳定，时有时无，上次测试时好不容易出现了一次，结果停电了——录了一个多小时的视频全白费，当时我的表情估计能拉磨！</p><p>官方宣称Grok3超越了DeepSeek V3，据说训练用了20万张H100显卡，光听这数字就让人有点晕。但实际表现如何？咱们得用数据说话。</p><h2 id="测试过程和结果"><a href="#测试过程和结果" class="headerlink" title="测试过程和结果"></a>测试过程和结果</h2><h3 id="1-数学问题测试"><a href="#1-数学问题测试" class="headerlink" title="1. 数学问题测试"></a>1. 数学问题测试</h3><p>我先拿网友的问题开刀：“哪两个整数的乘积是10万，且尾数都不是0？” Grok3答对了：32和3125。不过别急，GPT-4o和DeepSeek R1也能轻松答对，DeepSeek R1还反复验算了一番，显得格外认真。</p><p>再试一个：“9.11和9.8哪个大？” Grok3直接说9.11大，错了！正确的答案是9.8。GPT-4o也翻车了，言之凿凿地说9.11大，废话一堆。DeepSeek R1不开深度思考时也错了，但开启后能通过推理纠正（比如把9.8补成9.80再比）。Gemini 2.0的基础模型倒是直接答对了，可能优化过。Grok3开启思考功能后也能答对，但这暴露了基础能力的短板。</p><p>还有个问题：“筐子里至少有多少个桃子？”（具体题目没说清楚，我按网友可能的意思理解为一道逻辑题）。Grok3算出106个，GPT-4o和Gemini 2.0也给出了106，答案一致，但过程冗长，Grok3显得稍微狂妄了点。</p><h3 id="2-代码编写测试"><a href="#2-代码编写测试" class="headerlink" title="2. 代码编写测试"></a>2. 代码编写测试</h3><p>我让Grok3写一个类似超级马里奥的游戏，用Python实现。代码跑起来后，能走，但按空格不会跳跃，体验有点拉胯。GPT-4o和DeepSeek R1写的版本能跳，虽然简单但功能完整。Gemini 2.0的多步推理版也能跳，但跳出去就消失了，像是迷你版马里奥。</p><p>接着，我提高难度，要求一个半透明3D立方体容器动画，包含动态物体、物理效果和鼠标交互。Grok3思考后给了一个精简测试版，能跑但有小bug，比如小球掉出去的物理效果不对。Gemini 2.0直接认怂，说给不了完整代码。O3mini high思考1分45秒后给了一个可运行版，但加载顺序有问题，需要手动调整。Grok3在这块表现中规中矩，没特别惊艳。</p><h3 id="3-个性化文本生成"><a href="#3-个性化文本生成" class="headerlink" title="3. 个性化文本生成"></a>3. 个性化文本生成</h3><p>我想看看Grok3的“嘴”有多毒，让它用犀利语言评价我的博客。结果它说我的内容“空洞”“高深莫测”，还算温和。GPT-4o更弱，甚至让我有点暗爽。Gemini 2.0直接开大招，建议我关博客，字字诛心，差点没把我整自闭。DeepSeek R1最佛系，说尊重他人创作，建议我不喜欢的就屏蔽，格局一下子打开了。</p><h3 id="4-图像生成"><a href="#4-图像生成" class="headerlink" title="4. 图像生成"></a>4. 图像生成</h3><p>Grok3没有内容审查是个亮点。我让它生成公众人物图像没问题，还试了半透明3D立方体容器，效果不错。但Deep Search不稳定，限制了发挥空间，挺可惜的。</p><h2 id="价格和性价比分析"><a href="#价格和性价比分析" class="headerlink" title="价格和性价比分析"></a>价格和性价比分析</h2><p>Grok3订阅费125.44元，比OpenAI便宜，UI设计也更讨喜，性价比看似不错。但跟DeepSeek比就有点尴尬了。DeepSeek目前免费，据说已解决算力问题，未来可能对免费用户开放更多功能。Grok3这收费模式在DeepSeek面前显得不香，除非你特别喜欢它的UI或马斯克的牌子。</p><h2 id="个人感受和展望"><a href="#个人感受和展望" class="headerlink" title="个人感受和展望"></a>个人感受和展望</h2><p>老实说，Grok3比我想象中差点。20万张H100的训练规模听起来吓人，但实际表现也就那样。思考功能是我最喜欢的亮点，逻辑清晰，能救场，但次数限制太严格。Deep Search不稳定，关键时刻掉链子，上次好不容易用了一次还停电了，属实倒霉。</p><p>未来，我希望Grok3能优化基础能力，把Deep Search稳定住。样本量太少，现在下结论还早，等正式版推出我再测测看。</p>]]></content>
    
    
    <summary type="html">Grok3：地表最强模型？一次深入的测试与比较,Deepseek、gemini、ChatGPT均有参战</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Deepseek" scheme="https://www.laogou717.com/tags/Deepseek/"/>
    
    <category term="Grok" scheme="https://www.laogou717.com/tags/Grok/"/>
    
    <category term="对比" scheme="https://www.laogou717.com/tags/%E5%AF%B9%E6%AF%94/"/>
    
  </entry>
  
  <entry>
    <title>解决 Deepseek 官网卡顿与联网问题的全攻略</title>
    <link href="https://www.laogou717.com/2025/02/16/AI%20era/Deepseek/deepseek-Full-Blood-Online/"/>
    <id>https://www.laogou717.com/2025/02/16/AI%20era/Deepseek/deepseek-Full-Blood-Online/</id>
    <published>2025-02-16T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/lmCYd75CjnM">https://www.youtube.com/embed/lmCYd75CjnM</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&bvid=BV1w9wQe1EEt&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;bvid=BV1w9wQe1EEt&amp;autoplay=0</a></li><li>附件下载：<a href="https://pan.baidu.com/s/19WtPgEcAKBMfhL3ZqiJ8vA?pwd=LG66">https://pan.baidu.com/s/19WtPgEcAKBMfhL3ZqiJ8vA?pwd=LG66</a></li></ul></blockquote><blockquote><p>本文内容来源于我近期的视频讲解，旨在帮助那些刚入门或遇到类似问题的朋友。从如何处理 Deepseek R1 的联网问题，到免费 API 平台的推荐，再到 Docker 部署美化版 UI 的实践方案，下面我们将逐一展开说明。</p></blockquote><h2 id="一、Deepseek-官网卡顿问题"><a href="#一、Deepseek-官网卡顿问题" class="headerlink" title="一、Deepseek 官网卡顿问题"></a>一、Deepseek 官网卡顿问题</h2><p>许多新手反馈 Deepseek 官网访问时出现卡顿现象。可以看下前几天发的这篇文章:<a href="http://www.laogou717.com/2025/02/17/AI%20era/Deepseek/deepseek-Full-Blood-Online/">文章回顾</a></p><hr><h2 id="二、Deepseek-R1-的联网功能-科普"><a href="#二、Deepseek-R1-的联网功能-科普" class="headerlink" title="二、Deepseek R1 的联网功能 科普"></a>二、Deepseek R1 的联网功能 科普</h2><p>有不少朋友问如何让 <strong>Deepseek R1</strong> 模型”联网”。这里需要区分两个概念：  </p><ul><li><strong>模型本身</strong>：<strong>Deepseek R1</strong> 是一个离线的语言模型，其预训练数据截止到某个时间点，不具备自动联网更新的能力。  </li><li><strong>平台提供的联网功能</strong>：官网或第三方平台集成了额外的<strong>联网模块</strong>。当用户手动开启联网开关时，平台会调用网络搜索接口，将最新信息补充进回答中。<br>因此，如果你希望获得最新信息，请确保使用的平台或 API 集成了联网模块。而针对此问题，我将推荐几个<strong>优质且快速</strong>的 方案 供大家参考。</li></ul><hr><h2 id="三、推荐免费且便捷的在线平台"><a href="#三、推荐免费且便捷的在线平台" class="headerlink" title="三、推荐免费且便捷的在线平台"></a>三、推荐免费且便捷的在线平台</h2><p><strong>针对不同需求，我列出了以下两款我测试一周的平台，方便大家直接使用：</strong></p><h3 id="1-Cydiar-C佬的-Juchats-平台"><a href="#1-Cydiar-C佬的-Juchats-平台" class="headerlink" title="1. Cydiar C佬的 Juchats 平台"></a>1. Cydiar C佬的 Juchats 平台</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesjuchats.jpeg"></p><blockquote><p>该平台最近已接入 Deepseek R1 以及 V3 的满血版，注册登录后即可直接<strong>无限使用</strong>,伟大无需多言。同时支持 <strong>Deepseek R1 模型联网</strong>功能。</p></blockquote><p><strong>注意：</strong> 博客中的<strong>链接均带有邀请码</strong>，如果你不希望使用邀请码，请在地址栏中删除相关内容后再加载页面。</p><p><a href="https://www.juchats.com/?code=91C04665%22">访问Juchats</a></p><hr><h3 id="2-Flowith-io"><a href="#2-Flowith-io" class="headerlink" title="2. Flowith.io"></a>2. Flowith.io</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesflowith.jpeg"><br>支持 Google 或 GitHub 账号直接登录，也可通过邮箱注册。免费用户拥有 <strong>5000 次</strong>聊天额度，<strong>500K 知识库 Token</strong> 邀请新人后还能获得更多使用次数。</p><blockquote><p>我的邀请码为:<strong>WN57ND</strong> ,点击访问按钮后会自动复制到你的粘贴板。<br><a href="https://flowith.io/">点击访问</a></p></blockquote><hr><h3 id="3-LobeChat-Cloud"><a href="#3-LobeChat-Cloud" class="headerlink" title="3. LobeChat Cloud"></a>3. LobeChat Cloud</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesLobeChat.jpeg"><br>LobeChat Cloud 开始公测: 为所有注册用户提供了免费的 <strong>450,000</strong> 额度计算积分，无需复杂配置开箱即用, 支持全局云同步与<strong>进阶联网查询</strong>，更多高级特性等你探索。</p><p><a href="https://lobechat.com/">访问LobeChat</a></p><hr><h3 id="4-微信搜索内置-DeepSeek-R1满血版"><a href="#4-微信搜索内置-DeepSeek-R1满血版" class="headerlink" title="4. 微信搜索内置 DeepSeek R1满血版"></a>4. 微信搜索内置 DeepSeek R1满血版</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageswxdeepseek.gif"></p><ul><li>点击顶部的搜索,找到 <strong>AI搜索</strong> ,选择 DeepSeek R1 即可开始聊天✨</li></ul><h3 id="5-腾讯元宝-AI-内置-DeepSeek-R1满血版"><a href="#5-腾讯元宝-AI-内置-DeepSeek-R1满血版" class="headerlink" title="5. 腾讯元宝 AI 内置 DeepSeek R1满血版"></a>5. 腾讯元宝 AI 内置 DeepSeek R1满血版</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagestxyuanbao.jpeg"><br>毕竟和微信都属于<strong>腾讯</strong>公司,所以用同一个源也非常合理,一样支持<strong>联网</strong>,选择 DeepSeek R1 即可开始聊天✨</p><p><a href="https://yuanbao.tencent.com/chat">访问TX元宝</a></p><hr><h2 id="四、满血版本地、-API-联网平台推荐"><a href="#四、满血版本地、-API-联网平台推荐" class="headerlink" title="四、满血版本地、 API 联网平台推荐"></a>四、满血版本地、 API 联网平台推荐</h2><h3 id="字节跳动旗下火山引擎"><a href="#字节跳动旗下火山引擎" class="headerlink" title="字节跳动旗下火山引擎"></a>字节跳动旗下火山引擎</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E7%81%AB%E5%B1%B1%E5%BC%95%E6%93%8E.jpeg"><br>火山引擎平台提供 Deepseek-R1 与 Deepseek-V3 满血版的 API 服务，配置稍显复杂但功能强大。  </p><p><strong>配置 API 及联网功能</strong></p><ul><li><p>进入<strong>火山引擎的控制台</strong><br><LinkButton href="https://console.volcengine.com/ark/" iconPosition="right" radius="sm" external>点击访问</LinkButton></p></li><li><p>可使用抖音账号或手机号登录，首次登录后平台会赠送<strong>每个模型 50 万 token</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E7%99%BB%E9%99%86.jpeg"></p></li><li><p>登陆后在左下角点击<strong>开通管理</strong>,然后在右边列表中开通你要使用的模型(<strong>如果已开通请忽略这步</strong>)<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E5%BC%80%E9%80%9A%E6%A8%A1%E5%9E%8B.jpeg"></p></li><li><p>然后再 <strong>API Key</strong> 管理,在右边创建一个新的 <strong>API Key</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E5%88%9B%E5%BB%BAAPIKEY.jpeg"></p></li><li><p>创建完成后,打开小眼睛图标👀,把 <strong>API Key</strong> 复制下来<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E5%A4%8D%E5%88%B6APIKEY.jpeg"></p></li><li><p>这次仍然以  <strong>Cherry Studio</strong> 为例(可以在我提供的<strong>大礼包</strong>里查看)</p></li><li><p>把复制的 <strong>API Key</strong> 填入 <strong>Cherry Studio</strong></p></li><li><p>具体步骤为 点击左下角设置–找到<strong>火山引擎</strong>–把 <strong>API Key</strong> 填进对应地址<br><strong>(如果使用的是老版本就选择豆包)</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagescherryapi.jpeg"></p></li><li><p>回到<strong>火山引擎</strong>中,点击左侧的在线推理,创建一个<strong>在线推理点</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E5%9C%A8%E7%BA%BF%E6%8E%A8%E7%90%86%E7%82%B9.jpeg"></p></li><li><p>随便命名一下,点击<strong>添加模型</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E6%8E%A8%E7%90%86%E7%82%B9%E5%88%9B%E5%BB%BA.jpeg"></p></li><li><p>然后选择 <strong>DeepSeek-R1</strong> ,勾选左边的模型版本,最后点<strong>确定</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E9%80%89%E6%8B%A9%E6%8E%A8%E7%90%86%E6%A8%A1%E5%9E%8B.jpeg"><br>点击<strong>确定接入</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E7%A1%AE%E5%AE%9A%E6%8E%A5%E5%85%A5.jpeg"><br>我们从<strong>在线推理</strong>列表中,找到我们刚创建的那个,点右边的 <strong>API 调用</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E6%8E%A8%E7%90%86%E7%82%B9%E8%B0%83%E7%94%A8.png"><br>在上方点击<strong>关联应用</strong>,去创建一个<strong>联网应用</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E5%85%B3%E8%81%94%E5%BA%94%E7%94%A8.jpeg"><br>选择<strong>零代码创建</strong>一个单人或多人聊天的 APP<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/images%E9%9B%B6%E4%BB%A3%E7%A0%81%E5%88%9B%E5%BB%BA.jpeg"><br>同样的随便去 <strong>命名</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesappname.png"><br>在<strong>推理接入点</strong>这里选择我们创建的那个接入点<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesappcofig.png"><br>打开<strong>联网内容插件</strong>,第一次使用点击的时候会提示开通搜索包,目前免费20000次<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesweb.png"><br>设置完毕后,点击右上角的<strong>发布应用</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesupapp.png"><br>之后我们复制应用名称下面的<strong>应用ID</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagescopybotid.png"><br>回到 <strong>Cherry Studio</strong> 中,点击<strong>添加模型</strong>(这里建议把之前的模型删掉以免混乱)<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesaddmodel.png"><br>把我们的<strong>应用ID</strong>粘贴到<strong>模型ID</strong>这里,然后下面两个填入模型名称:<code>DeepSeek-R1</code>,然后添加即可<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesidtext.png"><br>这时候直接去点击<strong>检查</strong>,会出现一个连接失败的错误 🙅 , 这是因为字节的<strong>应用</strong>和<strong>模型</strong>并不适用同一个接口地址<br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageserr.png"><br>我们只需要在默认的<strong>API地址</strong>后面加上 <code>bots/</code> ,如果你使用的是其它<strong>客户端</strong>进行连接,那么它的完整版地址是:</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://ark.cn-beijing.volces.com/api/v3/bots/chat/completions</span><br></pre></td></tr></table></figure><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesbots.png"><br>然后我们再次进行<strong>测试连接</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesyes.png"><br><strong>Cherry Studio 聊天测试</strong><br><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageswebyanshi.png"></p></li></ul><h3 id="AnythingLLM-本地、API联网"><a href="#AnythingLLM-本地、API联网" class="headerlink" title="AnythingLLM  (本地、API联网)"></a>AnythingLLM  (本地、API联网)</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesanythingllm.jpeg"><br>这是一个<strong>全栈应用程序</strong>，可以将任何<strong>文档、资源</strong>（如网址、音频、视频）或用户内容片段转换为上下文，以便任何大语言模型（LLM）在聊天期间参考使用。此应用程序允许您选择使用哪个LLM或支持数据库。适合初学者<strong>快速体验模型联网</strong>的效果。</p><p><a href="https://anythingllm.com/">访问官网</a></p><hr><h3 id="2-page-assist-本地、API联网工具-浏览器扩展-本地、API联网"><a href="#2-page-assist-本地、API联网工具-浏览器扩展-本地、API联网" class="headerlink" title="2. page-assist 本地、API联网工具 浏览器扩展 (本地、API联网)"></a>2. page-assist 本地、API联网工具 浏览器扩展 (本地、API联网)</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imagesPageAssist.jpeg"></p><ul><li><p>各类任务的侧边栏</p></li><li><p>支持<strong>视觉模型</strong></p></li><li><p>本地AI模型的简约网页界面</p></li><li><p>网络搜索功能</p></li><li><p>在侧边栏与PDF进行对话</p></li><li><p>与文档对话（支持pdf、csv、txt、md、docx格式）</p></li></ul><div class="repo-card">  <a class='name-r8uf8k3tm repo-title fancybox' href="https://github.com/n4ze3m/page-assist"></a>  <p class='desc-r8uf8k3tm repo-desc'></p>  <div class="repo-gist">    <i class="fas fa-star"></i>    <span class='star-r8uf8k3tm'></span>    <i class="fas fa-code-branch"></i>    <span class='fork-r8uf8k3tm'></span>  </div>  <img class='lang-r8uf8k3tm repo-language no-lightbox' />  <script>    fetch('https://api.github.com/repos/n4ze3m/page-assist')      .then(res => res.json())      .then(data => {        document.querySelector('.name-r8uf8k3tm').innerText = data.name;        document.querySelector('.desc-r8uf8k3tm').innerText = data.description;        document.querySelector('.star-r8uf8k3tm').innerText = data.stargazers_count;        document.querySelector('.fork-r8uf8k3tm').innerText = data.forks_count;        document.querySelector('.lang-r8uf8k3tm').src = 'https://skillicons.dev/icons?i=' + data.language.toLowerCase();    });  </script>  </div><p><a href="https://chromewebstore.google.com/detail/page-assist-%E6%9C%AC%E5%9C%B0-ai-%E6%A8%A1%E5%9E%8B%E7%9A%84-web/jfgfiigpkhlkbnfnbobbkinehhfdhndo">Google扩展下载</a>、<a href="/attachments/edge.zip">Edge扩展下载</a>、<a href="https://addons.mozilla.org/zh-CN/firefox/addon/page-assist/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search">火狐扩展下载</a></p><p>此外，还可参考其他<strong>开源项目和平台</strong>，根据个人需求选择合适的解决方案。</p><h2 id="五、Docker-部署-WebUI-方案"><a href="#五、Docker-部署-WebUI-方案" class="headerlink" title="五、Docker 部署 WebUI 方案"></a>五、Docker 部署 WebUI 方案</h2><h3 id="OpenWebUI部署"><a href="#OpenWebUI部署" class="headerlink" title="OpenWebUI部署"></a>OpenWebUI部署</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 3000:8080 \</span><br><span class="line">  -v open-webui:/app/backend/data \</span><br><span class="line">  --name open-webui \</span><br><span class="line">  --restart always \</span><br><span class="line">  ghcr.io/open-webui/open-webui:0.4.8</span><br></pre></td></tr></table></figure><h3 id="LobeChat部署"><a href="#LobeChat部署" class="headerlink" title="LobeChat部署"></a>LobeChat部署</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageslobechat.png"><br><strong>1.复制命令到终端</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://host.docker.internal:11434/v1 lobehub/lobe-chat</span><br></pre></td></tr></table></figure><p><a href="https://lobehub.com/zh/docs/usage/features/local-llm">访问文档</a><br> <div class="repo-card">  <a class='name-wso885rxx repo-title fancybox' href="https://github.com/lobehub/lobe-chat"></a>  <p class='desc-wso885rxx repo-desc'></p>  <div class="repo-gist">    <i class="fas fa-star"></i>    <span class='star-wso885rxx'></span>    <i class="fas fa-code-branch"></i>    <span class='fork-wso885rxx'></span>  </div>  <img class='lang-wso885rxx repo-language no-lightbox' />  <script>    fetch('https://api.github.com/repos/lobehub/lobe-chat')      .then(res => res.json())      .then(data => {        document.querySelector('.name-wso885rxx').innerText = data.name;        document.querySelector('.desc-wso885rxx').innerText = data.description;        document.querySelector('.star-wso885rxx').innerText = data.stargazers_count;        document.querySelector('.fork-wso885rxx').innerText = data.forks_count;        document.querySelector('.lang-wso885rxx').src = 'https://skillicons.dev/icons?i=' + data.language.toLowerCase();    });  </script>  </div>   </p><hr><h3 id="LibreChat部署步骤-教程来自官网"><a href="#LibreChat部署步骤-教程来自官网" class="headerlink" title="LibreChat部署步骤(教程来自官网)"></a>LibreChat部署步骤(教程来自官网)</h3><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageslibrecaht.jpeg"></p><p>按照以下步骤使用<strong>默认配置</strong>部署 LibreChat：</p><p><strong>1.克隆存储库</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git <span class="built_in">clone</span> https://github.com/danny-avila/LibreChat.git</span><br></pre></td></tr></table></figure><p><strong>2.导航到 LibreChat 目录</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> LibreChat</span><br></pre></td></tr></table></figure><p><strong>3.从 .env.example 创建 .env 文件</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cp</span> .env.example .<span class="built_in">env</span></span><br></pre></td></tr></table></figure><p>注意： 如果您使用的是 <strong>Windows</strong>，则可能需要使用<strong>copy而不是cp</strong>。</p><p><strong>4.启动 LibreChat</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">docker compose up -d</span><br></pre></td></tr></table></figure><p><strong>5.访问 LibreChat！</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">访问http://localhost:3080/</span><br></pre></td></tr></table></figure><p><strong>6.更新 LibreChat</strong></p><p><strong>注意：根据您的环境权限，您可能需要在命令前加上 sudo。</strong></p><ul><li>停止正在运行的容器 <code>docker compose down</code></li><li>提取最新的项目变更 <code>git pull</code></li><li>拉取最新的 LibreChat 镜像 <code>docker compose pull</code></li><li>启动 LibreChat <code>docker compose up</code></li></ul><h2 id="六、一键部署个人网站"><a href="#六、一键部署个人网站" class="headerlink" title="六、一键部署个人网站"></a>六、一键部署个人网站</h2><p><img src="https://raw.githubusercontent.com/JonasTech0/Jonas-imgs-240211/main/imageslobechat2.png"></p><h3 id="LobeChat一键部署"><a href="#LobeChat一键部署" class="headerlink" title="LobeChat一键部署"></a>LobeChat一键部署</h3><p>通过以下按钮即可快速启动一个自己的聊天网站。</p><button class="st-btn" onclick="window.open(&#39;https:&#x2F;&#x2F;vercel.com&#x2F;new&#x2F;clone?repository-url&#x3D;https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&amp;env&#x3D;OPENAI_API_KEY,ACCESS_CODE&amp;envDescription&#x3D;Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website&amp;envLink&#x3D;https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&amp;project-name&#x3D;lobe-chat&amp;repository-name&#x3D;lobe-chat&#39;)"><i class="solitude icon"></i><span>vercel部署</span></button><button class="st-btn" onclick="window.open(&#39;https:&#x2F;&#x2F;zeabur.com&#x2F;templates&#x2F;VZGGTI&#39;)"><i class="solitude icon"></i><span>zeabur部署</span></button><h3 id="LibreChat一键部署"><a href="#LibreChat一键部署" class="headerlink" title="LibreChat一键部署"></a>LibreChat一键部署</h3><button class="st-btn" onclick="window.open(&#39;https:&#x2F;&#x2F;railway.com&#x2F;template&#x2F;b5k2mn?referral&#39;)"><i class="solitude icon"></i><span>railway部署</span></button><button class="st-btn" onclick="window.open(&#39;https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;LibreChat&#x2F;LibreCha&#39;)"><i class="solitude icon"></i><span>huggingface部署</span></button><h2 id="七、其他常见问题与温馨提示"><a href="#七、其他常见问题与温馨提示" class="headerlink" title="七、其他常见问题与温馨提示"></a>七、其他常见问题与温馨提示</h2><ul><li><p><strong>硅基流动问题</strong><br>免费用户在使用 Deepseek 服务时可能会受到访问速度限制，付费用户体验较好。对于大部分用户来说，如果出现聊天速度缓慢的情况，可以考虑直接使用 API 替代方案。</p></li><li><p><strong>GitHubmodels API 接入报错</strong><br>国内网络环境不稳定是常见原因，建议尝试更换优质节点，或选择其他快速 API。</p></li><li><p><strong>博客访问卡顿</strong><br>如果博客加载缓慢，可以直接使用备用链接或下载本地资源。</p></li><li><p><strong>声音问题</strong><br>关于视频中声音大小的问题，由于录制时连续作业且个人嗓子状态原因，可能出现声音不理想的情况。建议大家以内容为主，多关注技术细节。</p></li></ul><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>本期文章从多个角度详细解答了 Deepseek 官网卡顿、模型联网、API 接入及 Docker 部署 UI 等问题。希望这篇文章能够帮助到正在寻找解决方案的新手朋友，也欢迎各位留言讨论、提出建议。<br>对于 Deepseek R1 模型及其联网模块，关键在于理解模型本身与平台功能的区分；而选择优质 API 或平台，则能让体验更加顺畅。</p><p>感谢各位的阅读与支持，祝大家在使用 Deepseek 以及其他 AI 工具的过程中都能事半功倍！</p><p>如果您有任何疑问或反馈，欢迎在评论区留言讨论。</p>]]></content>
    
    
    <summary type="html">在本期文章中，我将与大家分享如何解决 Deepseek 官网卡顿的问题，以及解答新手常见的疑问。</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Deepseek" scheme="https://www.laogou717.com/tags/Deepseek/"/>
    
    <category term="联网" scheme="https://www.laogou717.com/tags/%E8%81%94%E7%BD%91/"/>
    
    <category term="热门" scheme="https://www.laogou717.com/tags/%E7%83%AD%E9%97%A8/"/>
    
  </entry>
  
  <entry>
    <title>沉浸式翻译 + DeepSeek API 打造智能翻译助手</title>
    <link href="https://www.laogou717.com/2025/02/10/AI%20era/Deepseek/DeepseekTranslate/"/>
    <id>https://www.laogou717.com/2025/02/10/AI%20era/Deepseek/DeepseekTranslate/</id>
    <published>2025-02-10T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/2m_Isldw_I0">https://www.youtube.com/embed/2m_Isldw_I0</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&bvid=BV1tzNieDEqi&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;bvid=BV1tzNieDEqi&amp;autoplay=0</a></li></ul></blockquote><h2 id="一、DeepSeek-API-配置"><a href="#一、DeepSeek-API-配置" class="headerlink" title="一、DeepSeek API 配置"></a>一、DeepSeek API 配置</h2><p>DeepSeek API 使用与 OpenAI 兼容的 API 格式，可以通过简单配置实现与各种工具的集成：</p><ol><li><p><strong>基础配置</strong></p><ul><li>API 基础地址：<code>https://api.deepseek.com</code></li><li>需要申请 <a href="https://platform.deepseek.com/api_keys">API Key</a></li><li>支持与 OpenAI SDK 兼容的调用方式</li></ul></li><li><p><strong>可用模型</strong></p><ul><li><code>deepseek-chat</code>：已升级为 DeepSeek-V3，通用对话模型</li><li><code>deepseek-reasoner</code>：最新推出的 DeepSeek-R1 推理模型</li></ul></li><li><p><strong>调用示例</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">curl https://api.deepseek.com/chat/completions \</span><br><span class="line">  -H <span class="string">&quot;Content-Type: application/json&quot;</span> \</span><br><span class="line">  -H <span class="string">&quot;Authorization: Bearer &lt;DeepSeek API Key&gt;&quot;</span> \</span><br><span class="line">  -d <span class="string">&#x27;&#123;</span></span><br><span class="line"><span class="string">    &quot;model&quot;: &quot;deepseek-chat&quot;,</span></span><br><span class="line"><span class="string">    &quot;messages&quot;: [</span></span><br><span class="line"><span class="string">      &#123;&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: &quot;You are a helpful assistant.&quot;&#125;,</span></span><br><span class="line"><span class="string">      &#123;&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Hello!&quot;&#125;</span></span><br><span class="line"><span class="string">    ],</span></span><br><span class="line"><span class="string">    &quot;stream&quot;: false</span></span><br><span class="line"><span class="string">  &#125;&#x27;</span></span><br></pre></td></tr></table></figure></li><li><p><strong>其他 API 选择</strong></p><ul><li>硅基流动</li><li>阿里云百炼</li><li>腾讯云</li><li>火山引擎</li></ul></li></ol><h2 id="二、沉浸式翻译功能详解"><a href="#二、沉浸式翻译功能详解" class="headerlink" title="二、沉浸式翻译功能详解"></a>二、沉浸式翻译功能详解</h2><p>沉浸式翻译官网:<a href="https://immersivetranslate.com/zh-Hans/">https://immersivetranslate.com/zh-Hans/</a></p><h3 id="2-1-网页实时翻译"><a href="#2-1-网页实时翻译" class="headerlink" title="2.1 网页实时翻译"></a>2.1 网页实时翻译</h3><ol><li><p><strong>基础翻译功能</strong></p><ul><li>支持网页、文档、输入框等多场景翻译</li><li>通过右侧悬浮窗控制翻译功能</li><li>自动排版，在原文下方显示译文</li><li>实现对照翻译效果</li></ul></li><li><p><strong>鼠标悬浮翻译</strong></p><ul><li>可选择性翻译页面内容</li><li>支持自定义快捷键</li><li>浏览网页时鼠标悬停即可翻译</li></ul></li><li><p><strong>学习模式</strong></p><ul><li>在基本设置中可选择学习模式</li><li>译文默认不可见</li><li>鼠标悬停时才显示翻译</li><li>帮助提升语言学习效果</li></ul></li></ol><h3 id="2-2-输入框翻译增强"><a href="#2-2-输入框翻译增强" class="headerlink" title="2.2 输入框翻译增强"></a>2.2 输入框翻译增强</h3><ol><li><p><strong>快捷翻译</strong></p><ul><li>启用输入框增强功能</li><li>选择目标翻译语言</li><li>输入文字后三击空格自动翻译</li><li>支持多语言互译</li></ul></li><li><p><strong>应用场景</strong></p><ul><li>邮件写作</li><li>社交媒体交流</li><li>AI 工具使用</li><li>提高跨语言交流效率</li></ul></li></ol><h3 id="2-3-多媒体翻译支持"><a href="#2-3-多媒体翻译支持" class="headerlink" title="2.3 多媒体翻译支持"></a>2.3 多媒体翻译支持</h3><ol><li><p><strong>漫画翻译</strong></p><ul><li>支持数十家主流平台</li><li>自动识别分析文字</li><li>实时处理翻译</li><li>无需等待字幕组</li></ul></li><li><p><strong>图片翻译</strong></p><ul><li>支持网页内图片翻译</li><li>一键翻译功能</li><li>保持原图布局</li></ul></li><li><p><strong>文档翻译</strong></p><ul><li>支持论文、电子书等格式</li><li>网页端和小程序均可使用</li><li>支持聊天记录中文档快速上传</li></ul></li></ol><h3 id="2-4-移动端支持"><a href="#2-4-移动端支持" class="headerlink" title="2.4 移动端支持"></a>2.4 移动端支持</h3><ol><li><p><strong>App 功能</strong></p><ul><li>支持安卓和 iOS 平台</li><li>可设为默认浏览器</li><li>快速启用翻译功能</li><li>支持社交媒体翻译</li></ul></li><li><p><strong>特色功能</strong></p><ul><li>小红书外文帖子翻译</li><li>快捷英文评论翻译</li><li>三击空格快速翻译</li><li>跨平台同步设置</li></ul></li></ol><h3 id="2-5-视频会议支持"><a href="#2-5-视频会议支持" class="headerlink" title="2.5 视频会议支持"></a>2.5 视频会议支持</h3><ol><li><p><strong>视频翻译</strong></p><ul><li>支持 YouTube、Netflix、TED 等平台</li><li>双语字幕显示</li><li>实时字幕翻译</li></ul></li><li><p><strong>会议翻译</strong></p><ul><li>支持主流会议平台</li><li>实时会议字幕翻译</li><li>会议群聊翻译</li><li>提升跨语言沟通效率</li></ul></li></ol><h2 id="三、DeepSeek-API-集成配置"><a href="#三、DeepSeek-API-集成配置" class="headerlink" title="三、DeepSeek API 集成配置"></a>三、DeepSeek API 集成配置</h2><ol><li><p><strong>API 设置</strong></p><ul><li>在沉浸式翻译设置中添加自定义翻译服务</li><li>配置 DeepSeek API 密钥</li><li>选择适合的翻译模型</li><li>设置请求参数</li></ul></li><li><p><strong>翻译优化</strong></p><ul><li>调整翻译温度参数</li><li>设置上下文长度</li><li>配置翻译风格</li><li>优化响应速度</li></ul></li><li><p><strong>使用建议</strong></p><ul><li>根据场景选择合适的模型</li><li>合理设置翻译缓存</li><li>注意 API 使用配额</li><li>定期更新配置</li></ul></li></ol><h2 id="四、注意事项"><a href="#四、注意事项" class="headerlink" title="四、注意事项"></a>四、注意事项</h2><ol><li><p><strong>API 限制</strong></p><ul><li>注意 API 调用频率限制</li><li>合理使用 TOKEN 配额</li><li>避免频繁重复请求</li></ul></li><li><p><strong>性能优化</strong></p><ul><li>启用本地缓存</li><li>使用增量翻译</li><li>避免过大文本段落</li></ul></li><li><p><strong>安全建议</strong></p><ul><li>妥善保管 API 密钥</li><li>注意敏感信息保护</li><li>定期更新安全设置</li></ul></li></ol><p><em>文章和视频会持续更新，欢迎关注！如有问题可在评论区留言。</em> </p>]]></content>
    
    
    <summary type="html">详细介绍如何使用 DeepSeek API 和沉浸式翻译插件打造个性化翻译助手，包括 API 配置、翻译功能设置等内容</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Deepseek" scheme="https://www.laogou717.com/tags/Deepseek/"/>
    
    <category term="翻译" scheme="https://www.laogou717.com/tags/%E7%BF%BB%E8%AF%91/"/>
    
    <category term="插件" scheme="https://www.laogou717.com/tags/%E6%8F%92%E4%BB%B6/"/>
    
  </entry>
  
  <entry>
    <title>Deepseek满血版API</title>
    <link href="https://www.laogou717.com/2025/02/09/AI%20era/Deepseek/DeepseekAPI/"/>
    <id>https://www.laogou717.com/2025/02/09/AI%20era/Deepseek/DeepseekAPI/</id>
    <published>2025-02-09T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/tvSeIZ-NCOo?si=8Mz_zX7mlZ-DcdBW">https://www.youtube.com/embed/tvSeIZ-NCOo?si=8Mz_zX7mlZ-DcdBW</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&aid=113976553772978&bvid=BV1cJNQeSEC7&cid=28305392564&p=1&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;aid=113976553772978&amp;bvid=BV1cJNQeSEC7&amp;cid=28305392564&amp;p=1&amp;autoplay=0</a></li><li>附件下载：<a href="https://pan.baidu.com/s/12tHb-jRw3brGBehUnQI4Yg?pwd=6666">https://pan.baidu.com/s/12tHb-jRw3brGBehUnQI4Yg?pwd=6666</a></li></ul></blockquote><h2 id="Cherry-Studio-客户端"><a href="#Cherry-Studio-客户端" class="headerlink" title="Cherry Studio 客户端"></a>Cherry Studio 客户端</h2><p>Cherry Studio 是一个现代化的 AI 模型管理和调用工具：</p><ol><li><p><strong>下载安装</strong></p><ul><li>官网：<a href="https://cherry-ai.com/">https://cherry-ai.com/</a></li><li>GitHub：<a href="https://github.com/CherryHQ/cherry-studio">CherryHQ&#x2F;cherry-studio</a></li><li>网盘下载：支持百度网盘和 123 网盘</li></ul></li><li><p><strong>配置说明</strong></p><ul><li>支持多种模型源配置：<ul><li>硅基流动</li><li>腾讯云 LKE</li><li>阿里云百炼</li><li>GitHub Models</li><li>Ollama</li></ul></li><li>知识库功能：<ul><li>支持文档导入和量化</li><li>可选择不同的嵌入模型</li><li>支持多知识库管理</li></ul></li></ul></li><li><p><strong>使用步骤</strong></p><ul><li>添加模型源：<ol><li>点击左下角设置按钮</li><li>选择或添加模型源</li><li>配置 API 密钥和端点</li><li>添加所需模型</li></ol></li><li>知识库配置：<ol><li>点击左侧知识库按钮</li><li>创建新知识库</li><li>选择嵌入模型</li><li>导入文档等待量化</li><li>在聊天时勾选知识库即可使用</li></ol></li></ul></li></ol><h2 id="DeepseekAPI平台"><a href="#DeepseekAPI平台" class="headerlink" title="DeepseekAPI平台"></a>DeepseekAPI平台</h2><p>以下是一些可以快速体验和部署 AI 模型的平台：</p><ol><li><p><strong>硅基流动</strong></p><ul><li>访问地址：<a href="https://cloud.siliconflow.cn/i/Oj0qFpgb">https://cloud.siliconflow.cn/i/Oj0qFpgb</a></li><li>特点：<ul><li>通过邀请链接注册可获得 2,000 万 TOKEN</li><li>支持知识库构建和 API 调用</li><li>提供完整的 API 接口和文档</li></ul></li><li>使用步骤：<ol><li>通过链接注册（可选择是否使用邀请码）</li><li>进入控制台创建 API 密钥</li><li>在应用中配置并开始使用</li></ol></li></ul></li><li><p><strong>腾讯云 LKE</strong></p><ul><li>API 配置：<a href="https://console.cloud.tencent.com/lkeap/settings">控制台设置</a></li><li>在线体验：<a href="https://lke.cloud.tencent.com/lke#/experience-center/home?origin=knowledge_engine">体验中心</a></li><li>API 端点：<code>https://api.lkeap.cloud.tencent.com</code></li><li>可用模型：<ul><li><code>deepseek-r1</code>: Deepseek 基础对话模型</li><li><code>deepseek-v3</code>: Deepseek 增强版对话模型</li></ul></li><li>特点：<ul><li>提供 1,000 万免费 TOKEN</li><li>支持联网搜索能力</li><li>可创建自定义应用和知识库</li></ul></li><li>调用示例：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">curl -X POST <span class="string">&quot;https://api.lkeap.cloud.tencent.com/v1/chat/completions&quot;</span> \</span><br><span class="line">  -H <span class="string">&quot;Content-Type: application/json&quot;</span> \</span><br><span class="line">  -H <span class="string">&quot;Authorization: Bearer YOUR_API_KEY&quot;</span> \</span><br><span class="line">  -d <span class="string">&#x27;&#123;</span></span><br><span class="line"><span class="string">    &quot;model&quot;: &quot;deepseek-v3&quot;,</span></span><br><span class="line"><span class="string">    &quot;messages&quot;: [</span></span><br><span class="line"><span class="string">      &#123;&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;你好，请介绍一下你自己&quot;&#125;</span></span><br><span class="line"><span class="string">    ],</span></span><br><span class="line"><span class="string">    &quot;temperature&quot;: 0.7</span></span><br><span class="line"><span class="string">  &#125;&#x27;</span></span><br></pre></td></tr></table></figure></li></ul></li><li><p><strong>阿里云百炼</strong></p><ul><li>访问地址：<a href="https://bailian.console.aliyun.com/#/home">百炼控制台</a></li><li>特点：<ul><li>提供 1,000 万免费 TOKEN</li><li>支持 Deepseek 模型调用</li><li>简单的 API 接入流程</li></ul></li><li>使用步骤：<ol><li>登录控制台</li><li>选择 Deepseek 模型</li><li>创建并获取 API 密钥</li></ol></li></ul></li><li><p><strong>GitHub Models</strong></p><ul><li>访问地址：<a href="https://github.com/marketplace?type=models">GitHub Marketplace</a></li><li>特点：<ul><li>提供多种开源模型，包括 O3 mini、O1 和 Deepseek</li><li>支持 API 调用</li><li>可设置 TOKEN 有效期</li></ul></li><li>使用步骤：<ol><li>登录 GitHub 账户</li><li>选择需要的模型（如 Deepseek R1）</li><li>创建 API TOKEN（可设置有效期）</li><li>在应用中配置并使用</li></ol></li></ul></li></ol><h2 id="本地部署-Ollama"><a href="#本地部署-Ollama" class="headerlink" title="本地部署 - Ollama"></a>本地部署 - Ollama</h2><p>Ollama 提供了便捷的本地 AI 模型部署方案：</p><ol><li><p><strong>安装方法</strong></p><ul><li>官方下载：<a href="https://ollama.com/">https://ollama.com/</a></li><li>国内加速：<a href="https://pan.baidu.com/s/12tHb-jRw3brGBehUnQI4Yg?pwd=6666">百度网盘下载</a></li></ul></li><li><p><strong>模型部署</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 查看已安装模型</span></span><br><span class="line">ollama list</span><br><span class="line"></span><br><span class="line"><span class="comment"># 安装新模型</span></span><br><span class="line">ollama pull deepseek-coder:7b-instruct-q4_K_M</span><br></pre></td></tr></table></figure></li><li><p><strong>Cherry Studio 集成</strong></p><ul><li>无需 API 密钥（可随意填写）</li><li>添加模型时使用 <code>ollama list</code> 显示的模型名称</li><li>支持与知识库结合使用</li></ul></li></ol><h2 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h2><ol><li><p><strong>网络问题</strong></p><ul><li>Ollama 下载可能遇到速度慢或中断问题</li><li>建议使用网盘下载离线包</li></ul></li><li><p><strong>资源占用</strong></p><ul><li>本地部署需要考虑硬件配置</li><li>70B 模型需要较高配置支持</li></ul></li><li><p><strong>API 限制</strong></p><ul><li>各平台 TOKEN 额度不同</li><li>建议合理使用免费额度</li></ul></li></ol><p><em>文章和视频会持续更新，欢迎关注！如有问题可在评论区留言。</em></p>]]></content>
    
    
    <summary type="html">深入介绍 Deepseek API 的本地部署、知识库搭建以及各种开源 AI 模型的使用方法</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Deepseek" scheme="https://www.laogou717.com/tags/Deepseek/"/>
    
    <category term="API" scheme="https://www.laogou717.com/tags/API/"/>
    
    <category term="Ollama" scheme="https://www.laogou717.com/tags/Ollama/"/>
    
    <category term="Cherry Studio" scheme="https://www.laogou717.com/tags/Cherry-Studio/"/>
    
  </entry>
  
  <entry>
    <title>本地部署 DeepSeek R1 无审查版本</title>
    <link href="https://www.laogou717.com/2025/02/09/AI%20era/Deepseek/ollama/"/>
    <id>https://www.laogou717.com/2025/02/09/AI%20era/Deepseek/ollama/</id>
    <published>2025-02-09T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>相关链接：</p><ul><li>YouTube：<a href="https://www.youtube.com/embed/_2EK2CmU-SU?si=fj5UNDdDGus8frvI">https://www.youtube.com/embed/_2EK2CmU-SU?si=fj5UNDdDGus8frvI</a></li><li>B站：<a href="https://player.bilibili.com/player.html?isOutside=true&bvid=BV12k4y197v6&autoplay=0">https://player.bilibili.com/player.html?isOutside=true&amp;bvid=BV12k4y197v6&amp;autoplay=0</a></li><li>附件：&#x2F;attachments&#x2F;nextjs-app-router.mdx</li></ul></blockquote><h2 id="一、项目概述"><a href="#一、项目概述" class="headerlink" title="一、项目概述"></a>一、项目概述</h2><h3 id="1-1-背景与优势"><a href="#1-1-背景与优势" class="headerlink" title="1.1 背景与优势"></a>1.1 背景与优势</h3><ul><li><p><strong>本地部署优势</strong>  </p><ul><li><strong>数据隐私</strong>：所有数据和推理均在本地运行，无需上传云端。  </li><li><strong>响应速度</strong>：降低网络延迟，快速响应用户请求。  </li><li><strong>成本节约</strong>：避免高昂的云服务费用。</li></ul></li><li><p><strong>Ollama 简介</strong><br>Ollama 是一个开源的本地大模型运行框架，其操作方式类似 Docker（支持 pull、run、list、rm、cp 等命令），能够以统一标准管理模型包（Modelfile），支持多种主流大模型（如 DeepSeek R1、Llama 系列、Gemma 等）。</p></li><li><p><strong>示例选择：DeepSeek R1</strong><br>作为近年来开源领域中表现优异的模型之一，DeepSeek R1 在数学、代码和推理任务上具有出色性能。不同参数规模（例如 1.5B、7B、8B 等）对硬件资源需求不同，本文将给出详细建议。</p></li></ul><h3 id="1-2-目标"><a href="#1-2-目标" class="headerlink" title="1.2 目标"></a>1.2 目标</h3><ul><li>提供 Windows、Linux、macOS 下 Ollama 的安装与环境配置详细指南  </li><li>讲解如何下载、运行 DeepSeek R1 模型，并提供不同模型尺寸的硬件配置推荐  </li><li>补充说明如何清理（删除）已安装的模型  </li><li>介绍如何将 Ollama 部署的模型对接 WebUI 前端，并列出当前主流的 WebUI 解决方案</li></ul><hr><h2 id="二、硬件与系统要求"><a href="#二、硬件与系统要求" class="headerlink" title="二、硬件与系统要求"></a>二、硬件与系统要求</h2><p>各型号配置要求：</p><table><thead><tr><th>版本</th><th>内存</th><th>CPU</th><th>GPU</th><th>适用场景</th></tr></thead><tbody><tr><td>1.5B</td><td>8GB+</td><td>i5&#x2F;Ryzen 5</td><td>集成显卡或低端独显</td><td>基础对话、简单文本生成</td></tr><tr><td>7B&#x2F;8B</td><td>16GB+（建议24GB）</td><td>i7&#x2F;Ryzen 7</td><td>RTX 3060及以上</td><td>通用对话、代码生成</td></tr><tr><td>14B</td><td>32GB+</td><td>i9&#x2F;Ryzen 9</td><td>RTX 3080&#x2F;4070</td><td>长文本推理、专业应用</td></tr><tr><td>32B</td><td>64GB+</td><td>高性能多核服务器</td><td>双卡专业级GPU</td><td>科研计算、复杂检索</td></tr><tr><td>70B</td><td>128GB+</td><td>服务器级多核系统</td><td>多卡GPU集群</td><td>企业级私有化部署</td></tr></tbody></table><blockquote><p><strong>提示</strong>：实际配置需根据模型文件大小、使用场景和系统 I&#x2F;O 性能进行合理规划。</p></blockquote><hr><h2 id="三、安装与配置-Ollama"><a href="#三、安装与配置-Ollama" class="headerlink" title="三、安装与配置 Ollama"></a>三、安装与配置 Ollama</h2><p>下面分别介绍 Windows、Linux、macOS 平台下 Ollama 的安装及环境配置，包括如何修改默认模型存放路径。</p><h3 id="3-1-Windows-环境"><a href="#3-1-Windows-环境" class="headerlink" title="3.1 Windows 环境"></a>3.1 Windows 环境</h3><h4 id="3-1-1-安装-Ollama"><a href="#3-1-1-安装-Ollama" class="headerlink" title="3.1.1 安装 Ollama"></a>3.1.1 安装 Ollama</h4><ol><li><p><strong>下载安装</strong></p><ul><li>访问 <a href="https://ollama.com/download">Ollama 下载页面</a>，选择 Windows 版下载安装包。</li><li>双击安装程序，根据提示完成安装。</li></ul></li><li><p><strong>验证安装</strong><br>打开 CMD 或 PowerShell，输入：</p></li></ol><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama -v</span><br></pre></td></tr></table></figure><p>如果输出版本信息（如 <code>ollama version is 0.3.7</code>），说明安装成功。</p><h4 id="3-1-2-修改默认模型存放路径"><a href="#3-1-2-修改默认模型存放路径" class="headerlink" title="3.1.2 修改默认模型存放路径"></a>3.1.2 修改默认模型存放路径</h4><p>默认模型存储路径为 <code>C:\Users\&#123;username&#125;\.ollama\models</code>。为避免 C 盘空间不足，建议修改至其他盘符（如 D:）。</p><ol><li><p><strong>创建新目录</strong><br>确保在 D 盘创建目录，例如 <code>D:\ollama_models</code>。</p></li><li><p><strong>设置系统环境变量</strong><br>在 CMD（以管理员身份运行）执行：</p></li></ol><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">setx OLLAMA_MODELS &quot;D:\ollama_models&quot; /M</span><br></pre></td></tr></table></figure><p>此命令会将环境变量写入系统，重启后生效。</p><ol start="3"><li><strong>重启 Ollama 服务</strong><br>关闭 Ollama 相关进程，再重新启动。</li></ol><h4 id="3-1-3-其他配置"><a href="#3-1-3-其他配置" class="headerlink" title="3.1.3 其他配置"></a>3.1.3 其他配置</h4><p>如需让局域网内其他设备访问，可在系统环境变量中设置：</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">setx OLLAMA_HOST &quot;0.0.0.0&quot; /M</span><br></pre></td></tr></table></figure><p>这将使 Ollama 绑定到所有网络接口。</p><h3 id="3-2-Linux-环境"><a href="#3-2-Linux-环境" class="headerlink" title="3.2 Linux 环境"></a>3.2 Linux 环境</h3><h4 id="3-2-1-安装-Ollama"><a href="#3-2-1-安装-Ollama" class="headerlink" title="3.2.1 安装 Ollama"></a>3.2.1 安装 Ollama</h4><ol><li>使用一键安装脚本：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -fsSL https://ollama.com/install.sh | sh</span><br></pre></td></tr></table></figure></li><li>验证安装：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama -v</span><br></pre></td></tr></table></figure></li></ol><h4 id="3-2-2-配置模型存放路径"><a href="#3-2-2-配置模型存放路径" class="headerlink" title="3.2.2 配置模型存放路径"></a>3.2.2 配置模型存放路径</h4><p>默认路径可能为 <code>/usr/share/ollama/.ollama/models</code>。若需修改：</p><ol><li>创建目标目录（例如 <code>/data/ollama/models</code>）：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">sudo</span> <span class="built_in">mkdir</span> -p /data/ollama/models</span><br><span class="line"><span class="built_in">sudo</span> <span class="built_in">chown</span> -R $(<span class="built_in">whoami</span>):$(<span class="built_in">whoami</span>) /data/ollama/models</span><br><span class="line"><span class="built_in">sudo</span> <span class="built_in">chmod</span> -R 775 /data/ollama/models</span><br></pre></td></tr></table></figure></li><li>编辑 systemd 服务文件 <code>/etc/systemd/system/ollama.service</code>，在 <code>[Service]</code> 部分添加：<figure class="highlight ini"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">Environment</span>=<span class="string">&quot;OLLAMA_MODELS=/data/ollama/models&quot;</span></span><br><span class="line"><span class="attr">Environment</span>=<span class="string">&quot;OLLAMA_HOST=0.0.0.0&quot;</span></span><br></pre></td></tr></table></figure></li><li>重载 systemd 并重启服务：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">sudo</span> systemctl daemon-reload</span><br><span class="line"><span class="built_in">sudo</span> systemctl restart ollama</span><br></pre></td></tr></table></figure></li></ol><h4 id="3-2-3-清理已安装模型"><a href="#3-2-3-清理已安装模型" class="headerlink" title="3.2.3 清理已安装模型"></a>3.2.3 清理已安装模型</h4><ul><li><p><strong>通过命令行删除单个模型</strong><br>使用 <code>ollama rm 模型名称</code> 命令删除不需要的模型。例如：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama <span class="built_in">rm</span> deepseek-r1:1.5b</span><br></pre></td></tr></table></figure><p>该命令将会从本地清除指定模型的数据【citeturn1search2】。</p></li><li><p><strong>手动清理全部模型文件</strong><br>若要彻底清理所有模型，可以删除模型存放目录下的内容，但请谨慎操作：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">rm</span> -rf /data/ollama/models/*</span><br></pre></td></tr></table></figure><p>注意：删除前请确认备份重要数据。</p></li></ul><h4 id="3-2-4-卸载-Ollama（可选）"><a href="#3-2-4-卸载-Ollama（可选）" class="headerlink" title="3.2.4 卸载 Ollama（可选）"></a>3.2.4 卸载 Ollama（可选）</h4><p>如果需要卸载 Ollama，执行以下步骤：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">sudo</span> systemctl stop ollama</span><br><span class="line"><span class="built_in">sudo</span> systemctl <span class="built_in">disable</span> ollama</span><br><span class="line"><span class="built_in">sudo</span> <span class="built_in">rm</span> /etc/systemd/system/ollama.service</span><br><span class="line"><span class="built_in">sudo</span> <span class="built_in">rm</span> $(<span class="built_in">which</span> ollama)</span><br><span class="line"><span class="built_in">sudo</span> <span class="built_in">rm</span> -rf /data/ollama/models</span><br></pre></td></tr></table></figure><p>同时删除创建的 ollama 用户和组（如果已创建）。</p><h3 id="3-3-macOS-环境"><a href="#3-3-macOS-环境" class="headerlink" title="3.3 macOS 环境"></a>3.3 macOS 环境</h3><h4 id="3-3-1-安装-Ollama"><a href="#3-3-1-安装-Ollama" class="headerlink" title="3.3.1 安装 Ollama"></a>3.3.1 安装 Ollama</h4><ol><li>访问 <a href="https://ollama.com/download">Ollama 下载页面</a> ，下载 macOS 版安装包（通常为 ZIP 格式），解压后将应用拖入 Applications 文件夹。</li><li>启动 Ollama 应用后，打开终端输入：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama -v</span><br></pre></td></tr></table></figure>验证安装成功。</li></ol><h4 id="3-3-2-修改默认模型存放路径"><a href="#3-3-2-修改默认模型存放路径" class="headerlink" title="3.3.2 修改默认模型存放路径"></a>3.3.2 修改默认模型存放路径</h4><p>macOS 默认存放路径为 <code>~/.ollama/models</code>。若希望修改为其他位置，例如：</p><ol><li>在终端执行：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">mkdir</span> -p /Users/your_username/CustomOllamaModels</span><br><span class="line">launchctl setenv OLLAMA_MODELS <span class="string">&quot;/Users/your_username/CustomOllamaModels&quot;</span></span><br></pre></td></tr></table></figure></li><li>重启 Ollama 应用以使配置生效。</li></ol><h4 id="3-3-3-清理模型"><a href="#3-3-3-清理模型" class="headerlink" title="3.3.3 清理模型"></a>3.3.3 清理模型</h4><p>与 Linux 类似，可以在终端使用：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama <span class="built_in">rm</span> deepseek-r1:1.5b</span><br></pre></td></tr></table></figure><p>或手动删除 <code>~/.ollama/models</code> 目录下不需要的文件（建议先备份）。</p><hr><h2 id="四、下载与运行-DeepSeek-R1-模型"><a href="#四、下载与运行-DeepSeek-R1-模型" class="headerlink" title="四、下载与运行 DeepSeek R1 模型"></a>四、下载与运行 DeepSeek R1 模型</h2><p>在 Ollama 环境配置完成后，您可以使用以下命令下载并运行 DeepSeek R1 模型：</p><ul><li><strong>下载 DeepSeek R1 1.5B 模型</strong><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama run deepseek-r1:1.5b</span><br></pre></td></tr></table></figure></li><li><strong>下载 DeepSeek R1 7B 模型</strong><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama run deepseek-r1:7b</span><br></pre></td></tr></table></figure></li></ul><p>运行命令后，Ollama 会自动检测本地是否存在对应模型，如不存在则从模型库下载，下载完成后进入交互模式。退出时输入 <code>/bye</code>。</p><hr><h2 id="五、对接-WebUI-前端"><a href="#五、对接-WebUI-前端" class="headerlink" title="五、对接 WebUI 前端"></a>五、对接 WebUI 前端</h2><p>本地部署模型后，为了提升交互体验，可以使用 WebUI 前端对接 Ollama 模型。以下是常见的 WebUI 项目介绍和接入方法。</p><h3 id="5-1-常见可接入-Ollama-模型的-WebUI-项目"><a href="#5-1-常见可接入-Ollama-模型的-WebUI-项目" class="headerlink" title="5.1 常见可接入 Ollama 模型的 WebUI 项目"></a>5.1 常见可接入 Ollama 模型的 WebUI 项目</h3><ol><li><p><strong>Open WebUI</strong>  </p><ul><li><strong>简介</strong>：Open WebUI 是一个功能丰富、完全开源的自托管 Web 用户界面，支持离线运行和与 Ollama 及 OpenAI API 兼容的模型对接。  </li><li><strong>项目地址</strong>：<a href="https://github.com/open-webui/open-webui">GitHub – open-webui&#x2F;open-webui</a>  </li><li><strong>特点</strong>：界面直观、支持 Markdown&#x2F;LaTeX、可扩展性强、支持 RAG 功能等。  </li><li><strong>部署方式</strong>：支持 Docker 部署（见下方示例）及 pip 安装。</li></ul></li><li><p><strong>Ollama-webui-lite（LobeChat）</strong>  </p><ul><li><strong>简介</strong>：这是一个轻量级的 WebUI，专为与 Ollama 后端对接设计，操作简单、启动快，适合资源有限的设备。  </li><li><strong>项目地址</strong>：<a href="https://github.com/ollama-webui/ollama-webui-lite">GitHub – ollama-webui&#x2F;ollama-webui-lite</a>  </li><li><strong>特点</strong>：简单易用，直接显示模型列表与对话界面。</li></ul></li><li><p><strong>ChatGPT-Next-Web</strong>  </p><ul><li><strong>简介</strong>：虽然主要面向 ChatGPT API，但经过配置后也可以兼容 Ollama 部署的模型，提供桌面客户端风格的交互体验。  </li><li><strong>项目地址</strong>：<a href="https://github.com/paradigmxyz/chatgpt-next-web">GitHub – ChatGPT-Next-Web</a>  </li><li><strong>特点</strong>：支持多轮对话、历史记录、直观的界面，适合需要 ChatGPT 风格体验的用户。</li></ul></li><li><p><strong>Lollms-webui</strong>  </p><ul><li><strong>简介</strong>：另一个开源 WebUI 项目，专为本地部署 LLM 设计，可与 Ollama 后端对接，支持自定义模型和参数调优。  </li><li><strong>项目地址</strong>：<a href="https://github.com/ParisNeo/lollms-webui">GitHub – ParisNeo&#x2F;lollms-webui</a>  </li><li><strong>特点</strong>：灵活性高，支持多模型切换和深度定制。</li></ul></li></ol><blockquote><p><strong>注意</strong>：虽然 Dify 平台也支持模型接入，但其主要定位于云端服务，且本地调用 Ollama 模型的配置较复杂，不在本文重点讨论范围内。</p></blockquote><h3 id="5-2-WebUI-部署示例"><a href="#5-2-WebUI-部署示例" class="headerlink" title="5.2 WebUI 部署示例"></a>5.2 WebUI 部署示例</h3><p>以 Open WebUI 为例，通过 Docker 部署的方法如下：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 3000:8080 \</span><br><span class="line">  --add-host=host.docker.internal:host-gateway \</span><br><span class="line">  -v open-webui:/app/backend/data \</span><br><span class="line">  --name open-webui \</span><br><span class="line">  --restart always \</span><br><span class="line">  ghcr.io/open-webui/open-webui:main</span><br></pre></td></tr></table></figure><ul><li><strong>解释</strong>：<ul><li><code>-p 3000:8080</code>：将容器内 8080 端口映射到主机 3000 端口。  </li><li><code>--add-host=host.docker.internal:host-gateway</code>：使容器能够访问宿主机资源（尤其在 macOS&#x2F;Windows 下常用）。  </li><li><code>-v open-webui:/app/backend/data</code>：挂载数据卷以保存 WebUI 配置和历史数据。  </li><li><code>OLLAMA_BASE_URL</code> 环境变量：如果 Ollama 部署在其他主机或自定义 IP 上，可通过 <code>-e OLLAMA_BASE_URL=http://&lt;your-ip&gt;:11434</code> 指定。</li></ul></li></ul><p>启动后，在浏览器中访问 <a href="http://localhost:3000/">http://localhost:3000</a> 即可看到 WebUI 界面。<br>在 WebUI 的”模型设置”中，可自动检测到 Ollama 后台的模型列表（如 DeepSeek R1），选择后即可开始对话。</p><h3 id="5-3-对接注意事项"><a href="#5-3-对接注意事项" class="headerlink" title="5.3 对接注意事项"></a>5.3 对接注意事项</h3><ul><li><strong>网络配置</strong>：确保 WebUI 容器能够访问 Ollama 服务。如果两者部署在不同主机或 Docker 网络中，建议设置合适的 <code>OLLAMA_BASE_URL</code> 或使用 Docker 网络模式（如 <code>--network=host</code>）。</li><li><strong>权限与认证</strong>：部分 WebUI 支持用户认证和角色管理，可根据实际需求配置相关参数。  </li><li><strong>界面自定义</strong>：大部分 WebUI 项目均支持自定义界面和交互提示词，建议根据业务需求进行调整。</li></ul><hr><h2 id="六、清理与管理已安装模型"><a href="#六、清理与管理已安装模型" class="headerlink" title="六、清理与管理已安装模型"></a>六、清理与管理已安装模型</h2><h3 id="6-1-使用-Ollama-命令删除模型"><a href="#6-1-使用-Ollama-命令删除模型" class="headerlink" title="6.1 使用 Ollama 命令删除模型"></a>6.1 使用 Ollama 命令删除模型</h3><ul><li>删除单个模型：<br>使用 <code>ollama rm 模型名称</code> 命令删除不需要的模型。例如：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama <span class="built_in">rm</span> deepseek-r1:1.5b</span><br></pre></td></tr></table></figure>此命令会清除对应模型的所有文件和缓存数据【citeturn1search2】。</li></ul><h3 id="6-2-手动清理模型目录"><a href="#6-2-手动清理模型目录" class="headerlink" title="6.2 手动清理模型目录"></a>6.2 手动清理模型目录</h3><ul><li>如果需要彻底清理所有模型（注意：操作前请备份重要数据），可以手动删除模型存放目录中的内容。例如，在 Linux 下：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">rm</span> -rf /data/ollama/models/*</span><br></pre></td></tr></table></figure></li><li>在 Windows 或 macOS 上，则需要进入指定的存放路径（如 <code>D:\ollama_models</code> 或 <code>~/CustomOllamaModels</code>），删除不需要的文件夹和数据。</li></ul><h3 id="6-3-定期维护建议"><a href="#6-3-定期维护建议" class="headerlink" title="6.3 定期维护建议"></a>6.3 定期维护建议</h3><ul><li>建议定期检查 <code>ollama list</code> 命令输出，确认是否有旧版本或不再使用的模型占用存储空间。  </li><li>如有更新需求，可使用 <code>ollama pull</code> 命令进行增量更新；不再需要的模型应及时删除以释放磁盘空间。</li></ul><hr><h2 id="七、总结"><a href="#七、总结" class="headerlink" title="七、总结"></a>七、总结</h2><p>本文详细讲解了如何在本地部署大模型，以 DeepSeek R1 为例，从环境准备、跨平台安装与配置、模型下载、运行调优，到如何清理已安装模型，以及如何对接 WebUI 前端实现交互。主要内容包括：</p><ol><li><strong>硬件与系统要求</strong>：根据模型尺寸给出详细的内存、CPU、GPU 推荐配置。  </li><li><strong>安装与配置 Ollama</strong>：分别针对 Windows、Linux、macOS 介绍安装方法、修改模型存放路径、设置监听地址，以及删除模型的方法。  </li><li><strong>下载与运行 DeepSeek R1 模型</strong>：演示不同参数规模模型的下载与交互操作。  </li><li><strong>对接 WebUI 前端</strong>：详细介绍可与 Ollama 集成的 WebUI 项目，如 Open WebUI、Ollama-webui-lite（LobeChat）、ChatGPT-Next-Web、Lollms-webui 等，附上部署示例与注意事项。  </li><li><strong>清理与维护</strong>：提供使用命令行删除单个模型和手动清理模型目录的方法，以及定期维护建议。</li></ol><p>希望这篇全面的教程能为您提供真正实用的干货，帮助您从零开始构建、管理和优化本地大模型部署系统，并通过直观的 WebUI 实现更佳的交互体验。如有任何疑问或改进建议，欢迎在评论区交流，共同进步！</p>]]></content>
    
    
    <summary type="html">详细介绍如何在本地部署 Ollama 和 DeepSeek R1 模型，包括环境配置、模型管理和 WebUI 对接等内容</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Ollama" scheme="https://www.laogou717.com/tags/Ollama/"/>
    
    <category term="DeepSeek R1" scheme="https://www.laogou717.com/tags/DeepSeek-R1/"/>
    
    <category term="部署" scheme="https://www.laogou717.com/tags/%E9%83%A8%E7%BD%B2/"/>
    
  </entry>
  
  <entry>
    <title>Grok2使用流程 玩转Grok-2！免费25美元额度</title>
    <link href="https://www.laogou717.com/2024/11/19/AI%20era/grok/grok2/"/>
    <id>https://www.laogou717.com/2024/11/19/AI%20era/grok/grok2/</id>
    <published>2024-11-19T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="模型信息"><a href="#模型信息" class="headerlink" title="模型信息"></a>模型信息</h2><table><thead><tr><th>模型名(Model)</th><th>输入(Input)</th><th>输出(Output)</th><th>上下文长度 (Context)</th><th>每秒请求数 (RPS)</th><th>每分钟请求数 (RPM)</th><th>每小时请求数 (RPH)</th></tr></thead><tbody><tr><td>grok-beta</td><td>TEXT</td><td>TEXT</td><td>131072</td><td>1</td><td>60</td><td>1200</td></tr><tr><td>grok-vision-beta</td><td>TEXT&#x2F;IMAGE</td><td>TEXT</td><td>8192</td><td>1</td><td>3</td><td>60</td></tr></tbody></table><h2 id="访问地址"><a href="#访问地址" class="headerlink" title="访问地址"></a>访问地址</h2><p>Grok2公测地址：<a href="https://x.ai/api">https://x.ai/api</a><br>模型名称：<code>grok-beta</code>、<code>grok-vision-beta</code><br>API请求端点：<code>https://api.x.ai</code></p><h3 id="调用工具"><a href="#调用工具" class="headerlink" title="调用工具"></a>调用工具</h3><table><thead><tr><th>调用工具名称</th><th>链接</th></tr></thead><tbody><tr><td>Chatbox</td><td><a href="https://chatboxai.app/zh">https://chatboxai.app/zh</a></td></tr><tr><td>OneAPI</td><td><a href="https://github.com/songquanpeng/one-api">https://github.com/songquanpeng/one-api</a></td></tr><tr><td>LibreChat</td><td><a href="https://www.librechat.ai/">https://www.librechat.ai</a></td></tr></tbody></table><ol><li>创建 xAI 账户并获取 API 密钥</li></ol><p>首先，访问 xAI 控制台 <a href="https://x.ai/api">https://x.ai/api</a> 注册账户。完成注册后，前往“API 密钥”页面，创建新的 API 密钥。请妥善保存该密钥，并确保其安全性。 ￼</p><ol start="2"><li>请求端点</li></ol><p>xAI 的 API 基础 URL 为：</p><p><a href="https://api.x.ai/v1">https://api.x.ai/v1</a></p><p>在此基础上，您可以访问不同的端点。例如，进行聊天补全的端点为：</p><p><a href="https://api.x.ai/v1/chat/completions">https://api.x.ai/v1/chat/completions</a></p><ol start="3"><li>模型名称</li></ol><p>Grok-2 模型的名称为：</p><p>grok-beta</p><p>在 API 请求中，您需要在 model 参数中指定此名称。 ￼</p><ol start="4"><li>发送请求</li></ol><p>以下是使用 curl 发送请求的示例：</p><p>curl <a href="https://api.x.ai/v1/chat/completions">https://api.x.ai/v1/chat/completions</a> <br>  -H “Content-Type: application&#x2F;json” <br>  -H “Authorization: Bearer YOUR_XAI_API_KEY” <br>  -d ‘{<br>    “messages”: [<br>      { “role”: “system”, “content”: “You are Grok, a chatbot inspired by the Hitchhikers Guide to the Galaxy.” },<br>      { “role”: “user”, “content”: “What is the meaning of life, the universe, and everything?” }<br>    ],<br>    “model”: “grok-beta”,<br>    “stream”: false,<br>    “temperature”: 0<br>  }’</p>]]></content>
    
    
    <summary type="html">玩转Grok-2！免费25美元额度</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="grok2" scheme="https://www.laogou717.com/tags/grok2/"/>
    
    <category term="马斯克" scheme="https://www.laogou717.com/tags/%E9%A9%AC%E6%96%AF%E5%85%8B/"/>
    
    <category term="X" scheme="https://www.laogou717.com/tags/X/"/>
    
  </entry>
  
  <entry>
    <title>效率！效率！！还是TM的效率！！！</title>
    <link href="https://www.laogou717.com/2024/09/26/AI%20era/Github/vscode-md-diy/"/>
    <id>https://www.laogou717.com/2024/09/26/AI%20era/Github/vscode-md-diy/</id>
    <published>2024-09-26T16:00:00.000Z</published>
    <updated>2024-09-28T16:00:00.000Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>因博主在尝试自动化出现技术错误，而事前并未对图片数据进行备份，所以导致本篇博文中的演示图片全部丢失😮‍💨。</p></blockquote><h2 id="Vscode自定义代码"><a href="#Vscode自定义代码" class="headerlink" title="Vscode自定义代码"></a>Vscode自定义代码</h2><blockquote><p>我之所以更新慢的原因,跟这个静态博客脱不开关系,每次写Markdown格式的时候,我总想着加一些有趣的小标签进去,但是老记不住那么多语法,所以想了个办法来解决这个问题 。</p></blockquote><p>利用Vscode的<strong>代码自动补全功能</strong>，自定义一些常用“代码”片段，然后一劳永逸。</p><h3 id="优势"><a href="#优势" class="headerlink" title="优势"></a>优势</h3><ul><li><input checked="" disabled="" type="checkbox"> 高效</li><li><input checked="" disabled="" type="checkbox"> 方便</li><li><input checked="" disabled="" type="checkbox"> 容易上手</li><li>简单介绍<br> 以往如果我在 <code>MD文件</code> 中加入像 <code>文字块</code> 这样的内容时，我就需要去到主题的 <code>配置文档</code> 中查看它的语法，然后复制、修改参数，才能正常使用。每次写文章都要<strong>东找西找</strong>的，效率低只是一方面，主要是太麻烦，人都是有惰性的<br> 而自从我设置了<strong>自定义代码片段</strong>后，我感觉前所未有的舒畅，仿佛天都比以前蓝了。（我猜的，好几天没见太阳了）</li></ul><h3 id="案例展示"><a href="#案例展示" class="headerlink" title="案例展示"></a>案例展示</h3><h4 id="折叠菜单"><a href="#折叠菜单" class="headerlink" title="折叠菜单"></a>折叠菜单</h4><ul><li>我举个几个简单的例子来说明<br>  假设我现在要在下方加入一个<strong>折叠菜单</strong>，通常情况下需要这么写：</li></ul><div class="tabs" id="text"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#text-0">代码</button></li><li class="tab"><button type="button" data-href="#text-1">演示</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="text-0"><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line"></span><br><span class="line">&#123;% fold 折叠菜单 %&#125;</span><br><span class="line"></span><br><span class="line">这是一个缩小的图片&#123;% inline_img https://esimg.laogou717.com/i/2024/09/29/77c3uf.webp &#x27;&#x27; 60px %&#125;</span><br><span class="line"></span><br><span class="line">&#123;% endfold %&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br></pre></td></tr></table></figure></div><div class="tab-item-content" id="text-1"><details><summary>折叠菜单</summary><p>这是一个缩小的图片<img src="https://esimg.laogou717.com/i/2024/09/29/77c3uf.webp" title="60px" class="inline-img"></p></details></div></div></div><pre><code>但使用自定义代码片段后，我只需要在文件中输入我自己设置的 **片段前缀**系统就会自动显示设定的代码：![自定义代码片段1](https://esimg.laogou717.com/i/2024/09/29/8o3q1j.webp)然后按下键盘上的 &#123;% keyboard TAB %&#125; 或 &#123;% keyboard Enter %&#125;，就能直接调用配置的代码，并且光标自动定位到我设置的地方或自动选中某些文字。![Vscode快捷输入](https://esimg.laogou717.com/i/2024/09/29/8oqgry.webp)</code></pre><h4 id="yaml头部元数据"><a href="#yaml头部元数据" class="headerlink" title="yaml头部元数据"></a>yaml头部元数据</h4><p>相信各位使用静态博客的朋友都对下面这种<code>yaml</code>格式的<strong>元数据</strong>不陌生吧。<br>其中有些<strong>字段</strong>我们每次更新都需要进行配置，不然博客框架就无法正常生成<strong>静态文件</strong>。<br>比如本篇文章的配置：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">---</span><br><span class="line">title: 效率！效率！！还是TM的效率！！！</span><br><span class="line">description: 一旦尝试了Vscode自定义代码片段,你会发现以前写文章像是原始人一样!通过对Md文档的某些字段进行指定来快速调用,事半功倍!</span><br><span class="line">date: 2024-09-27</span><br><span class="line">cover: https://esimg.laogou717.com/i/2024/09/28/hxlmb.webp</span><br><span class="line">tags: [AI,开源项目,效率,写作]</span><br><span class="line">keywords: [AI,开源项目,效率,写作]</span><br><span class="line">categories: AI纪元</span><br><span class="line">main_color: #0a0c1c</span><br><span class="line">updated: 2024-09-29</span><br><span class="line">ai: </span><br><span class="line">- </span><br><span class="line">---</span><br><span class="line"></span><br></pre></td></tr></table></figure><p>你会发现很多内容都是可以重复利用的。而不用每次都重新输入或复制粘贴。<br>为此，我在<strong>自定义代码</strong>中写了两个版本的元数据配置，一个用来发布 <code>AI纪元</code> 系列内容，另一个用来发布我的个人 <code>日记</code>。</p><div class="tabs" id="text"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#text-0">AI纪元</button></li><li class="tab"><button type="button" data-href="#text-1">日记</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="text-0"><details><summary>点击展开</summary><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">&quot;AI纪元头部&quot;: &#123;</span><br><span class="line">&quot;prefix&quot;: &quot;aitop&quot;,</span><br><span class="line">&quot;body&quot;: [</span><br><span class="line">&quot;---&quot;,</span><br><span class="line">&quot;title: 【必需】文章标题&quot;,</span><br><span class="line">&quot;description: 【可选】文章描述&quot;,</span><br><span class="line">&quot;date: $&#123;CURRENT_YEAR&#125;-$&#123;CURRENT_MONTH&#125;-$&#123;CURRENT_DATE&#125;&quot;,</span><br><span class="line">&quot;cover: $&#123;CLIPBOARD/(http)(:\\\\/\\\\/[^\\\\s)]+)/https$2/&#125;&quot;,</span><br><span class="line">&quot;tags: [AI,开源项目]&quot;,</span><br><span class="line">&quot;keywords: &quot;,</span><br><span class="line">&quot;categories: AI纪元&quot;,</span><br><span class="line">&quot;main_color: &quot;,</span><br><span class="line">&quot;---&quot;</span><br><span class="line">],</span><br><span class="line">&quot;description&quot;: &quot;AI纪元专用代码&quot;</span><br></pre></td></tr></table></figure></details><ul><li>说明<ul><li>通过<code>${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}</code>自动获取发布当日的日期时间</li><li>通过<code>$CLIPBOARD</code>自动获取<strong>粘贴板</strong>中的内容并填入封面字段中</li><li>加入<code>${CLIPBOARD/(http)(:\\\\/\\\\/[^\\\\s)]+)/https$2/}</code>正则表达式把<strong>http</strong>处理为<strong>https</strong><br><strong>这样我只需要输入“aitop”就可以直接生成带封面、日期的元数据</strong> <img src="https://esimg.laogou717.com/i/2024/09/29/admmr0.webp" title="40px" class="inline-img"></li></ul></li></ul></div><div class="tab-item-content" id="text-1"><details><summary>点击展开</summary><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">&quot;日记&quot;: &#123;</span><br><span class="line">&quot;prefix&quot;: &quot;top&quot;,</span><br><span class="line">&quot;body&quot;: [</span><br><span class="line">&quot;---&quot;,</span><br><span class="line">&quot;title: $&#123;CURRENT_MONTH&#125;月$&#123;CURRENT_DATE&#125;日记&quot;,</span><br><span class="line">&quot;date: $&#123;CURRENT_YEAR&#125;-$&#123;CURRENT_MONTH&#125;-$&#123;CURRENT_DATE&#125;&quot;,</span><br><span class="line">&quot;categories:  日记&quot;,</span><br><span class="line">&quot;keywords: [神烦老狗,日记,生活感悟]&quot;,</span><br><span class="line">&quot;description: $&#123;CURRENT_YEAR&#125;年$&#123;CURRENT_MONTH&#125;月$&#123;CURRENT_DATE&#125;日生活记录&quot;,</span><br><span class="line">&quot;cover: https://esimg.laogou717.com/i/2024/09/26/r88udl.webp&quot;,</span><br><span class="line">&quot;main_color: #000000&quot;,</span><br><span class="line">&quot;---&quot;</span><br><span class="line">],</span><br><span class="line">&quot;description&quot;: &quot;博客日记头部部分&quot;</span><br></pre></td></tr></table></figure></details><p><strong>这个没什么可说的，我的日记默认都是以日期开头，固定的封面。</strong></p></div></div></div>    <h4 id="文章更新日期"><a href="#文章更新日期" class="headerlink" title="文章更新日期"></a>文章更新日期</h4><p><strong>我讨厌手动输入日期时间</strong>，所以自定义了<code>updated: $&#123;CURRENT_YEAR&#125;-$&#123;CURRENT_MONTH&#125;-$&#123;CURRENT_DATE&#125;</code>字段，这样当我去更改一些旧文时，直接在文章头部输入简写 <span class="keyboard-tag">U</span>  <span class="keyboard-tag">D</span> 并按下<strong>回车</strong>，就能自动填入当日的日期。</p><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/amtsyz.webp alt="输入前缀使用1" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/amyjz1.webp alt="输入前缀使用2" /></div>      </div><p>这样一些支持显示<strong>文章更新时间</strong>的博客主题就会出现这样的提示，非常人性化<img src="https://esimg.laogou717.com/i/2024/09/29/aut64s.webp" title="40px" class="inline-img">。</p><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/aou71i.webp alt="文章更新时间" /></div>      </div><h2 id="配置方法"><a href="#配置方法" class="headerlink" title="配置方法"></a>配置方法</h2><h3 id="VSCode-设置"><a href="#VSCode-设置" class="headerlink" title="VSCode 设置"></a>VSCode 设置</h3><ul><li><p>基础设置<br>  首先需要在<strong>vscode</strong>中找到关于<strong>自定义代码</strong>的设置。你可以在窗口的左下角，点击设置按钮找到代码片段选项。</p>  <div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/bmsw6f.webp alt="vscode设置" /></div>      </div><p>  点击后<strong>Vscode</strong>的搜索框会被唤醒。接着我们直接搜索<strong>Markdown</strong>，找到一个名为<strong>markdown.json</strong>的文件。</p>  <div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/boeisr.webp alt="vscode搜索框" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/bp8wjv.webp alt="搜索markdown.json" /></div>      </div><p>  进入 <code>markdown.json</code> 文件后，即可开始编辑自定义代码片段。这个文件中的配置只在 Markdown 文件中生效，不会影响其他语言的输入。</p></li></ul><blockquote><p>如果想全局生效，可以选择 “New Global Snippets file”（创建全局代码片段）。</p></blockquote><pre><code>以下是进入编辑器后的设置示例👇&#123;% gallery true,,2 %&#125;    ![进入markdown.json](https://esimg.laogou717.com/i/2024/09/29/bxxmjr.webp)    &#123;% endgallery %&#125;</code></pre><details><summary>基本语法解释（非必读）</summary><ul><li>基本语法<br>VS Code 的自定义代码片段是通过 <code>.code-snippets</code> 文件编写的，可以存放在用户全局配置目录或特定项目中。基本语法如下：</li></ul><figure class="highlight json"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;代码片段名称&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;prefix&quot;</span><span class="punctuation">:</span> <span class="string">&quot;触发前缀&quot;</span><span class="punctuation">,</span>  <span class="comment">// 输入的前缀，用于触发代码片段</span></span><br><span class="line">    <span class="attr">&quot;body&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">      <span class="string">&quot;代码的第一行&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;代码的第二行，可以使用占位符：$&#123;1:默认值&#125;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;多行内容可用数组表示，每行一个元素&quot;</span></span><br><span class="line">    <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;description&quot;</span><span class="punctuation">:</span> <span class="string">&quot;对该代码片段的描述&quot;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><ul><li><p>语法说明</p><ul><li><strong>prefix</strong>: 用于触发代码片段的关键词，输入后会唤醒<strong>代码自动补全</strong>功能。</li><li><strong>body</strong>: 代码片段的内容，支持多行和占位符。占位符可以使用 <code>${1:默认值}</code>，其中 <code>1</code> 是占位符的索引，<code>默认值</code> 是提示的默认内容。</li><li><strong>description</strong>: 对代码片段的描述，解释其用途。</li></ul></li><li><p>示例<br>创建一个简单的 HTML 模板：</p></li></ul><figure class="highlight json"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;HTML模板&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;prefix&quot;</span><span class="punctuation">:</span> <span class="string">&quot;html-template&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;body&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">      <span class="string">&quot;&lt;!DOCTYPE html&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;html lang=\&quot;en\&quot;&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;head&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;    &lt;meta charset=\&quot;UTF-8\&quot;&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;    &lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot;&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;    &lt;title&gt;$&#123;1:Document&#125;&lt;/title&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;/head&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;body&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;    $&#123;2:&lt;!-- 内容放在这里 --&gt;&#125;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;/body&gt;&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="string">&quot;&lt;/html&gt;&quot;</span></span><br><span class="line">    <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;description&quot;</span><span class="punctuation">:</span> <span class="string">&quot;一个简单的 HTML 页面模板&quot;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><ul><li>示例解读<ul><li><strong>prefix</strong>: <code>html-template</code>，当输入这个前缀或简写时，VS Code 会提示插入该代码片段。</li><li><strong>body</strong>: HTML 模板的内容，包含了占位符 <code>${1:Document}</code> 和 <code>${2:&lt;!-- 内容放在这里 --&gt;}</code>，用于快速修改标题和内容。</li><li><strong>description</strong>: 简要说明了代码片段的用途，方便选择。</li></ul></li></ul></details><h3 id="一键生成自定义代码"><a href="#一键生成自定义代码" class="headerlink" title="一键生成自定义代码"></a>一键生成自定义代码</h3><img src="https://esimg.laogou717.com/i/2024/09/29/c7pke9.webp" title="40px" class="inline-img"> <span style="font-size:200%;">如果</span>你并不想自己编写这破玩意儿，那么你可以试试我做的这个 <b>自定义代码生成器</b> 👇<p><img src="https://esimg.laogou717.com/i/2024/09/29/71tvti.webp" alt="Vscode自定义代码工具"><br> Vscode自定义代码片段<br> 在vscode配置常用的代码，并且提供唤醒前缀，只需输入一次。</p><ul><li><p><a href="https://mdcode.laogou717.com/">mdcode</a> — Vscode自定义代码工具</p><p><img src="https://esimg.laogou717.com/i/2024/09/29/71tvti.webp" alt="mdcode"></p></li></ul><p>界面很干净简洁 <span style="font-size:80%;">（高情商）</span>,但到底怎么写下面的信息呢？<br><strong>如果你有这个问题，<strong>不要怀疑，应该是我前面废话太多了，没讲清楚，我们</strong>一步一步</strong>来看。<br><span style="font-color:black;">把需要<b>偷懒、重复</b>的内容填入下面的”内容区域”</span><br><img src="https://esimg.laogou717.com/i/2024/09/29/cifqpq.webp" alt="Vscode自定义代码工具首页"></p><p>比如我希望每篇博文下方我都加入一个 互联网要饭环节<br>那么我就在内容区输入我准备好的内容：“<strong>V我50～啊～V我50～</strong>”。<br><img src="https://esimg.laogou717.com/i/2024/09/29/dbxz7o.webp" alt="V我50"></p><blockquote><p>触发字段最好设置英文，要是你不怕输入的时候麻烦，硬用中文当前缀Vscode倒是也能支持。</p></blockquote><ul><li>生成配置<br>  输入完毕后，点击生成按钮会出现一个弹窗，直接点弹窗里的复制。然后粘贴到我们的<code>markdown.json</code>文件中去（大括号的中间）。<br>  然后按下<code>ctrl</code>+<code>s</code>保存文件。</li></ul><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/djxtxp.webp alt="生成V我50代码" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/dlg0w4.webp alt="编辑markdown.json" /></div>      </div><p>接着随便创建一个<code>.md</code>文件，在其中输入：刚刚设置的“<strong>触发前缀</strong>”，看看是否会出现自动补全的提示。</p><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=http://esimg.laogou717.com/i/2024/09/29/do0qke.webp alt="vscode触发前缀" /></div>      </div><p>如果成功就<strong>万事大吉🎉</strong>，接下来你只需要寻按照自己需要添加，或者把你的需求告诉chatgpt，直接让它帮你写。<br>如果失败就<strong>也没关系😄</strong>，你只需要复制这段代码。</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">&quot;[markdown]&quot;: &#123;</span><br><span class="line">    &quot;editor.quickSuggestions&quot;: &#123;</span><br><span class="line">        &quot;comments&quot;: &quot;on&quot;,</span><br><span class="line">        &quot;strings&quot;: &quot;on&quot;,</span><br><span class="line">        &quot;other&quot;: &quot;on&quot;</span><br><span class="line">    &#125;,</span><br><span class="line">    &quot;diffEditor.ignoreTrimWhitespace&quot;: true</span><br><span class="line">&#125;,</span><br><span class="line"></span><br></pre></td></tr></table></figure><p>然后在重新点击左下角的设置按钮，点击<strong>设置</strong>，在设置页面的右上角打开配置文件，跟上面写自定义代码一样，直接<strong>滑到底部</strong>粘贴进大括号里保存就可以正常识别了。</p><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/dwzsz8.webp alt="vscode设置" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/dxwjqu.webp alt="vscode设置面板" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/e1rztu.webp alt="vscode配置页面" /></div><div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/e2dy9i.webp alt="vscode配置页面2" /></div>      </div><h2 id="尾声"><a href="#尾声" class="headerlink" title="尾声"></a>尾声</h2><h3 id="元数据的配置"><a href="#元数据的配置" class="headerlink" title="元数据的配置"></a>元数据的配置</h3><p>由于我们不是配置全局页面的代码补全，所以会导致你在<code>markdown.json</code>中配置的字段，在头部<code>---</code>的包围之中无法唤出自动补全。</p><ul><li>要么直接全局配置，要么就把头部的代码，全部放到<code>yaml.json</code>中配置。格式都是一样的。</li><li><div class="gallery-container waterfall">        <div class="gallery-item"><img class="nolazyload" src=https://esimg.laogou717.com/i/2024/09/29/ewgb35.webp alt="yaml.json文件配置" /></div>      </div></li></ul>]]></content>
    
    
    <summary type="html">一旦尝试了Vscode自定义代码片段,你会发现以前写文章像是原始人一样!通过对Md文档的某些字段进行指定来快速调用,事半功倍!</summary>
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="开源项目" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="效率" scheme="https://www.laogou717.com/tags/%E6%95%88%E7%8E%87/"/>
    
    <category term="写作" scheme="https://www.laogou717.com/tags/%E5%86%99%E4%BD%9C/"/>
    
  </entry>
  
  <entry>
    <title>无限试用会员!GPT4、Claude3.5免费用！</title>
    <link href="https://www.laogou717.com/2024/08/23/AI%20era/cursor/"/>
    <id>https://www.laogou717.com/2024/08/23/AI%20era/cursor/</id>
    <published>2024-08-23T07:30:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.laogou717.com/file/b23a2b15ecf4255420686.gif" alt="快速"></p><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><blockquote><p><strong>Cursor</strong> 是一个编程软件,就像<strong>Vscode</strong>一样,可以让你轻松地编写、调试和运行代码。不一样的是它内置了<strong>8个热门AI模型</strong>,什么<strong>GPT4、Claude3</strong>最新模型,都能免费试用<strong>14天</strong>,我们只需要任意邮箱注册账号,然后下载程序即可。</p></blockquote><p><img src="https://img.laogou717.com/file/20c3cd4a499d2f86ca10a.png" alt="计划"></p><h2 id="具体用法"><a href="#具体用法" class="headerlink" title="具体用法"></a>具体用法</h2><h3 id="下载程序"><a href="#下载程序" class="headerlink" title="下载程序"></a>下载程序</h3><p>进入<a href="https://www.cursor.com/">Cursor官网</a>,在右上角点击<strong>下载并安装</strong><br><img src="https://img.laogou717.com/file/bdf38263c1424b392a32a.png" alt="下载"></p><h3 id="登陆授权"><a href="#登陆授权" class="headerlink" title="登陆授权"></a>登陆授权</h3><p>安装后打开软件,点击右上角的<strong>设置按钮</strong><br><img src="https://img.laogou717.com/file/ad6c824e9a019c29b2d1a.png" alt="设置"><br>然后点击<strong>登陆</strong>,不出意外应该会弹出<strong>授权</strong>窗口<br><img src="https://img.laogou717.com/file/b0a7d23fedbaab5bf1f9d.png" alt="登陆"><br><img src="https://img.laogou717.com/file/b2b1c019088ac81823919.png" alt="登陆注册"><br>可以选择用<strong>GitHub</strong>或<strong>Google</strong>账号进行登陆,也可以直接点击注册,输入邮箱进行注册登陆,我这里以<strong>网易邮箱</strong>举例<br><img src="https://img.laogou717.com/file/c3c9fe8d336289279ecf0.png" alt="注册"><br>这里有概率<strong>提示验证失败</strong>,可以<strong>重试</strong>一般就会提示我们填入“<strong>邮箱验证码</strong>”<br><img src="https://img.laogou717.com/file/9d5a1d10e3e465b5cddeb.png" alt="邮箱"><br>填入验证码进入下一步后,询问我们是否允许打开<strong>Cursor</strong>软件,这里<strong>点允许</strong><br><img src="https://img.laogou717.com/file/f235357928178729a0470.png" alt="允许授权"><br>允许后就我们的软件后台就会显示这样的页面,如果<strong>没有显示</strong>就重新再点一次登陆进行重新授权<br><img src="https://img.laogou717.com/file/fcb716804e90d379f81d2.png" alt="账号"></p><h3 id="查看支持的模型"><a href="#查看支持的模型" class="headerlink" title="查看支持的模型"></a>查看支持的模型</h3><p>点击左侧的<strong>Models</strong>,可以看到支持的模型,勾选的模型就是我们可以使用的模型<br><img src="https://img.laogou717.com/file/25ee64b9c116a6bbf7aed.png" alt="Models"></p><h2 id="如何使用"><a href="#如何使用" class="headerlink" title="如何使用"></a>如何使用</h2><p>点击右上角的<strong>分屏图标</strong><br><img src="https://img.laogou717.com/file/f2042e91a3c1ceba06268.png" alt="使用"><br>这时我们看到了一个<strong>分屏</strong>窗口,在这里可以直接与AI进行沟通<br><img src="https://img.laogou717.com/file/55c01c064049c9357a313.png" alt="聊天"></p><h2 id="引用"><a href="#引用" class="headerlink" title="引用"></a>引用</h2><ul><li><a href="https://www.cursor.com/">Cursor官网</a></li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://img.laogou717.com/file/b23a2b15ecf4255420686.gif&quot; alt=&quot;快速&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="GPT4" scheme="https://www.laogou717.com/tags/GPT4/"/>
    
    <category term="Claude3.5" scheme="https://www.laogou717.com/tags/Claude3-5/"/>
    
    <category term="Cursor" scheme="https://www.laogou717.com/tags/Cursor/"/>
    
    <category term="14天Pro计划" scheme="https://www.laogou717.com/tags/14%E5%A4%A9Pro%E8%AE%A1%E5%88%92/"/>
    
  </entry>
  
  <entry>
    <title>8月6日记</title>
    <link href="https://www.laogou717.com/2024/08/05/note/2024/2024-08-06/"/>
    <id>https://www.laogou717.com/2024/08/05/note/2024/2024-08-06/</id>
    <published>2024-08-05T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="臭鸡蛋和排骨汤"><a href="#臭鸡蛋和排骨汤" class="headerlink" title="臭鸡蛋和排骨汤"></a>臭鸡蛋和排骨汤</h2><p>“<strong>再来一次我就要把锅扔了</strong>。”</p><p>听完女朋友这句话,我艰难思索片刻给出了我将后悔一天的馊主意:</p><p>“<strong>快接点水稀释一下,现在太烫了直接到垃圾桶里会把塑料袋弄化的。</strong>”</p><hr><p>昨晚晚上七点左右,我问 小卡 ,要不要现在去做点东西吃。<br>而回答我的是一连串的摇头动作<br>那没办法我只得去冰箱拿了个鸡爪啃<br>然后回到电脑前继续刷视频。</p><p>约莫着过了十分钟,我的桌子上多了五六个被啃完的鸡爪残片<br>和一罐空掉的碳酸饮料瓶<br>我低头看了肚子</p><p><strong>“嘿”放古代怎么着也得是个百夫长吧 。</strong></p><p>就在我欣赏自己的将军肚发出感慨时<br>厨房传来了一阵噼里啪啦的碰撞声,夹杂着一声怪叫<br>我摸着肚子的手微微一顿<br>赶紧跑过去问她发生什么事了</p><p><strong>就看到她端着锅一步一步向我靠近。</strong></p><p>我看到锅里是一个还没有做熟的饼<br>而在饼的上方有个黑洞洞的物体浮动着<br>没看错的话,那应该是一个坏掉的鸡蛋🥚。</p><p>我就站着厨房门口,啃着鸡爪看着她往锅里接水稀释。<br>显然我没有对付臭鸡蛋的经验😓<br>也不知道加入水的臭鸡蛋会完成最终进化。</p><p>不过在加水的过程中我注意到<br>那个没熟的饼和黑色的蛋黄<br>在以一种奇异的速度快速融合</p><p>水的形态、颜色也在慢慢发生变化<br>它从无色慢慢变成了乳白色。<br>隐约中我仿佛看到了一股黑烟朝我站立的地方袭来<br>那瞬间让脑海中浮现出了我中午刚喝的那碗排骨汤<br>足足炖了<strong>两个半小时</strong><br>味道鲜美,骨汤浓郁….</p><p>思绪即将飘远之际<br>那股看不见的气体像燃烧的乒乓球一样<br>借着水能量快速蔓延到了整个房间<br>我本能的想往后退,但我始终慢它一步<br>终究还是被这气体波及到了。<br>不由得发出一声惊呼:</p><p><strong>“我靠”</strong></p><p>这一喊不要紧<br>吃的鸡爪和胃里的排骨也听到了这声惊讶<br>它们也很好奇这具身体看到了什么<br>然后二者便拼命的冲破层层阻碍<br>从食道一路向上攀爬。</p><p>我不禁感叹这迎难而上的决心<br>直逼我面对险境时的求生欲。</p><p>不多时它们乘着胃液直奔我的嗓子眼而来。<br>得承认我不是一个能快速做出选择的人<br>但这次我只犹豫了两秒钟<br>马上便向着厕所奔去:</p><p><strong>“对不起了小卡,自求多福吧,”大难临头”我先飞为敬”…………..</strong> </p>]]></content>
    
    
    <summary type="html">关于臭鸡蛋和排骨汤的有趣故事</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>一篇非常啰嗦的Hexo搭建教程</title>
    <link href="https://www.laogou717.com/2024/07/30/AI%20era/Github/Hexo/"/>
    <id>https://www.laogou717.com/2024/07/30/AI%20era/Github/Hexo/</id>
    <published>2024-07-30T16:30:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><blockquote><p>本来想写一篇长文的,但精神不济,所以各位就凑活看视频吧</p></blockquote><h3 id="一些链接"><a href="#一些链接" class="headerlink" title="一些链接"></a>一些链接</h3><ul><li><a href="https://nodejs.org/">Node.js</a> 必需的环境 安装最新版Node.js。</li><li><a href="http://git-scm.com/">git</a> 必需的环境 版本控制，管理代码。</li><li><a href="https://watt-toolkit.org/">watt toolkit</a>国内访问GitHub就靠它了</li><li><a href="https://npmmirror.com/">npmmirror</a>源淘宝NPM镜像源</li><li><a href="https://hexo.io/">Hexo</a>博客官网,可以查找更多主题</li><li><a href="GitHub.conm">GitHub</a>需要有一个GitHub账号，用来保存你的代码。</li><li><a href="https://code.visualstudio.com/">Vscode</a>方便后续操作非必需</li></ul><h3 id="一些命令"><a href="#一些命令" class="headerlink" title="一些命令"></a>一些命令</h3><h4 id="验证Node-js和npm版本"><a href="#验证Node-js和npm版本" class="headerlink" title="验证Node.js和npm版本"></a>验证Node.js和npm版本</h4>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">node -v</span><br><span class="line">npm -v</span><br><span class="line">git -v</span><br></pre></td></tr></table></figure><p>  如果显示版本号，则代表安装成功。</p><h4 id="安装Hexo"><a href="#安装Hexo" class="headerlink" title="安装Hexo"></a>安装Hexo</h4>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install -g hexo-cli</span><br></pre></td></tr></table></figure><p>  如果网络被阉，可以使用阿里云镜像源进行安装：<br>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">npm install -g cnpm --registry=https://registry.npmmirror.com</span><br><span class="line">cnpm install -g hexo-cli</span><br></pre></td></tr></table></figure></p><h4 id="初始化Hexo项目"><a href="#初始化Hexo项目" class="headerlink" title="初始化Hexo项目"></a>初始化Hexo项目</h4><p>  选择一个位置创建Hexo项目文件夹：<br>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo init laogou</span><br></pre></td></tr></table></figure><br>  卡死了可以直接按下 <strong>CTRL+C</strong> 终止。<br>  然后CD进入项目目录：<br>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> laogou</span><br></pre></td></tr></table></figure><br>  手动切换阿里镜像源安装项目依赖：<br>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cnpm install</span><br></pre></td></tr></table></figure></p><h4 id="出现SSL错误-可绕过证书验证（仅用于开发环境）："><a href="#出现SSL错误-可绕过证书验证（仅用于开发环境）：" class="headerlink" title="出现SSL错误,可绕过证书验证（仅用于开发环境）："></a>出现SSL错误,可绕过证书验证（仅用于开发环境）：</h4>  <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git config --global http.sslVerify <span class="literal">false</span></span><br></pre></td></tr></table></figure><h4 id="选择并安装主题"><a href="#选择并安装主题" class="headerlink" title="选择并安装主题"></a>选择并安装主题</h4><ul><li>选择一个Hexo主题，例如Butterfly。</li><li>访问主题的GitHub页面，点击Code，下载压缩包。解压缩包到Hexo项目的<code>themes</code>目录下。或者直接通过git进行克隆</li><li>修改Hexo根目录配置文件<code>_config.yml</code>(非主题的_config.yml)<br>设置主题：<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">theme:</span> <span class="string">butterfly</span></span><br></pre></td></tr></table></figure></li></ul><h4 id="本地生成和预览"><a href="#本地生成和预览" class="headerlink" title="本地生成和预览"></a>本地生成和预览</h4><ul><li>清理缓存：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo clean</span><br><span class="line"><span class="comment"># 或者简写为 hexo c 或 hexo cl</span></span><br></pre></td></tr></table></figure></li><li>生成静态文件：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo generate</span><br><span class="line"><span class="comment"># 或者简写为 hexo g</span></span><br></pre></td></tr></table></figure></li><li>启动本地服务器进行预览：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo server</span><br><span class="line"><span class="comment"># 或者简写为 hexo s</span></span><br></pre></td></tr></table></figure>在浏览器中访问<code>http://localhost:4000</code>查看效果。</li></ul><h4 id="推送或部署到GitHub"><a href="#推送或部署到GitHub" class="headerlink" title="推送或部署到GitHub"></a>推送或部署到GitHub</h4><ul><li>确保已经在GitHub上创建了一个仓库。</li><li>安装Hexo部署插件：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">官方源</span><br><span class="line">npm install hexo-deployer-git --save  </span><br><span class="line">阿里源</span><br><span class="line">cnpm install hexo-deployer-git --save</span><br></pre></td></tr></table></figure></li><li>配置Hexo部署信息，在<code>_config.yml</code>文件中的规范写法：<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">deploy:</span></span><br><span class="line">  <span class="attr">type:</span> <span class="string">git</span></span><br><span class="line">  <span class="attr">repo:</span> <span class="string">https://&lt;你的访问令牌&gt;@github.com/你的用户名/你的仓库名.git</span></span><br><span class="line">  <span class="attr">branch:</span> <span class="string">main</span></span><br></pre></td></tr></table></figure>例如：<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">deploy:</span></span><br><span class="line">  <span class="attr">type:</span> <span class="string">git</span></span><br><span class="line">  <span class="attr">repo:</span> <span class="string">https://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@github.com/GGB60/blog.git</span></span><br><span class="line">  <span class="attr">branch:</span> <span class="string">main</span></span><br></pre></td></tr></table></figure></li><li>推到GitHub：<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo deploy</span><br><span class="line"><span class="comment"># 或者简写为 hexo d</span></span><br></pre></td></tr></table></figure></li></ul><h3 id="使用免费容器进行部署"><a href="#使用免费容器进行部署" class="headerlink" title="使用免费容器进行部署"></a>使用免费容器进行部署</h3><ul><li>例如:<a href="https://zeabur.com/">https://zeabur.com</a></li><li>用GitHub账户进行授权 </li><li>从GitHub仓库中进行同步</li></ul><h3 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h3><p>通过以上步骤，你应该已经成功安装并配置了Hexo博客，并且能轻易将其部署到互联网。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;&gt;&lt;/a&gt;前言&lt;/h2&gt;&lt;blockquote&gt;
&lt;p&gt;本来想写一篇长文的,但精神不济,所以各位就凑活看视频吧&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;一些链</summary>
      
    
    
    
    <category term="搭建网站" scheme="https://www.laogou717.com/categories/%E6%90%AD%E5%BB%BA%E7%BD%91%E7%AB%99/"/>
    
    
    <category term="热门" scheme="https://www.laogou717.com/tags/%E7%83%AD%E9%97%A8/"/>
    
    <category term="部署" scheme="https://www.laogou717.com/tags/%E9%83%A8%E7%BD%B2/"/>
    
    <category term="网站搭建" scheme="https://www.laogou717.com/tags/%E7%BD%91%E7%AB%99%E6%90%AD%E5%BB%BA/"/>
    
    <category term="GitHub" scheme="https://www.laogou717.com/tags/GitHub/"/>
    
    <category term="Hexo" scheme="https://www.laogou717.com/tags/Hexo/"/>
    
  </entry>
  
  <entry>
    <title>Bookmarklet小书签</title>
    <link href="https://www.laogou717.com/2024/05/14/book/"/>
    <id>https://www.laogou717.com/2024/05/14/book/</id>
    <published>2024-05-14T07:30:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h1 id="下载使用浏览器-Bookmarklet（小书签）"><a href="#下载使用浏览器-Bookmarklet（小书签）" class="headerlink" title="下载使用浏览器 Bookmarklet（小书签）"></a>下载使用浏览器 Bookmarklet（小书签）</h1><h2 id="下载bookmarklet-code-6666"><a href="#下载bookmarklet-code-6666" class="headerlink" title="下载bookmarklet code:6666"></a>下载bookmarklet code:6666</h2><ul><li><a href="https://pan.baidu.com/s/1olHsMYzcOtGCYiY6nUs6eQ?pwd=6666">下载源码</a></li></ul><blockquote><p>是一种特殊的书签，其链接不是指向一个URL，而是包含了JavaScript命令。本质上它是一个存储在浏览器书签栏中的小型JavaScript程序，可以让用户在任何网页上快速执行特定的任务，比如格式化页面布局、提取信息、或是与特定服务进行交互等。如果利用得当可以替代掉一些常用的扩展插件。</p></blockquote><h2 id="如何创建和使用-Bookmarklet"><a href="#如何创建和使用-Bookmarklet" class="headerlink" title="如何创建和使用 Bookmarklet"></a>如何创建和使用 Bookmarklet</h2><h3 id="创建步骤："><a href="#创建步骤：" class="headerlink" title="创建步骤："></a>创建步骤：</h3><p>编写用于实现特定功能的<strong>JavaScript代码。</strong><br>将<strong>JavaScript代码</strong>进行URL编码，并以<code>javascript:</code>开头形成一个链接。<br>将这个链接拖动到浏览器的书签栏，或右键书签栏选择“添加页面”来保存这个链接。</p><h4 id="1-示例代码："><a href="#1-示例代码：" class="headerlink" title="1.示例代码："></a>1.示例代码：</h4><p>假设我们要创建一个 <strong>Bookmarklet</strong> ，用来隐藏网页上的所有图片，以下是相应的<strong>JavaScript代码：</strong></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">javascript:(function() &#123;</span><br><span class="line">    var images = document.getElementsByTagName(&#x27;img&#x27;);</span><br><span class="line">    for (var i = 0; i &lt; images.length; i++) &#123;</span><br><span class="line">        images[i].style.display = &#x27;none&#x27;;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;)();</span><br></pre></td></tr></table></figure><h4 id="2-添加书签🔖"><a href="#2-添加书签🔖" class="headerlink" title="2.添加书签🔖"></a>2.添加书签🔖</h4><ol><li>开启你的网络浏览器（如Chrome、Firefox等）。拖动后面这个<a href="https://ceshi.ceshi/">示例文字</a>到书签栏</li><li>右键我们添加到这个书签,点击修改,删除掉URL里的内容并把我们复制的 <strong>javascript代码</strong> 粘贴上去</li><li>随便找个有图片的网站,点击一下这个书签,我们就可以看到所有图片都被隐藏了</li></ol><p><img src="https://cdn.jsdelivr.net/gh/JonasTech0/Jonas-imgs-240211/2024-02-11-WebDesktop/img%E6%B6%88%E5%A4%B1.gif" alt="演示图片"></p><h2 id="定制专属的Bookmarklet🔖"><a href="#定制专属的Bookmarklet🔖" class="headerlink" title="定制专属的Bookmarklet🔖"></a>定制专属的Bookmarklet🔖</h2><blockquote><p>下面我将开始介绍如何使用 Bookmarklet 来实现一些常见的功能，我们将借助自己的大脑和生成式AI来做到这一点。同时在文章末尾我将给各位打包上百个书签,方便大家体验。</p></blockquote><h3 id="B站视频封面"><a href="#B站视频封面" class="headerlink" title="B站视频封面"></a>B站视频封面</h3><p>每次发布视频之前我都想知道它的封面最终展现是什么样子的，但我没有找到一个好的工具，这时候我们就可以让AI来帮我们生成一个Boookmarklet来实现封面预览。</p><ol><li>首先我们在控制台找到想要放置封面<strong>位置的网页代码</strong>,复制下来</li></ol><p><img src="https://img.laogou717.com/file/0dc92d26ed6cdb321485b.png"></p><ol start="2"><li>接下来我们把复制的代码发送给AI,然后描述一下我们的要求,然后生成一个Bookmarklet</li></ol><p><img src="https://img.laogou717.com/file/d9e492b0e4334d1f6f2ad.png"></p><ol start="3"><li>然后我们按照之前的步骤,点击一下这个书签,粘贴上我们的封面就可以在这里进行预览了</li></ol><p><img src="https://img.laogou717.com/file/fd9d9874e3685cb679e9c.png"><br><img src="https://img.laogou717.com/file/8e7b834dfe6bf60f3255f.png"></p><h3 id="待续…"><a href="#待续…" class="headerlink" title="待续…"></a>待续…</h3><h1 id="小书签引用"><a href="#小书签引用" class="headerlink" title="小书签引用"></a>小书签引用</h1><p><a href="https://www.runningcheese.com/bookmarklets">奶酪书签</a></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h1 id=&quot;下载使用浏览器-Bookmarklet（小书签）&quot;&gt;&lt;a href=&quot;#下载使用浏览器-Bookmarklet（小书签）&quot; class=&quot;headerlink&quot; title=&quot;下载使用浏览器 Bookmarklet（小书签）&quot;&gt;&lt;/a&gt;下载使用浏览器 Bookma</summary>
      
    
    
    
    <category term="浏览器怎么用" scheme="https://www.laogou717.com/categories/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%80%8E%E4%B9%88%E7%94%A8/"/>
    
    
    <category term="Bookmarklet" scheme="https://www.laogou717.com/tags/Bookmarklet/"/>
    
    <category term="浏览器小书签" scheme="https://www.laogou717.com/tags/%E6%B5%8F%E8%A7%88%E5%99%A8%E5%B0%8F%E4%B9%A6%E7%AD%BE/"/>
    
    <category term="Google" scheme="https://www.laogou717.com/tags/Google/"/>
    
  </entry>
  
  <entry>
    <title>5月2日记</title>
    <link href="https://www.laogou717.com/2024/05/01/note/2024/2024-05-02/"/>
    <id>https://www.laogou717.com/2024/05/01/note/2024/2024-05-02/</id>
    <published>2024-05-01T09:22:27.336Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="矫情"><a href="#矫情" class="headerlink" title="矫情"></a>矫情</h2><p>在 14 岁时，我攒了一个月的零花钱，拜托有手机支付的同学帮我在淘宝上买了一把话筒。</p><p>我用它录制了第一个视频，并在镇上网吧的角落里上传了它。<br>那把话筒陪伴我五年之久，它是我所有声音和梦想的载体。<br>现在回想起来，它的成本只有 20 元，而外卖平台的一个汉堡如今却要 22 元。</p><p>当时，我的视频播放量高达 77 次，我非常开心。<br>而现在，虽然我拥有了更多粉丝的关注，我却感受不到了当初那样的喜悦。<br>准确的说，我感到有些难过。</p><p>我的视频不再像从前那样有趣，我的热情也不如从前。<br>我恍惚间觉得，我似乎丢失了某样重要东西。<br>如果有人找到了它，请告诉我，感谢您。</p>]]></content>
    
    
    <summary type="html">关于往事和创作的感悟</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>无服务器一键部署OneAPI 使用指南。</title>
    <link href="https://www.laogou717.com/2024/04/13/AI%20era/Github/OneAPI/"/>
    <id>https://www.laogou717.com/2024/04/13/AI%20era/Github/OneAPI/</id>
    <published>2024-04-13T21:28:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.laogou717.com/file/d9014cdc0476e7ed40b00.jpg"></p><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><blockquote><p>🤯前段时间手里囤了一些 API，用的不多，主要用于博客的 AI 摘要功能。我的榆木脑袋经常会忘记这些平台的账号密码，这让我决定使用 OneAPI 进行统一管理。尽管 OneAPI 的作者提供了详尽的教程，但一些用户（包括我自己）在部署时仍碰到了一些小问题。因此，在成功部署后，我决定为基础不好的小白写下这篇详细的部署指南，希望能帮助大家少走弯路。</p></blockquote><h2 id="项目介绍"><a href="#项目介绍" class="headerlink" title="项目介绍"></a>项目介绍</h2><p><strong><a href="https://github.com/songquanpeng/one-api">OneAPI 项目</a><strong>是一个开放的接口管理和分发系统，支持多种大型语言模型，例如 OpenAI 的 ChatGPT、Azure、Anthropic Claude、Google PaLM 2 &amp; Gemini 等。它旨在进行密钥管理和重新分配，可以通过单个可执行文件或</strong>Docker 部署</strong>，并提供一个简单统一的 API 来访问不同的大型语言模型。该系统开源，使用**<a href="https://github.com/songquanpeng/one-api?tab=MIT-1-ov-file#readme">MIT 许可证</a>**，提供了模型支持、令牌管理和用户组管理等功能。具体的部署和配置说明，用户应参考该项目的 GitHub 仓库和文档</p><h2 id="项目搭建"><a href="#项目搭建" class="headerlink" title="项目搭建"></a>项目搭建</h2><p>本项目提供了 Docker 镜像，使部署过程简化。我们可以更加轻松的进行部署。</p><p>默认情况下使用 SQLite 数据库，在未设置环境变量 <code>SQL_DSN</code>的情况下，数据库文件将存储在 Docker 容器指定的路径上。如果设置了 <code>SQL_DSN</code> 环境变量，应用则会连接到您指定的 MySQL 或 PostgreSQL 数据库。这样当我们重新部署或拉取镜像时我们之前的更改才不会丢失。</p><h3 id="准备"><a href="#准备" class="headerlink" title="准备"></a>准备</h3><ul><li><strong>支持 Docker 的免费容器平台</strong>，如 Render 或 Zeabur。</li><li><strong>MySQL 或 PostgreSQL 数据库</strong>（可选，推荐以保证数据持久性）。</li><li><strong>一个域名</strong>（可选）。</li></ul><h3 id="部署步骤"><a href="#部署步骤" class="headerlink" title="部署步骤"></a>部署步骤</h3><h4 id="选择你想要使用的托管平台"><a href="#选择你想要使用的托管平台" class="headerlink" title="选择你想要使用的托管平台"></a>选择你想要使用的托管平台</h4><ul><li><strong><a href="https://huggingface.co/">Hugging Face</a></strong>: 快速但不支持绑定域名，国内访问可能受限。</li><li><strong><a href="https://render.com/">Render</a></strong>: 支持绑定域名，注册可能需绑定信用卡。</li><li><strong><a href="https://www.koyeb.com/">Koyeb</a></strong>: 支持绑定域名，需升级计划。</li><li><strong><a href="https://zeabur.com/">Zeabur</a></strong>: 访问速度快，支持中文，部署 Docker 镜像需升级计划。</li></ul><h3 id="部署流程"><a href="#部署流程" class="headerlink" title="部署流程"></a>部署流程</h3><blockquote><p>huggingface 部署</p></blockquote><ol><li><strong>复制 Docker 镜像</strong><br>点击按钮<a href="https://huggingface.co/spaces/Jonastech/OneAPI?duplicate=true">一键复制镜像</a>,配置<code>THEME</code>（界面主题，如<code>default</code>或<code>berry</code>）和<code>SQL_DSN</code>（数据库连接）。我会在下面详细列出。<img src="https://img.laogou717.com/file/cb9e884fffd0e18d8dee0.png"></li></ol><blockquote><p>不同主题的效果如下，按照自己喜好挑选。</p></blockquote><p><strong>默认主题</strong><br><img src="https://img.laogou717.com/file/cd933a84a998857647363.jpg"><br><strong>berry 主题</strong><br><img src="https://img.laogou717.com/file/c3193bf3fa72d5a5ead9a.png"></p><ol start="2"><li><strong>数据库配置</strong></li></ol><ul><li><p>使用如 aiven 或~~ Planetscale ~~ 的免费数据库服务，或<strong>Render</strong> 和 <strong>Koyeb</strong> 自带的免费的数据库;为项目配置环境变量<code>SQL_DSN</code>:</p></li><li><p><strong>MySQL 示例</strong>: <code>SQL_DSN=root:123456@tcp(localhost:3306)/oneapi</code></p></li><li><p><strong>PostgreSQL 示例</strong>: <code>SQL_DSN=postgres://postgres:123456@localhost:5432/oneapi</code></p><p>2.1<strong>注册登陆</strong>我们进入 <strong><a href="https://console.aiven.io/login">aiven</a></strong> 平台，注册或登录账号。</p></li></ul><p><img src="https://img.laogou717.com/file/49d6feb00af6c23ef7ace.png" alt="1.登陆"><br>  2.2<strong>填入信息</strong>选择个人服务，填入基本信息。<br><img src="https://img.laogou717.com/file/a0e9df4d84ff358b5e08b.png" alt="2.填入信息"><br>  2.3<strong>选择数据库</strong>选择 MySQL 数据库或 PostgreSQL 数据库。<br><img src="https://img.laogou717.com/file/40f551153153f086582b5.png" alt="3.选择数据库"><br>  2.4<strong>数据库配置</strong>选中免费计划，选择服务地区，最后点击创建。<br><img src="https://img.laogou717.com/file/765caba492fbd91079faf.png" alt="4.数据库配置"><br>  2.5<strong>最终配置</strong>记下图中的信息，一路点跳过。不记住也没关系，全跳过后我们也能看到它们。<br><img src="https://img.laogou717.com/file/f68ed6bc4c072991ea6a7.png" alt="5.一路跳过"></p><p>3.<strong>填写变量</strong></p><p>根据图中的数据库信息我们得到了这个：</p><p><strong>服务 URI:</strong><br><code>mysql://CLICK_TO:REVEAL_PASSWORD@mysql-12a9c26-jonastech007-2d92.b.aivencloud.com:10906/defaultdb?ssl-mode=必需</code></p><p><strong>Host:</strong><br><code>mysql-12a9c26-jonastech007-2d92.b.aivencloud.com</code></p><p><strong>Port:</strong><br><code>10906</code></p><p><strong>用户：</strong><br><code>avnadmin</code></p><p><strong>密码：</strong><br><code>AVNS_QV8niFI8YW48vKqxi3R</code></p><p>我们的链接地址应该是这样写：<code>用户名:密码@tcp(Host:Port)/数据库名称</code></p><p>最终我们得到了<code>avnadmin:AVNS_QV8niFI8YW48vKqxi3R@tcp(mysql-12a9c26-jonastech007-2d92.b.aivencloud.com:10906)/defaultdb</code></p><p>把这个链接填入到变量中去，最后点击复制到空间 <strong>Duplicate Space</strong><img src="https://img.laogou717.com/file/017896700a86c7dfa2237.png" alt="6.填入变量复制到空间"><br><img src="https://img.laogou717.com/file/a40f0eb61a2a26b4af2a7.png" alt="7.部署完成"></p><p>4.<strong>访问</strong></p><p>  这时候我们就可以通过点击右上角的设置找到<strong>Embed this Space</strong>,通过下面的链接进行访问我们的服务。<br>    <img src="https://img.laogou717.com/file/866ecc605d2b0fa508118.png"><br>    <img src="https://img.laogou717.com/file/f7666d45cd2e1ebb65c24.png" alt="访问地址"></p><blockquote><p>Koyeb 部署</p></blockquote><p>1.点击进入<a href="https://www.koyeb.com/">Koyeb</a>官网，进行登陆注册后，点击创建网络服务选择 docker 镜像。<br><img src="https://img.laogou717.com/file/30f482e41889774cdcb7d.png"><br><img src="https://img.laogou717.com/file/b8b221f8662e46af670b9.png"><br>2.在输入框内容输入 <code>justsong/one-api:latest</code> ,如果你不知道这个从何的来的，可以查看开源项目中的<strong>compose.yml</strong>。</p><p><a href="https://github.com/songquanpeng/one-api/blob/main/docker-compose.yml">https://github.com/songquanpeng/one-api/blob/main/docker-compose.yml</a></p><p><code>$&#123;REGISTRY:-docker.io&#125;</code> 是一个环境变量表达式，表示如果环境变量<code>REGISTRY</code>没有设置，就使用默认的 <code>docker.io</code>（Docker Hub）。<br><code>justsong/one-api:latest</code> 指定了镜像的名称和标签，其中 <code>justsong</code> 是 Docker Hub 上的用户或组织名，<code>one-api</code>是镜像名，latest 表示使用这个镜像的最新版本。<br><img src="https://img.laogou717.com/file/4f527ba90b2470920a4bd.png"><br>3.设置必要变量和地区信息后点击部署按钮。<br><img src="https://img.laogou717.com/file/a97c06853c08fa7b43763.png"><br>4.⌛️等待部署完毕后，我们可以点击这个地址访问我们的 One API。<br><img src="https://img.laogou717.com/file/cdc945d6433b7dba1d2b5.png"><br><img src="https://img.laogou717.com/file/70b803f41e2d905b63f86.png"><br>5.管理员账号默认是</p><ul><li>用户名:root</li><li>密码:123456</li></ul><p>登录后应立即在<strong>用户</strong>中更改，从而保证账户的安全</p><p><img src="https://img.laogou717.com/file/4abec7279976dcac0a040.png" alt="OneAPI 账号"></p><h2 id="使用方法"><a href="#使用方法" class="headerlink" title="使用方法"></a>使用方法</h2><blockquote><p>考虑到能看我这篇文章的，大多是新手，我简单演示一下它的使用方法。以上篇博文中介绍的免费 API<a href="https://burn.hair/register?aff=9iZ5">头顶冒火</a>举例。</p></blockquote><p>对此没有印象的朋友可以自行了解，或观看<a href="https://blog.laogou717.com/2024/04/06/AI%20era/freeAPI/">这篇博文</a><br><img src="https://img.laogou717.com/file/c2d64dd53ee17a0ef18c5.png"></p><h3 id="OneAPI-配置"><a href="#OneAPI-配置" class="headerlink" title="OneAPI 配置"></a>OneAPI 配置</h3><p>1.登陆 OneAPI 的管理员账号后，找到<strong>渠道</strong>,点击<strong>新建渠道</strong><br><img src="https://img.laogou717.com/file/13109fb4d78e07b2f07c0.png"><br>2.渠道名称我们可以随便命名，渠道 API 地址就是转发地址，因为我以<a href="https://burn.hair/register?aff=9iZ5">头顶冒火</a>举例，所以我只需填入它的请求地址：<code>https://burn.hair</code>;然后选择 <strong>支持的模型</strong>;添加你的 API KEY，最后提交。<br><img src="https://img.laogou717.com/file/8e52fcd46e0a87965f469.png"><br><img src="https://img.laogou717.com/file/8f5dbc028f6427094933c.png"><br>3.最后我们点击 <strong>未测试</strong> ,测一下 API 的连通性。<br><img src="https://img.laogou717.com/file/b19558bade4e9e305b1d0.png" alt="Image"><br><img src="https://img.laogou717.com/file/a0ceef98715ed9b32758e.png" alt="Image"></p><p>4.完成测试之后，我们就可以在<strong>令牌</strong>处新建令牌进行分发使用。如果你想 你也可以在添加众多 API 之后分享出来你的网站，让大家来使用。<br>我们只需在后台维护各个API的渠道就行，至于我们 OneAPI 的请求地址，默认是我们的域名，你也可以在设置中进行更改。<br><img src="https://img.laogou717.com/file/0b667ceb5ed0792cd0613.png"><br><img src="https://img.laogou717.com/file/2e98a8673403977c40ba6.png"></p><h2 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h2><p>其实很多号商用的也是 <strong>OneAPI</strong> 或 <strong>NewAPI</strong>，其实没有那么难操作，只是你觉得麻烦不想去了解而已。现在 <strong>azure</strong> 注册依然是<strong>赠送 200 美金</strong>额度的，<strong>GitHub</strong> 上也有很多 FreeAPI 项目，<a href="https://linux.do/">linux.do</a>中就更多了。单是个人日常使用是完全用不完的。</p><p>得了，天儿也不早了，我吃个早饭准备上班拉磨了，又是通宵的一天🙂 。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://img.laogou717.com/file/d9014cdc0476e7ed40b00.jpg&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;&gt;&lt;/a&gt;前言&lt;/</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="热门" scheme="https://www.laogou717.com/tags/%E7%83%AD%E9%97%A8/"/>
    
    <category term="OneAPI" scheme="https://www.laogou717.com/tags/OneAPI/"/>
    
    <category term="教程" scheme="https://www.laogou717.com/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="小白" scheme="https://www.laogou717.com/tags/%E5%B0%8F%E7%99%BD/"/>
    
  </entry>
  
  <entry>
    <title>两个免费无限制使用ChatGPT模型API！</title>
    <link href="https://www.laogou717.com/2024/04/06/AI%20era/Github/Freegpt35/"/>
    <id>https://www.laogou717.com/2024/04/06/AI%20era/Github/Freegpt35/</id>
    <published>2024-04-06T14:55:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<h2 id="引言"><a href="#引言" class="headerlink" title="引言"></a>引言</h2><blockquote><p>OpenAI开放了免登录聊天的功能之后,<strong>FreeGPT35-Vercel</strong> 和 <strong>AURORA</strong> 两个开源项目应运而生。<br><strong>FreeGPT35-Vercel</strong> 项目利用 Vercel 平台，可以让您一键部署免费的 GPT-3.5 接口，无需登录或注册。<br><strong>AURORA</strong> 项目则提供了更加丰富的功能和设置，支持多种部署方式，满足不同用户的个性化需求。同时带有简单的前端面板。<img src="https://img.laogou717.com/file/2666f3fae8ea44f8f9f7c.png" title="30px" class="inline-img"></p></blockquote><h2 id="FreeGPT35-Vercel-简介"><a href="#FreeGPT35-Vercel-简介" class="headerlink" title="FreeGPT35-Vercel 简介"></a>FreeGPT35-Vercel 简介</h2><p><strong>FreeGPT35-Vercel</strong>利用Vercel平台的强大功能，允许用户一键部署GPT-3.5接口，免去了繁琐的登录或注册流程。项目的高光特点包括：</p><ul><li><strong>简易部署</strong>：通过<a href="https://vercel.com/new/clone?repository-url=https://github.com/cliouo/FreeGPT35-Vercel">一键部署到Vercel平台</a>，您可以轻松启动自己的GPT-3.5服务。</li><li><strong>自定义访问</strong>：用户可以设置自己的域名，方便地访问部署的接口。</li><li><strong>环境变量配置</strong>：通过设置<code>AUTH_TOKEN</code>环境变量，您将获得一个独特的API密钥，保障了访问的安全性。</li></ul><p><img src="https://img.laogou717.com/file/135aabe589869d625f0fa.png"></p><h2 id="AURORA-简介"><a href="#AURORA-简介" class="headerlink" title="AURORA 简介"></a>AURORA 简介</h2><p>与FreeGPT35-Vercel项目相比，<strong>AURORA</strong>提供了更多的功能和部署选项，满足了不同用户的个性化需求。其特点包括：</p><ul><li><strong>多元化部署</strong>：支持包括编译部署、Docker部署在内的多种方式，为用户提供了广泛的选择空间。</li><li><strong>丰富的部署平台</strong>：除了传统的Docker和Render，AURORA还支持Koyeb、Railway等新兴的云平台，给用户提供了更多的灵活性。</li><li><strong>前端面板支持</strong>：AURORA带有简洁明了的前端面板，使用户能够更加便捷地管理和使用服务。</li></ul><blockquote><p>由于<strong>DockerRender部署过于繁琐</strong>,同时被官网所限制,因此我们可以选择时用<strong>Koyeb</strong>、<strong>Railway</strong>、<strong>huggingface</strong>等部署方式。</p></blockquote><h3 id="Vercel、Zeabur部署"><a href="#Vercel、Zeabur部署" class="headerlink" title="Vercel、Zeabur部署"></a>Vercel、Zeabur部署</h3><p>由于vercel不支持流式，如果在vercel部署请在STREAM_MODE中填False，不支持任何默认流式的客户端，支持沉浸式翻译。</p><p><a href="https://vercel.com/new/clone?repository-url=https://github.com/aurora-develop/aurora&env=STREAM_MODE&project-name=aurora&repository-name=aurora"><img src="https://vercel.com/button" alt="Deploy with Vercel"></a><br><a href="https://zeabur.com/templates/JF3EFW"><img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur"></a></p><h3 id="Koyeb部署"><a href="#Koyeb部署" class="headerlink" title="Koyeb部署"></a>Koyeb部署</h3><p>地区选美国<br><a href="https://app.koyeb.com/deploy?type=docker&name=aurora&ports=8080;http;/&image=ghcr.io/aurora-develop/aurora"><img src="https://www.koyeb.com/static/images/deploy/button.svg" alt="Deploy to Koyeb"></a><br><img src="https://img.laogou717.com/file/c187611f850351814d932.png"></p><h3 id="RaiLway部署"><a href="#RaiLway部署" class="headerlink" title="RaiLway部署"></a>RaiLway部署</h3><p><a href="https://railway.app/template/jcl2Es?referralCode=XXqY_5"><img src="https://railway.app/button.svg" alt="Deploy on Railway"></a><br><img src="https://img.laogou717.com/file/dd9a3b3838d49cbd7a5cc.png" alt="Railway"></p><h3 id="huggingface部署"><a href="#huggingface部署" class="headerlink" title="huggingface部署"></a>huggingface部署</h3><p>以下镜像来自群友:早起的虫被鸟吃<br><a href="https://huggingface.co/spaces/ykl45/aa">一键克隆镜像</a><br><img src="https://img.laogou717.com/file/6065b9135a26a7ef427da.png" alt="huggingface"></p><h3 id="访问Web端"><a href="#访问Web端" class="headerlink" title="访问Web端"></a>访问Web端</h3><p>访问 http:&#x2F;&#x2F;你的服务器ip:8080&#x2F;web 即可 在web设置页面的填写服务器的http:&#x2F;&#x2F;你的服务器ip:8080</p><p><strong>注：仅ip属地支持免登录使用ChatGpt可以使用(也可以自定义Baseurl来绕过限制)</strong></p><h3 id="AURORA环境变量"><a href="#AURORA环境变量" class="headerlink" title="AURORA环境变量"></a>AURORA环境变量</h3><table><thead><tr><th>环境变量名</th><th>描述</th></tr></thead><tbody><tr><td>BASE_URL</td><td>设置代理网关的URL，所有请求将通过这个网关转发。例如，<code>https://auroraxf.glitch.me/api</code>表示所有的API请求都将通过这个地址进行转发。</td></tr><tr><td>Authorization</td><td>用于用户认证的key。在发送请求时，这个key将用于验证用户的身份，确保请求的合法性。</td></tr><tr><td>TLS_CERT</td><td>指向TLS证书的路径。这个证书用于HTTPS通信，保证数据传输的安全。</td></tr><tr><td>TLS_KEY</td><td>指向TLS密钥的路径。这个密钥与TLS证书配合使用，用于加密通信，保护数据传输过程中的隐私和完整性。</td></tr><tr><td>PROXY_URL</td><td>设置代理池的URL。通过使用代理池，可以改变请求的来源IP地址，用于绕过IP限制或增强隐私保护。</td></tr></tbody></table><h2 id="其他前端UI"><a href="#其他前端UI" class="headerlink" title="其他前端UI"></a>其他前端UI</h2><ul><li><a href="https://github.com/lobehub/lobe-chat">Lobe-Chat</a></li></ul><p><img src="https://img.laogou717.com/file/178405f4cacdf8a484481.png" alt="Lobe-Chat"><br><img src="https://img.laogou717.com/file/b76c228eb67c780c8e7b9.png" alt="Lobe-Chat"></p><h2 id="参考链接"><a href="#参考链接" class="headerlink" title="参考链接"></a>参考链接</h2><ul><li><strong>FreeGPT35-Vercel 项目地址:</strong> <a href="https://github.com/cliouo/FreeGPT35-Vercel">https://github.com/cliouo/FreeGPT35-Vercel</a></li><li><strong>AURORA 项目地址:</strong> <a href="https://github.com/aurora-develop/aurora">https://github.com/aurora-develop/aurora</a></li></ul><blockquote><p>如果对您有所帮助,希望各位不要吝啬手里的点赞🎉</p></blockquote>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;引言&quot;&gt;&lt;a href=&quot;#引言&quot; class=&quot;headerlink&quot; title=&quot;引言&quot;&gt;&lt;/a&gt;引言&lt;/h2&gt;&lt;blockquote&gt;
&lt;p&gt;OpenAI开放了免登录聊天的功能之后,&lt;strong&gt;FreeGPT35-Vercel&lt;/strong&gt; 和 &lt;</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="GPT3.5" scheme="https://www.laogou717.com/tags/GPT3-5/"/>
    
    <category term="开源项目" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
    <category term="逆向" scheme="https://www.laogou717.com/tags/%E9%80%86%E5%90%91/"/>
    
    <category term="AURORA" scheme="https://www.laogou717.com/tags/AURORA/"/>
    
  </entry>
  
  <entry>
    <title>免费领取GPT4、Claude3免费API！</title>
    <link href="https://www.laogou717.com/2024/04/05/AI%20era/Github/freeAPI/"/>
    <id>https://www.laogou717.com/2024/04/05/AI%20era/Github/freeAPI/</id>
    <published>2024-04-05T16:55:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<h2 id="引言"><a href="#引言" class="headerlink" title="引言"></a>引言</h2><blockquote><p>OpenAI 接口转发站<br> <strong>正规渠道，稳定使用</strong>，所有模型均支持高并发<br> 支持 OpenAI <strong>大部分模型</strong><br> 如遇问题可以在 <a href="https://github.com/BurnHair/issues">GitHub</a> 上提issue</p></blockquote><hr><h2 id="使用指南"><a href="#使用指南" class="headerlink" title="使用指南"></a>使用指南</h2><h3 id="进入网站"><a href="#进入网站" class="headerlink" title="进入网站"></a>进入网站</h3><ul><li><p><a href="https://burn.hair/register?aff=9iZ5">头顶冒火</a> — GPT4、Claude3免费API</p><p><img src="https://img.laogou717.com/file/d72147cc06ba5fa8b1014.png" alt="头顶冒火"></p></li></ul><h3 id="GitHub-登录与令牌创建"><a href="#GitHub-登录与令牌创建" class="headerlink" title="GitHub 登录与令牌创建"></a>GitHub 登录与令牌创建</h3><p>为了使用本服务，您需要通过以下步骤获取和使用 GitHub 登录及创建令牌：</p><ol><li><strong>GitHub 登录：</strong> 确保您已拥有一个 GitHub 账号；如果没有，您可以轻松地在 <a href="https://github.com/">GitHub 官网</a> 注册一个。</li><li><strong>创建令牌：</strong> 登录后，在设置区域寻找到“令牌”或“API Tokens”的部分，并选择“添加新的令牌”来创建一个新的 API 令牌。<br><img src="https://img.laogou717.com/file/f7680e87426e17deb2d56.png"></li><li><strong>复制令牌：</strong> 令牌创建后，请确保复制您的令牌（Token），以便在 API 请求中使用。<br><img src="https://img.laogou717.com/file/2b28f77c30777b5d24363.png"></li></ol><h3 id="API-调用示例"><a href="#API-调用示例" class="headerlink" title="API 调用示例"></a>API 调用示例</h3><p>要通过 API 与服务进行交云，您需要准备适当的请求，这包括设置请求头和请求体：</p><ul><li><strong>接口 URL:</strong> <code>https://burn.hair/v1/chat/completions</code></li><li><strong>请求头:</strong> 应包括 <code>Authorization: Bearer sk-您的令牌</code>，以便系统验证您的请求。</li><li><strong>请求体示例:</strong></li></ul><figure class="highlight json"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;model&quot;</span><span class="punctuation">:</span> <span class="string">&quot;gpt-3.5-turbo&quot;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;messages&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">    <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;role&quot;</span><span class="punctuation">:</span> <span class="string">&quot;user&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;content&quot;</span><span class="punctuation">:</span> <span class="string">&quot;重复我说的话：我是我，你是你。&quot;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;temperature&quot;</span><span class="punctuation">:</span> <span class="number">0.7</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><p>请根据需要替换模型名称或调整请求体的其他参数。</p><h3 id="Claude-模型支持"><a href="#Claude-模型支持" class="headerlink" title="Claude 模型支持"></a>Claude 模型支持</h3><p>本服务同时支持 Claude 模型，您可以按照如下格式进行调用：</p><figure class="highlight json"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;model&quot;</span><span class="punctuation">:</span> <span class="string">&quot;claude-3-opus-20240229&quot;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;max_tokens&quot;</span><span class="punctuation">:</span> <span class="number">1024</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;messages&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">    <span class="punctuation">&#123;</span><span class="attr">&quot;role&quot;</span><span class="punctuation">:</span> <span class="string">&quot;user&quot;</span><span class="punctuation">,</span> <span class="attr">&quot;content&quot;</span><span class="punctuation">:</span> <span class="string">&quot;Hello, world&quot;</span><span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">]</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><h3 id="签到及充值"><a href="#签到及充值" class="headerlink" title="签到及充值"></a>签到及充值</h3><ul><li><strong>签到:</strong> 您可以通过网站或机器人进行签到，机器人签到可能会获得额外奖励。</li><li><strong>充值:</strong> 访问指定的充值页面进行兑换码购买，并通过支持的支付方式完成交易。购买后，使用获得的兑换码在充值页面进行激活。<br><img src="https://img.laogou717.com/file/4091ea7303706de9c74b2.png"></li></ul><h3 id="Midjourney-支持"><a href="#Midjourney-支持" class="headerlink" title="Midjourney 支持"></a>Midjourney 支持</h3><ul><li>目前，本服务尚不支持 Midjourney 模型。</li></ul><h3 id="模型变化解释"><a href="#模型变化解释" class="headerlink" title="模型变化解释"></a>模型变化解释</h3><ul><li>如果您发现日志中模型名称频繁变动，这可能是因为您使用的是 NextChat 功能，它会根据需要自动选择最合适的模型进行响应。</li></ul><hr><h1 id="文章参考"><a href="#文章参考" class="headerlink" title="文章参考"></a>文章参考</h1><ul><li><a href="https://burn.hair/">https://burn.hair</a></li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;引言&quot;&gt;&lt;a href=&quot;#引言&quot; class=&quot;headerlink&quot; title=&quot;引言&quot;&gt;&lt;/a&gt;引言&lt;/h2&gt;&lt;blockquote&gt;
&lt;p&gt;OpenAI 接口转发站&lt;br&gt; &lt;strong&gt;正规渠道，稳定使用&lt;/strong&gt;，所有模型均支持高并发&lt;br</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="GPT4" scheme="https://www.laogou717.com/tags/GPT4/"/>
    
    <category term="Claude3.5" scheme="https://www.laogou717.com/tags/Claude3-5/"/>
    
    <category term="头顶冒火" scheme="https://www.laogou717.com/tags/%E5%A4%B4%E9%A1%B6%E5%86%92%E7%81%AB/"/>
    
  </entry>
  
  <entry>
    <title>3月22日记</title>
    <link href="https://www.laogou717.com/2024/03/21/note/2024/2024-03-22/"/>
    <id>https://www.laogou717.com/2024/03/21/note/2024/2024-03-22/</id>
    <published>2024-03-21T16:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>今天修复了网站主题切换按钮的一个重要问题。这个问题困扰了我一段时间，主要表现为页面加载时主题切换按钮不显示图标，只有在点击后才会出现。</p></blockquote><h3 id="问题分析"><a href="#问题分析" class="headerlink" title="问题分析"></a>问题分析</h3><p>问题的根源在于 Next.js 的客户端组件水合(Hydration)过程：</p><ol><li>最初的实现在水合完成前返回 <code>null</code></li><li>过度依赖 <code>useTheme</code> hook 的返回值</li><li>动画状态的控制时机不当</li></ol><h3 id="解决方案"><a href="#解决方案" class="headerlink" title="解决方案"></a>解决方案</h3><p>最终通过以下方式解决：</p><ol><li><p>分离静态渲染和动态渲染</p><ul><li>在未水合时使用静态图标</li><li>水合完成后使用动画图标</li></ul></li><li><p>直接从 DOM 读取初始主题</p><figure class="highlight typescript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">const</span> initialTheme = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">classList</span>.<span class="title function_">contains</span>(<span class="string">&#x27;dark&#x27;</span>) </span><br><span class="line">  ? <span class="string">&#x27;dark&#x27;</span> </span><br><span class="line">  : <span class="string">&#x27;light&#x27;</span></span><br></pre></td></tr></table></figure></li><li><p>为动画组件设置正确的初始状态</p><figure class="highlight typescript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">initial=&#123;theme === <span class="string">&quot;light&quot;</span> ? <span class="string">&quot;sun&quot;</span> : <span class="string">&quot;hidden&quot;</span>&#125;</span><br></pre></td></tr></table></figure></li></ol><h3 id="经验教训"><a href="#经验教训" class="headerlink" title="经验教训"></a>经验教训</h3><ol><li>处理 SSR 和客户端水合时，需要特别注意初始渲染状态</li><li>不要过度依赖客户端状态，可以直接读取 DOM 获取初始信息</li><li>在添加动画效果前，确保基础功能正常工作</li><li>分离静态和动态渲染可以提供更好的用户体验</li></ol><p>这次的修复让我对 Next.js 的 SSR 和客户端水合有了更深的理解。在处理类似问题时，应该先确保基础功能正常，再逐步添加动画等增强功能。 </p>]]></content>
    
    
    <summary type="html">日常记录与一些技术随想</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>3月21日记</title>
    <link href="https://www.laogou717.com/2024/03/21/note/2024/2024-03-21/"/>
    <id>https://www.laogou717.com/2024/03/21/note/2024/2024-03-21/</id>
    <published>2024-03-21T06:55:31.652Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="随笔"><a href="#随笔" class="headerlink" title="随笔"></a>随笔</h2><p>好久没写日记了，也好久没有更新了。<br>最近确实发生了一些无聊的事情，比如上班没带头盔被交警逮捕。<br>又比如停在公司大门口的电动车被老登顺手牵羊…<br>好在被公司保安及时发现并当场制止住咯，这老登还骂骂咧咧的。<br>靠！什么世道啊。</p><p>下面这个是超市点点外卖，超市点图片确实看起来很有趣，所以就买了瓶回来。<br>我问我女朋友要不要喝，她说她就尝一口然后给我，接着就看到她古怪的表情。🤔<br>当我自己品尝之后我可以很简单的向你形容出它的味道——约等于<br>醋+气泡水 🙂</p><p><img src="https://cdn.jsdelivr.net/gh/JonasTech0/Jonas-imgs-240211/2024-02-11-WebDesktop/IMG_0208.jpg"> </p>]]></content>
    
    
    <summary type="html">记录生活中的趣事和小插曲</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>国内访问Vercel上的域名?试试这个!</title>
    <link href="https://www.laogou717.com/2024/02/29/AI%20era/deploy/Vercel/"/>
    <id>https://www.laogou717.com/2024/02/29/AI%20era/deploy/Vercel/</id>
    <published>2024-02-29T23:09:04.189Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://raw.githubusercontent.com/laogou717/IMG/main/LAOGOU/997771ac87cfc28505595c6f00f539f7ce8feced-1200x675.jpg" alt="国内访问不了Vercel上绑定的域名?试试这个吧!"></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">域名的可访问性对于保障信息流通至关重要。Vercel 面临的一个问题是，</span><br><span class="line">由于中国大陆的特定网络政策，使得 vercel.com 和 vercel.app 域在中国大陆地区无法访问。</span><br></pre></td></tr></table></figure><h2 id="处理方案"><a href="#处理方案" class="headerlink" title="处理方案"></a>处理方案</h2><h3 id="调整-A-记录"><a href="#调整-A-记录" class="headerlink" title="调整 A 记录"></a>调整 A 记录</h3><ul><li>请将您的 A 记录的 IP 地址从<code>76.76.21.21</code> 更改为顶级域DNS</li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">76.223.126.88</span><br></pre></td></tr></table></figure><ul><li>这一更改是通过另一条网络路径来重定向流量，从而绕过现有的访问障碍。</li></ul><h3 id="更新-CNAME-记录"><a href="#更新-CNAME-记录" class="headerlink" title="更新 CNAME 记录"></a>更新 CNAME 记录</h3><ul><li>尽管Vercel在最新公告中宣告影响 CNAME 记录的问题已经得到解决，但还是仍然建议将 CNAME 记录从 <code>cname.vercel-dns.com</code>更改为二级域DNS</li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cname-china.vercel-dns.com</span><br></pre></td></tr></table></figure><ul><li>这一更改不仅确保了持续的访问能力，而且提供了额外的冗余性，增强了您的域名抵御未来可能出现中断的能力。</li></ul><h3 id="在域名注册商处添加记录"><a href="#在域名注册商处添加记录" class="headerlink" title="在域名注册商处添加记录"></a>在域名注册商处添加记录</h3><ul><li>登录您的域名注册商管理控制台。以cloudflare举例</li></ul><p><img src="https://lgblog.vercel.app/_next/image?url=https://cdn.sanity.io/images/cl1ktc5x/production/5cfe1fb3de8082b83245fb9258c91ef4042d5235-2712x1292.png&w=3840&q=75" alt="cf主页"></p><p>主页选中激活的域</p><ul><li>找到更新 DNS 记录的部分。</li></ul><p><img src="https://lgblog.vercel.app/_next/image?url=https://cdn.sanity.io/images/cl1ktc5x/production/0f83042881beed3694eec3283da0b97240e38b17-510x1060.png&w=1080&q=75" alt="dns"></p><p>左侧找到DNS服务</p><ul><li>修改 A 记录，指向 <code>76.223.126.88</code></li></ul><p><img src="https://lgblog.vercel.app/_next/image?url=https://cdn.sanity.io/images/cl1ktc5x/production/406eabf252419c67dcbbffbc85e3ea7744b2c920-2462x1128.png&w=3840&q=75" alt="A记录"></p><p>A记录</p><ul><li>将 CNAME 记录修改为 <code>cname-china.vercel-dns.com</code></li></ul><p><img src="https://lgblog.vercel.app/_next/image?url=https://cdn.sanity.io/images/cl1ktc5x/production/f9a9d2b7f63806c4f6f780f9696b4380157e0dfc-2462x1124.png&w=3840&q=75" alt="二级域"></p><p>二级域</p><ul><li>通过上述步骤，即使在中国大陆这样的特殊网络环境下，您的网站也能保持正常的访问和运行。建议您尽早完成这些更改，以确保服务不受影响😄。</li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/laogou717/IMG/main/LAOGOU/997771ac87cfc28505595c6f00f539f7ce8feced-1200x675.jpg&quot; alt=&quot;国内访问不了V</summary>
      
    
    
    
    <category term="搭建网站" scheme="https://www.laogou717.com/categories/%E6%90%AD%E5%BB%BA%E7%BD%91%E7%AB%99/"/>
    
    
    <category term="Vercel" scheme="https://www.laogou717.com/tags/Vercel/"/>
    
    <category term="dns" scheme="https://www.laogou717.com/tags/dns/"/>
    
    <category term="国内提速" scheme="https://www.laogou717.com/tags/%E5%9B%BD%E5%86%85%E6%8F%90%E9%80%9F/"/>
    
  </entry>
  
  <entry>
    <title>Hermchats：不会封号、最好的GPT4.0、Claude3、Midjourney聚合平台。</title>
    <link href="https://www.laogou717.com/2024/02/28/AI%20era/hermchats/"/>
    <id>https://www.laogou717.com/2024/02/28/AI%20era/hermchats/</id>
    <published>2024-02-28T07:30:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="点击登录注册"><a href="#点击登录注册" class="headerlink" title="点击登录注册"></a>点击登录注册</h2><figure class="gallery-group">  <img class="gallery-group-img no-lightbox" src='https://img.laogou717.com/file/b1bf3413ec2bb6f3c3a40.jpg' alt="Group Image Gallery">  <figcaption>  <div class="gallery-group-name">Juchats,</div>  <p>点击访问Juchats,</p>  <a href='https://www.hermchats.com?code=91C04665,'></a>  </figcaption>  </figure>  <h2 id="兑换码"><a href="#兑换码" class="headerlink" title="兑换码"></a>兑换码</h2><blockquote><p>😊<br>兑换码已于视频发布当天被全部使用.<br>✅ 兑换码00： <span class="spoiler primary-text">点击显示兑换码</span><br>✅ 兑换码01： <span class="spoiler primary-text">TULY7G</span><br>✅ 兑换码02： <span class="spoiler primary-text">G9FF9N</span><br>✅ 兑换码03： <span class="spoiler primary-text">5SC1TK</span><br>✅ 兑换码04： <span class="spoiler primary-text">5B76SB</span><br>✅ 兑换码05： <span class="spoiler primary-text">4QN3H3</span><br>✅ 兑换码06： <span class="spoiler primary-text">M484X4</span><br>✅ 兑换码07： <span class="spoiler primary-text">0CC056</span><br>✅ 兑换码08： <span class="spoiler primary-text">9JACM6</span><br>✅ 兑换码09： <span class="spoiler primary-text">B0BFYK</span><br>✅ 兑换码10： <span class="spoiler primary-text">7NJ6U8</span><br>✅ 兑换码11： <span class="spoiler primary-text">CUFCBO</span><br>✅ 兑换码12： <span class="spoiler primary-text">ED260W</span><br>✅ 兑换码13： <span class="spoiler primary-text">3VTKLJ</span><br>✅ 兑换码14： <span class="spoiler primary-text">VDXUH5</span><br>✅ 兑换码15： <span class="spoiler primary-text">JG2OOL</span><br>✅ 兑换码16： <span class="spoiler primary-text">K6JHEQ</span><br>✅ 兑换码17： <span class="spoiler primary-text">HPVR5S</span><br>✅ 兑换码18： <span class="spoiler primary-text">P2QWAF</span><br>✅ 兑换码19： <span class="spoiler primary-text">GBN45O</span><br>✅ 兑换码20： <span class="spoiler primary-text">2O12OI</span></p></blockquote><h2 id="更多彩蛋码及玩法"><a href="#更多彩蛋码及玩法" class="headerlink" title="更多彩蛋码及玩法"></a>更多彩蛋码及玩法</h2><blockquote><p>抢不到的话可以在作者的X上查看更多兑换码</p></blockquote><p>新老用户可以在X上评论区获取彩蛋码，未获取到的新用户，周期内每天 18:00 系统将会自动随机<strong>派发 7 天的 Daily 体验机会！</strong></p><ul><li>周期：2024.04.30 - 05.04</li><li>周期：2024.05.08（助力开工辅助）</li><li>数量：每天 <strong>600</strong> 枚</li></ul><blockquote class="twitter-tweet"><p lang="zh" dir="ltr">Juchats 1.5 Ready 没错，我们来了，昨天凌晨偷偷的发布了一个版本，发现大家都疯狂的怼着 Claude Opus 来用，哈哈哈！我们迎来了第一批订阅用户以及一波问题，就像大家对模型代号的不理解，这个的确是我从产品角度没给到专业的解释，下面我会把抽奖活动、彩蛋码活动以及新产品的新玩法演示！… <a href="https://t.co/UpAJAG0JmT">https://t.co/UpAJAG0JmT</a> <a href="https://t.co/1dDvrSMse5">pic.twitter.com/1dDvrSMse5</a></p>&mdash; 𝗖𝘆𝗱𝗶𝗮𝗿 (@Cydiar404) <a href="https://twitter.com/Cydiar404/status/1785158269721604331?ref_src=twsrc%5Etfw">April 30, 2024</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> ]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;点击登录注册&quot;&gt;&lt;a href=&quot;#点击登录注册&quot; class=&quot;headerlink&quot; title=&quot;点击登录注册&quot;&gt;&lt;/a&gt;点击登录注册&lt;/h2&gt;&lt;figure class=&quot;gallery-group&quot;&gt;
  &lt;img class=&quot;gallery-grou</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
  </entry>
  
  <entry>
    <title>一行代码本地运行 AI 模型</title>
    <link href="https://www.laogou717.com/2024/02/27/AI%20era/deploy/One-Code/"/>
    <id>https://www.laogou717.com/2024/02/27/AI%20era/deploy/One-Code/</id>
    <published>2024-02-27T00:45:48.976Z</published>
    <updated>2024-02-27T00:47:02.527Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/%E6%9C%AA%E6%A0%87%E9%A2%98-1.png" alt="一行代码本地运行 AI 模型"></p><h2 id="Ollama"><a href="#Ollama" class="headerlink" title="Ollama"></a>Ollama</h2><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/20240227163844.png"></p><blockquote><p>一行代码下载运行模型</p></blockquote><ul><li><a href="https://ollama.com/">https://ollama.com</a></li></ul><h3 id="Ollama-运行代码"><a href="#Ollama-运行代码" class="headerlink" title="Ollama 运行代码"></a>Ollama 运行代码</h3><ol><li><strong>运行并与 Llama 2 交互：</strong></li></ol><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama run llama2</span><br></pre></td></tr></table></figure><ol start="2"><li><strong>模型库：</strong></li></ol><p>Ollama 支持一系列模型，可以在 [invalid URL removed] 下载。</p><ol start="3"><li><strong>自定义模型：</strong></li></ol><ul><li><p><strong>从 GGUF 导入：</strong></p><ol><li>创建名为 <code>Modelfile</code> 的文件，其中包含 <code>FROM</code> 指令，指定要导入的模型的本地文件路径。</li><li>创建模型： <figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama create example -f Modelfile</span><br></pre></td></tr></table></figure></li><li>运行模型： <figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ollama run example</span><br></pre></td></tr></table></figure></li></ol></li><li><p><strong>从 PyTorch 或 Safetensors 导入：</strong></p><p>  请参阅导入模型的 指南：URL ollama import model ON Hugging Face ollama.ai 了解更多信息。</p></li></ul><ol start="4"><li><strong>自定义提示：</strong></li></ol><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line">ollama pull llama2</span><br><span class="line"></span><br><span class="line"># 创建 Modelfile</span><br><span class="line">FROM llama2</span><br><span class="line"></span><br><span class="line"># 设置温度 (越高越具创意，越低越连贯)</span><br><span class="line">PARAMETER temperature 1</span><br><span class="line"></span><br><span class="line"># 设置系统消息</span><br><span class="line">SYSTEM &quot;&quot;&quot;</span><br><span class="line">你是超级马里奥兄弟中的马里奥。仅以助手身份回答，就像马里奥一样。</span><br><span class="line">&quot;&quot;&quot;</span><br><span class="line"></span><br><span class="line"># 创建并运行模型</span><br><span class="line">ollama create mario -f ./Modelfile</span><br><span class="line">ollama run mario</span><br><span class="line">&gt;&gt;&gt; hi</span><br><span class="line">你好！我是你的朋友马里奥。</span><br></pre></td></tr></table></figure><h2 id="LMStudio"><a href="#LMStudio" class="headerlink" title="LMStudio"></a>LMStudio</h2><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/20240227163401.png"></p><blockquote><p>无需代码下载运行模型，自带聊天页面</p></blockquote><ul><li><a href="https://lmstudio.ai/">https://lmstudio.ai</a></li></ul><h2 id="Open-WebUI"><a href="#Open-WebUI" class="headerlink" title="Open WebUI"></a>Open WebUI</h2><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/20240227164346.png"></p><blockquote><p>前端页面</p></blockquote><p><a href="https://github.com/open-webui/open-webui">https://github.com/open-webui/open-webui</a></p><h3 id="docker-拉取并链接本地-Ollama"><a href="#docker-拉取并链接本地-Ollama" class="headerlink" title="docker 拉取并链接本地 Ollama"></a>docker 拉取并链接本地 Ollama</h3><p> **使用 Docker 快速启动 **</p><p>使用 Docker 安装 Open WebUI 时，请务必在 Docker 命令中包含 <code>-v open-webui:/app/backend/data</code> 参数。这一步至关重要，因为它可以确保正确挂载数据库并防止数据丢失。</p><p><strong>如果 Ollama 在您的计算机上，请使用以下命令：</strong></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main</span><br></pre></td></tr></table></figure><p><strong>如果 Ollama 在另一台服务器上，请使用以下命令：</strong></p><p>要连接到另一台服务器上的 Ollama，请将 <code>OLLAMA_API_BASE_URL</code> 更改为服务器的 URL：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 3000:8080 -e OLLAMA_API_BASE_URL=https://example.com/api -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main</span><br></pre></td></tr></table></figure><p><strong>安装完成后，您可以通过 <code>http://localhost:3000</code> 访问 Open WebUI。尽情使用吧！</strong></p>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/%E6%9C%AA%E6%A0%87%E9%A2%98-1.png&quot; alt=&quot;一行代码本地运行 AI 模型&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;Olla</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="Ollama" scheme="https://www.laogou717.com/tags/Ollama/"/>
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="本地模型" scheme="https://www.laogou717.com/tags/%E6%9C%AC%E5%9C%B0%E6%A8%A1%E5%9E%8B/"/>
    
  </entry>
  
  <entry>
    <title>2月10日记</title>
    <link href="https://www.laogou717.com/2024/02/10/note/2024/2024-02-10/"/>
    <id>https://www.laogou717.com/2024/02/10/note/2024/2024-02-10/</id>
    <published>2024-02-10T04:46:46.348Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>昨天做饭的时候听到门外有响动,我出去一看是房东在往我门上贴春联。<br>还有一个小女孩不顾我的反应就忘屋里进,然后说了一句我没听清<br>房东的朋友重复了一句:她说屋里太乱…</p><hr><p>从早上十点多开始入睡,一直睡到了晚上七点半。<br>然后咳嗽更加严重了,我不知道是不是发烧了。<br>头更沉了,后背不自觉的发毛,浑身没什么力气。</p><p>做梦时,我还梦到了我妈,还是那么年轻。在梦里我好像是个小屁孩… </p><p>今年的鞭炮也没有令我失望,身体的不适导致我入睡非常困难<br>所以每一挂鞭炮都像是——有人朝我脑门儿敲钉子。</p><hr><p>昨天还是有些收获的,我发现hexo框架以及类似的博客框架,它们逻辑都是类似的。<br>都需要在生产环境把我们的文章进行转换<br>换为html然后就可以用任何容器来部署它们。<br>当然这么描述显得非常不专业,但无所谓,我本来就很业余。</p><p>现在已经八点多了,我在想还要不要吃点东西,或者弄点泡面也不错。不过貌似我还有几包火鸡面没有吃,就是不知道嗓子顶不顶得住。 </p>]]></content>
    
    
    <summary type="html">关于春节、身体状况和技术思考的日记</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>2月9日记</title>
    <link href="https://www.laogou717.com/2024/02/09/note/2024/2024-02-09/"/>
    <id>https://www.laogou717.com/2024/02/09/note/2024/2024-02-09/</id>
    <published>2024-02-09T07:32:37.290Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>鞭炮一直在噼里啪啦的响，听的我难受。<br>没办法静下心来，就连看个视频也被这声音给盖住了。<br>嗓子也哑了，不知道什么原因。<br>像有火在嗓子眼里面烧一样，每次咳嗽都好像把灵魂一起咳出来似的。</p>]]></content>
    
    
    <summary type="html">春节前夕的一些感受</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>2月8日记</title>
    <link href="https://www.laogou717.com/2024/02/08/note/2024/2024-02-08/"/>
    <id>https://www.laogou717.com/2024/02/08/note/2024/2024-02-08/</id>
    <published>2024-02-08T02:27:29.864Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>按照常理来说,前一天如果通宵了应该早点休息,然后才能面对新一天的工作。<br>但没想到这次直接48小时没休息。</p><p>然而,身体不会因为我今天上班而照顾我,从四点钟开始入睡,早上七点四十醒了。<br>实在没有精力去上这个破班,于是我只能把我最后一天假期留在了今天睡觉。</p><hr><p>刚刚才醒来,是下午四点钟,终于晴天了。<br>阳光在窗帘一侧透了进来,很温暖。<br>不得不说,能这么休息太爽了,终于可以再去追番了…</p><p>视频放一放吧,没有什么想做的,而且最近做这个方向的内容作者变多了。<br>我一开始的目的已经达成了,会有更多人了解到AI到魅力。 </p>]]></content>
    
    
    <summary type="html">关于通宵、睡眠和技术探索的日记</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>2月7日记</title>
    <link href="https://www.laogou717.com/2024/02/07/note/2024/2024-02-07/"/>
    <id>https://www.laogou717.com/2024/02/07/note/2024/2024-02-07/</id>
    <published>2024-02-07T04:09:35.485Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><h3 id="记录"><a href="#记录" class="headerlink" title="记录"></a>记录</h3><p>距离年假终于近在眼前了，我昨晚几乎是一夜没睡，先是刷了会抖音看了三季的《地狱厨房》。越看越上头，后边又想着做做 OneAPI 的部署教程，但是很困很懒，就没有去测试它。</p><p>我想着反正已经很晚了就干脆不睡了，点杯咖啡到明天晚上早点休息就好了。<br>然后我发现美团上点咖啡需要两杯起，而且因为春节期间，还要额外增加配送费。<br>最终就是原价二十的咖啡，我用了五块的无门槛优惠券后，最终实付款 35 元人民币。</p><h3 id="碎碎念"><a href="#碎碎念" class="headerlink" title="碎碎念"></a>碎碎念</h3><p>我应该做个时刻在思考的人，而不是整天跟人辩论掰扯的人。<br>这一点上我今天做的不够好，我在尝试把我对于事情的理解强加于别人身上，努力说服别人认同我的想法。<br>这样不好，每个人都应该有他自己的观点，不论对错 他都应该有表达自己观点的权利。<br>至于对错，不应该由我来评判。</p><p>马上就有七天年假了，得好好想想还要不要尝试学习新技能…</p><ul><li>比如学学 Python</li><li>或者再深入一下 AE</li></ul><p>再不济也应该找本哲学书籍来啃一下，很久不读书文字都变的生硬了。<br>不能老是想着做那个破视频，永远不能让自己满意，那么我凭什么指望看我视频的人会满意呢。</p><p>而且最近也太浮躁了，根本静不下心来。调整、调整 !</p><hr><p>想起来了之前看的 <strong>斯蒂芬·盖斯</strong> 写的一本书《微习惯：简单到不可能失败的自我管理法则》,当时给我带来的改变非常大,要不就先从它开始吧。 </p>]]></content>
    
    
    <summary type="html">关于失眠、咖啡和思考的日记</summary>
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>24年最佳国内Newbing镜像!秒过验证!</title>
    <link href="https://www.laogou717.com/2024/02/06/AI%20era/bing/newbing/"/>
    <id>https://www.laogou717.com/2024/02/06/AI%20era/bing/newbing/</id>
    <published>2024-02-06T10:55:44.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>  2024 年重大更新 100% 免登陆 自动过验证 国内可用  支持 Openai API 格式调用。<br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/1-14/1.gif" alt="功能演示"></p><h2 id="✍️作者的开源项目"><a href="#✍️作者的开源项目" class="headerlink" title="✍️作者的开源项目"></a>✍️作者的开源项目</h2><p><a href="https://github.com/Harry-zklcdc/go-proxy-bingai#%E6%95%99%E7%A8%8B%E5%8D%81%E5%88%86%E9%87%8D%E8%A6%81">https://github.com/Harry-zklcdc/go-proxy-bingai#教程十分重要</a> </p><div class="terminal-loader" style="border: 0.1em solid #333; background-color: #1a1a1a; color: #0f0; font-family: 'Courier New', Courier, monospace; font-size: 1em; padding: 1.5em; width: 20em; margin: 100px auto; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border-radius: 4px; position: relative; overflow: hidden; box-sizing: border-box;">  <!-- ... other elements ... -->  <div class="text" style="display: inline-block; white-space: nowrap; overflow: hidden; border-right: 0.2em solid green; animation: typeAndDelete 4s steps(30) infinite, blinkCursor 0.5s step-end infinite alternate; margin-top: 1.5em; max-width: 100%;">正在努力更新中...敬请期待...</div></div><style>@keyframes blinkCursor {  50% {    border-right-color: transparent;  }}@keyframes typeAndDelete {  0%,  10% {    width: 0;  }  45%,  55% {    width: 100%;  }  90%,  100% {    width: 0;  }}</style><h2 id="不想部署直接用下面的演示站点"><a href="#不想部署直接用下面的演示站点" class="headerlink" title="不想部署直接用下面的演示站点"></a>不想部署直接用下面的演示站点</h2><p>1.<a href="https://laogou-go-proxy-bingai.hf.space/">https://laogou-go-proxy-bingai.hf.space</a></p><p>2.<a href="https://xx1.laogou666.com/">https://xx1.laogou666.com/</a></p><p>3.<a href="https://harry-zklcdc-go-proxy-bingai.hf.space/">https://harry-zklcdc-go-proxy-bingai.hf.space</a></p><p>4.<a href="https://dongsiqie-bing.hf.space/">https://dongsiqie-bing.hf.space</a></p><p>5.<a href="https://dongsiqie-bingai.hf.space/">https://dongsiqie-bingai.hf.space</a></p><p>6.<a href="https://bingai.zklcdc.xyz/">https://bingai.zklcdc.xyz/</a></p><h3 id="自己挑选你想要使用的平台部署这个项目"><a href="#自己挑选你想要使用的平台部署这个项目" class="headerlink" title="自己挑选你想要使用的平台部署这个项目"></a>自己挑选<span style="text-decoration: underline wavy green;">你想要使用的平台</span>部署这个项目</h3><ul><li><p>抱脸部署：<a href="https://huggingface.co/spaces/Harry-zklcdc/go-proxy-bingai?duplicate=true&visibility=public">https://huggingface.co/spaces/Harry-zklcdc/go-proxy-bingai?duplicate=true&amp;visibility=public</a></p></li><li><p>抱脸部署验证服务：<a href="https://huggingface.co/spaces/zklcdc/pass?duplicate=true&visibility=public">https://huggingface.co/spaces/zklcdc/pass?duplicate=true&amp;visibility=public</a></p></li><li><p>在 Replit 部署：<a href="https://replit.com/@sanwuchengqun/Go-Proxy-BingAi?v=1">https://replit.com/@sanwuchengqun/Go-Proxy-BingAi?v=1</a></p></li><li><p>Vercel 部署：<a href="https://vercel.com/new/clone?repository-url=https://github.com/Harry-zklcdc/go-proxy-bingai">https://vercel.com/new/clone?repository-url=https://github.com/Harry-zklcdc/go-proxy-bingai</a></p><ul><li>BYPASS_SERVER &#x3D;验证服务地址</li><li>USER_KievRPSSecAuth&#x3D;在 bing 官网控制台获取</li></ul></li><li><p>Zeabur 部署：<a href="https://zeabur.com/zh-CN">https://zeabur.com/zh-CN</a></p></li></ul><h3 id="获取-Newbing-登陆-Cookie-脚本复制"><a href="#获取-Newbing-登陆-Cookie-脚本复制" class="headerlink" title="获取 Newbing 登陆 Cookie 脚本复制"></a><strong>获取 Newbing 登陆 Cookie 脚本复制</strong></h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">javascript: (function() &#123;var value = document.cookie.split(&#x27;; &#x27;).</span><br><span class="line">find(row =&gt; row.startsWith(&#x27;_U=&#x27;)).split(&#x27;=&#x27;)[1];prompt</span><br><span class="line">(&#x27;Copy to clipboard: Ctrl+C, Enter&#x27;, value);&#125;)();</span><br></pre></td></tr></table></figure><h3 id="演示站点："><a href="#演示站点：" class="headerlink" title="演示站点："></a>演示站点：</h3><ul><li><a href="https://bingai.zklcdc.xyz/">https://bingai.zklcdc.xyz</a></li></ul><h3 id="制作自己的代理"><a href="#制作自己的代理" class="headerlink" title="制作自己的代理"></a>制作自己的代理</h3><ul><li><p>首先进入<span style="color: #3491f9; "><a href="https://dash.cloudflare.com/">Cloudflare 首页</a></span>点击左侧的<strong>Workers&amp;pages</strong><br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/Desktop/58456.png" alt="Cloudflare 首页"></p></li><li><p>然后创建应用<br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115060824815.png" alt="workers 页面"></p></li><li><p>创建 workers<br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115061143596.png" alt="确认创建页面"></p></li><li><p>输入一个名字，然后点击<span style="color: #3491f9; ">蓝色</span>按钮创建</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115061615200.png"></p><ul><li>点击编辑代码开始操作<br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115062044603-20240115103949217.png"></li></ul></li><li><p>进入编辑页面后左侧点击页面图标，然后新建  <code>bjs.js</code> 和 <code>index.html</code>文件，并把下面对应的<span style="color: #3d9983; ">代码复制粘贴</span>进对应的地方<br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115062455367.png"><br><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115062607520.png"></p></li><li><p><span style="color: #ff8332; ">bjs.js 代码</span></p></li></ul><p>地址：<a href="https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/bjs.js">https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/bjs.js</a></p><p><del>- <span style="color: #ff8332; ">index.html 代码</span></del></p><p><del>地址：<a href="https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/index.html">https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/index.html</a></del></p><p>作者说可以不用加<span style="text-decoration: underline wavy red;">index.html,</span>worker.js 会自动解析，所以请略过这一步</p><ul><li>不要忘记把下面的替换掉原本的<span style="color: #ff8332; ">worker.js 代码</span>都完成后点击右上角的按钮 <strong>保存并部署</strong></li></ul><p>地址：<a href="https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/worker.js">https://github.com/Harry-zklcdc/go-proxy-bingai/blob/master/cloudflare/worker.js</a></p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115072526716.png" alt="保存并部署"></p><ul><li>最后返回创建的应用，点击<strong>触发器</strong>添加一个域名并做好 DNS 解析，点击 添加域名</li></ul><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/abnerworks.Typora/image-20240115081709448.png" alt="绑定域名"></p><p>更详细的内容可以 <a href="https://www.bilibili.com/video/BV1gK4y1c749/?spm_id_from=333.999.0.0">点击这里</a>观看我的视频</p><p>如果是为了给 Vercel 做本站支持请添加路由，这段没写呢，去翻之前视频吧…</p><h2 id="📎-参考文章"><a href="#📎-参考文章" class="headerlink" title="📎 参考文章"></a>📎 参考文章</h2><ul><li><a href="https://github.com/Harry-zklcdc/go-proxy-bingai">Harry-zklcdc 开源网站</a>.</li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;&gt;&lt;/a&gt;前言&lt;/h2&gt;&lt;p&gt;  2024 年重大更新 100% 免登陆 自动过验证 国内可用  支持 Openai API 格式调用。&lt;br&gt;&lt;img src=&quot;htt</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="Newbing镜像" scheme="https://www.laogou717.com/tags/Newbing%E9%95%9C%E5%83%8F/"/>
    
    <category term="Newbing" scheme="https://www.laogou717.com/tags/Newbing/"/>
    
  </entry>
  
  <entry>
    <title>2月6日记</title>
    <link href="https://www.laogou717.com/2024/02/06/note/2024/2024-02-06/"/>
    <id>https://www.laogou717.com/2024/02/06/note/2024/2024-02-06/</id>
    <published>2024-02-06T04:31:59.657Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p><strong>上次记的日记还停留在 二月份，</strong><br><strong>这中间发生了什么我全都记不起来了，就记得我当时刚买了一个新的笔记本，当晚就写了一篇三千字的’作文’。</strong><br><strong>其实也没什么内容要记，主要还是回顾一下当天发生的事情，再稍微反省一下自己。</strong></p></blockquote><h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>今天总体还是不错的，因为昨晚三点多才睡，所以早上在被窝里请了半天假下午才去公司上班。这样就导致我这月的假期只剩下了一天半，而年假还需要上两天后才能获得一周的休息时间。本来去年计划着等年终奖发了给我爸换台新手机，可是没想到今年过年了还是没有实现。</p><p>现在的想法很不好，太负面了。但是很熟悉的感觉，大概只要我一个人呆着就会回到这种状态吧。昨天女朋友回老家了，我们在一块两年多了应该，我不知道现在是什么状态。感情像太阳一样，会慢慢的落下去，很纠结拧巴的情绪，好在太阳不管落下多少次，总会在第二天升起来。</p><p>我自觉自己有性格缺陷，没法像旁人一样从容的走向亲密关系。两年时间里我们俩一起出去玩的次数屈指可数，绝大多数原因来自我，我和女朋友一起出去时总是很不自在，后来我女朋友看出了我的状态。她虽没有明说，但自那以后她没有再期望和我一起去什么地方，出去玩也都是跟她朋友一起，而我呢还是一样一个人在呆家里。这感觉就像是：你喜欢一个人呆着是吧，那你就一直呆着吧。</p><p>也是因为我们不长出去玩，即使在一起了两年多感觉也不如别人一个月。如果说现在要我俩结婚的话，我想我们都会异口同声的说：还不是时候…</p><p>共同经历的事情很少，每天就是财米油盐。</p>]]></content>
    
    
      
      
    <summary type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;上次记的日记还停留在 二月份，&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;这中间发生了什么我全都记不起来了，就记得我当时刚买了一个新的笔记本，当晚就写了一篇三千字的’作文’。&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;其实也没什么内容要</summary>
      
    
    
    
    <category term="随记" scheme="https://www.laogou717.com/categories/%E9%9A%8F%E8%AE%B0/"/>
    
    
  </entry>
  
  <entry>
    <title>国内怎么部署go-proxy-bingai项目</title>
    <link href="https://www.laogou717.com/2024/02/05/AI%20era/bing/Vercel/"/>
    <id>https://www.laogou717.com/2024/02/05/AI%20era/bing/Vercel/</id>
    <published>2024-02-05T06:27:38.087Z</published>
    <updated>2024-02-11T23:40:58.624Z</updated>
    
    <content type="html"><![CDATA[<h2 id="Vercel-部署"><a href="#Vercel-部署" class="headerlink" title="Vercel 部署"></a>Vercel 部署</h2><ul><li>文档作者：<a href="https://github.com/Harry-zklcdc/go-proxy-bingai">Harry-zklcdc</a></li></ul><blockquote><p>在正式进行 Vercel 部署之前请先完成「<a href="https://github.com/Harry-zklcdc/go-proxy-bingai/wiki/Cloudflare-Worker-%E9%83%A8%E7%BD%B2">Cloudflare Worker 部署</a>」, 并确保域名绑定至 Cloudflare<br>Cloudflare Worker 部署方式无法使用 <a href="https://github.com/Harry-zklcdc/go-proxy-bingai/wiki/BingAPI">BingAPI</a></p></blockquote><h2 id="1-注册账号"><a href="#1-注册账号" class="headerlink" title="1. 注册账号"></a>1. 注册账号</h2><blockquote><p>如果你已经注册账号了，可以跳过此步骤，进入下一步骤</p></blockquote><p>进入 <a href="https://vercel.com/">Vercel 官网</a>, 点击右上角的「Sign Up」按钮开始注册</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130133646673.png"></p><p>点击「Hobby」, 并填入你的用户名，然后点击「Continue」</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130133933476.png"></p><p>点击「Continue with Github」, 登录并绑定你的 Github 账号</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130134004519.png"></p><p>进入此页面，代表注册完成 🎉！</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130134401223.png"></p><h2 id="2-部署项目"><a href="#2-部署项目" class="headerlink" title="2. 部署项目"></a>2. 部署项目</h2><p>进入 Github <a href="https://github.com/Harry-zklcdc/go-proxy-bingai">项目地址</a>, 点击「Fork 按钮」</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130135009512.png"></p><p>然后点击「Create fork」按钮</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130135046269.png"></p><p>等待 fork 完成后，回到 Vercel, 找到刚才 fork 的项目，点击「Import」按钮</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130135340560.png"></p><p>在「Environment Variables」中填入<code>BYPASS_SERVER</code>, 即「人机验证服务地址」, 比如</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://zklcdc-pass.hf.space</span><br></pre></td></tr></table></figure><p>效果如下，然后点击「Add」按钮</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130140046871.png"></p><p>然后再点击「Deploy」按钮，等待部署完成，在此期间可以先完成接下来的操作</p><h2 id="3-绑定域名"><a href="#3-绑定域名" class="headerlink" title="3. 绑定域名"></a>3. 绑定域名</h2><div class="note info simple no-icon"><p>Vercel 提供的域名在中国大陆地区易遭受 DNS 污染导致无法访问，建议绑定域名</p></div><p>进入 Vercel 控制台，点击项目右上方三个点，进入「Settings」设置</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130141843620.png"></p><p>然后点击「Domains」, 填入自己的域名，然后点击「Add」</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130142142471.png"></p><p>然后到 Cloudflare 控制台中添加对应的域名解析，一共两次，一次是 TXT 解析，一次是 CNAME 解析</p><p>（具体添加解析方法请出门右拐隔壁百度 or Google）</p><div class="note info simple no-icon"><p>添加解析时，请把 Cloudflare 代理打开，如下图所示</p></div><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130143004623.png"></p><h2 id="4-修改-Cloudflare-Worker-路由"><a href="#4-修改-Cloudflare-Worker-路由" class="headerlink" title="4. 修改 Cloudflare Worker 路由"></a>4. 修改 Cloudflare Worker 路由</h2><p>进入 Cloudflare Worker 控制台, 点击「触发器」, 然后点击「添加路由」</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/%E4%BF%AE%E6%94%B9%E8%B7%AF%E7%94%B11.png"></p><p>然后在路由中添加<code>刚才绑定的域名 + /sydney/*</code> 和 <code>刚才绑定的域名 + /designer/rtc/*</code>, 比如：</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">bingai-demo.zklcdc.xyz/sydney/*</span><br><span class="line">bingai-demo.zklcdc.xyz/designer/rtc/*</span><br></pre></td></tr></table></figure><p>然后区域选择你的域名, 最后点击「添加路由」</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/%E4%BF%AE%E6%94%B9%E8%B7%AF%E7%94%B12.png"></p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG@main/LAOGOU/%E4%BF%AE%E6%94%B9%E8%B7%AF%E7%94%B13.png"></p><p>等待 Vercel 部署完成, 即可使用绑定的域名访问</p><h2 id="5-后续升级"><a href="#5-后续升级" class="headerlink" title="5. 后续升级"></a>5. 后续升级</h2><p>在 Fork 的项目地址中，点击「Sync Fork」, 等待 Vercel 自动部署完成后即可</p><p><img src="https://cdn.jsdelivr.net/gh/laogou717/IMG/LAOGOU/image-20240130144302921.png"></p>]]></content>
    
    
      
      
    <summary type="html">&lt;h2 id=&quot;Vercel-部署&quot;&gt;&lt;a href=&quot;#Vercel-部署&quot; class=&quot;headerlink&quot; title=&quot;Vercel 部署&quot;&gt;&lt;/a&gt;Vercel 部署&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;文档作者：&lt;a href=&quot;https://github.com/Har</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="Newbing镜像" scheme="https://www.laogou717.com/tags/Newbing%E9%95%9C%E5%83%8F/"/>
    
    <category term="Newbing" scheme="https://www.laogou717.com/tags/Newbing/"/>
    
  </entry>
  
  <entry>
    <title>Open-Interpreter部署教程]五分钟部署一个自己的桌面贾维斯!!!</title>
    <link href="https://www.laogou717.com/2024/01/13/AI%20era/Github/Open-Interpreter/"/>
    <id>https://www.laogou717.com/2024/01/13/AI%20era/Github/Open-Interpreter/</id>
    <published>2024-01-13T00:47:26.563Z</published>
    <updated>2024-10-01T16:00:00.000Z</updated>
    
    <content type="html"><![CDATA[<aside>⌨️ 这是一个开源再Github上的开源项目，对标Openai官方的代码解释器（高级数据分析）。</aside><blockquote><p>视频演示</p></blockquote><p><a href="https://user-images.githubusercontent.com/63927363/264166941-37152071-680d-4423-9af3-64836a6f7b60.mp4">官网视频</a></p><h1 id="工具地址"><a href="#工具地址" class="headerlink" title="工具地址"></a>工具地址</h1><blockquote><p>B站视频教程,过审后会显示在这里</p></blockquote><p><a href="https://player.bilibili.com/player.html?aid=920030181&bvid=BV1su4y1n7v4&cid=1311192101&p=1">部署演示视频</a></p><blockquote><p>Open-Interpreter 项目地址</p></blockquote><p><a href="https://github.com/KillianLucas/open-interpreter">GitHub - KillianLucas&#x2F;open-interpreter: OpenAI’s Code Interpreter in your terminal, running locally</a></p><blockquote><p>官方文档解锁更多玩法</p></blockquote><p><a href="https://docs.openinterpreter.com/">Introduction - Open Interpreter</a></p><blockquote><p>环境配置</p></blockquote><ul><li><p>配置Key</p><blockquote><p>这里以nova chat 举例</p></blockquote>  <figure class="highlight jsx"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="variable constant_">OPENAI_API_KEY</span>  你的key</span><br></pre></td></tr></table></figure>  <figure class="highlight jsx"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="variable constant_">OPENAI_API_BASE</span>   <span class="attr">https</span>:<span class="comment">//api.nova-oss.com/v1/chat/completions</span></span><br></pre></td></tr></table></figure></li><li><p>Python官网，你可以挑选想要安装的版本</p></li></ul><p><a href="https://www.python.org/">Welcome to Python.org</a></p><ul><li><p>视频演示的版本 3.11.6</p></li><li><p>Windows系统</p><p>  <a href="https://www.python.org/ftp/python/3.11.6/python-3.11.6-amd64.exe"></a></p></li><li><p>MacOS系统</p><p>  <a href="https://www.python.org/ftp/python/3.11.6/python-3.11.6-macos11.pkg"></a></p></li></ul><h1 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h1><blockquote><p>安装依赖</p></blockquote><p>pip install open-interpreter</p><blockquote><p>运行代码</p></blockquote><ul><li><p>正常运行</p><p>  interpreter</p></li><li><p>无需确认</p><p>  interpreter -y</p></li></ul><h1 id="📎-参考文章"><a href="#📎-参考文章" class="headerlink" title="📎 参考文章"></a>📎 参考文章</h1><a class="tag-link" href="https://github.com/KillianLucas/open-interpreter" target="_blank">    <div class="tag-link-tips">引用站外链接</div>    <div class="tag-link-bottom">        <div class="tag-link-left">          <i class="solitude fas fa-link"></i>        </div>        <div class="tag-link-right">            <div class="tag-link-title">KillianLucas/open-interpreter</div>            <div class="tag-link-sitename">[The open-interpreter](https://openinterpreter.com/)</div>        </div>        <i class="solitude fas fa-chevron-right"></i>    </div></a><aside>💡 有关安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~如果觉得文章还不错可以[**点击这里**](https://www.laogou666.com/donate)给请博主喝杯饮料🥤</aside>]]></content>
    
    
      
      
    <summary type="html">&lt;aside&gt;
⌨️ 这是一个开源再Github上的开源项目，对标Openai官方的代码解释器（高级数据分析）。

&lt;/aside&gt;

&lt;blockquote&gt;
&lt;p&gt;视频演示&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://user-images.g</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="部署" scheme="https://www.laogou717.com/tags/%E9%83%A8%E7%BD%B2/"/>
    
    <category term="开源项目" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
    <category term="桌面贾维斯" scheme="https://www.laogou717.com/tags/%E6%A1%8C%E9%9D%A2%E8%B4%BE%E7%BB%B4%E6%96%AF/"/>
    
    <category term="开放代码解释器" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%94%BE%E4%BB%A3%E7%A0%81%E8%A7%A3%E9%87%8A%E5%99%A8/"/>
    
    <category term="Open-Interpreter" scheme="https://www.laogou717.com/tags/Open-Interpreter/"/>
    
  </entry>
  
  <entry>
    <title>逆天网友!我早晚被笑死!用AI让郭德纲用英文讲相声!</title>
    <link href="https://www.laogou717.com/2023/10/27/AI%20era/amaze/Heygen/"/>
    <id>https://www.laogou717.com/2023/10/27/AI%20era/amaze/Heygen/</id>
    <published>2023-10-27T00:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<blockquote><p>🤯不得不说这届网友一个比一个抽象,今天我们来看看赛博德纲郭老师。HeyGen是一个能够快速从文本生成视频的平台，通过使用AI生成的头像和声音，无需摄像机或摄制组即可创建视频。</p></blockquote></aside><h1 id="HeyGen"><a href="#HeyGen" class="headerlink" title="HeyGen"></a>HeyGen</h1><a class="tag-link" href="https://app.heygen.com/guest/templates?cid=ee688d84/" target="_blank">    <div class="tag-link-tips">引用站外链接</div>    <div class="tag-link-bottom">        <div class="tag-link-left">          <i class="solitude fas fa-link"></i>        </div>        <div class="tag-link-right">            <div class="tag-link-title">HeyGen</div>            <div class="tag-link-sitename">官网链接</div>        </div>        <i class="solitude fas fa-chevron-right"></i>    </div></a><h1 id="Rask"><a href="#Rask" class="headerlink" title="Rask"></a>Rask</h1><a class="tag-link" href="https://app.rask.ai/" target="_blank">    <div class="tag-link-tips">引用站外链接</div>    <div class="tag-link-bottom">        <div class="tag-link-left">          <i class="solitude fas fa-link"></i>        </div>        <div class="tag-link-right">            <div class="tag-link-title">Rask官网</div>            <div class="tag-link-sitename">官网链接 支持上传字幕复制翻译</div>        </div>        <i class="solitude fas fa-chevron-right"></i>    </div></a><h1 id="视频演示"><a href="#视频演示" class="headerlink" title="视频演示"></a>视频演示</h1><blockquote><p>你可以观看视频来查看这期内容</p><iframe src="//player.bilibili.com/player.html?aid=226886152&bvid=BV1Ch41137tR&cid=1081639816&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe></blockquote><aside>💡 有关安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~如果觉得文章还不错可以请博主喝杯饮料🥤</aside>]]></content>
    
    
      
      
    <summary type="html">&lt;blockquote&gt;
&lt;p&gt;🤯不得不说这届网友一个比一个抽象,今天我们来看看赛博德纲郭老师。HeyGen是一个能够快速从文本生成视频的平台，通过使用AI生成的头像和声音，无需摄像机或摄制组即可创建视频。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/aside&gt;

&lt;h1 id=</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="AI" scheme="https://www.laogou717.com/tags/AI/"/>
    
    <category term="Heygen" scheme="https://www.laogou717.com/tags/Heygen/"/>
    
  </entry>
  
  <entry>
    <title>Lobe Chat：开源、高性能的聊天机器人框架</title>
    <link href="https://www.laogou717.com/2023/10/26/AI%20era/mirror/LobeChat/"/>
    <id>https://www.laogou717.com/2023/10/26/AI%20era/mirror/LobeChat/</id>
    <published>2023-10-26T00:00:00.000Z</published>
    <updated>2026-01-22T23:24:30.808Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.laogou717.com/file/0d23a91ad3c5cff53b436.png" alt="lobe.png"></p><h1 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h1><aside><img src="https://img.laogou717.com/file/5a18ff550bb373be2540b.png" alt="https://img.laogou717.com/file/5a18ff550bb373be2540b.png" width="40px" /> LobeChat 是一个开源的、高性能的聊天机器人框架，为开发者提供了强大的工具和功能，以便快速且有效地创建和部署聊天机器人。这个框架支持一键免费部署私人 ChatGPT/LLM 网页应用程序，为开发者带来前所未有的便捷。</aside><p><img src="https://img.laogou717.com/file/cbebb96ad6102fa9e0c66.png"></p><h1 id="核心功能"><a href="#核心功能" class="headerlink" title="核心功能"></a>核心功能</h1><ul><li><strong>快速部署</strong>：支持使用 Vercel 平台一键部署。</li><li><strong>精致 UI 设计</strong>：具有优雅的外观和流畅的交互效果，支持亮暗色主题。</li><li><strong>流畅的对话体验</strong>：支持流式响应和完整的 Markdown 渲染。</li><li><strong>插件支持</strong>：可安装和使用各种插件，同时支持自定义插件开发。</li><li><strong>隐私安全</strong>：所有数据保存在用户浏览器本地。</li><li><strong>自定义助手角色</strong>：允许创建和分享个性化的对话助手角色。</li><li><strong>角色市场</strong>：提供角色市场，丰富对话内容和风格。</li></ul><h1 id="用户体验"><a href="#用户体验" class="headerlink" title="用户体验"></a>用户体验</h1><p>LobeChat 为用户提供了一系列独特的功能，包括：</p><ul><li><strong>主题模式选择</strong>：提供明亮模式和暗黑模式，以及丰富的颜色定制选项。</li><li><strong>移动设备适配</strong>：针对移动设备进行了优化，支持渐进式 Web 应用（PWA）技术。</li></ul><p><img src="https://img.laogou717.com/file/11097c2d930ebfd775386.png"></p><h1 id="项目地址"><a href="#项目地址" class="headerlink" title="项目地址"></a>项目地址</h1><blockquote><p>官网地址和开源地址</p></blockquote><p><a href="https://chat-preview.lobehub.com/welcome#session=inbox">LobeChat</a></p><p><a href="https://github.com/lobehub/lobe-chat">Lobe Chat - 一个开源、现代设计的法学硕士&#x2F;人工智能聊天框架。支持多AI提供商（OpenAI &#x2F; Claude 3 &#x2F; Gemini &#x2F; Perplexity &#x2F; Bedrock &#x2F; Azure &#x2F; Mistral &#x2F; Ollama），多模态（Vision &#x2F; TTS）和插件系统。一键免费部署您的私人 ChatGPT 聊天应用程序。</a></p><h1 id="项目部署与环境变量"><a href="#项目部署与环境变量" class="headerlink" title="项目部署与环境变量"></a>项目部署与环境变量</h1><h2 id="部署项目"><a href="#部署项目" class="headerlink" title="部署项目"></a>部署项目</h2><ul><li><strong>Vercel 部署</strong>：简单几步即可在 Vercel 上部署服务。[中国大陆的免费域名污染严重,需要绑定域名]</li></ul><p><a href="https://vercel.com/new/clone?repository-url=https://github.com/lobehub/lobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.&envLink=https://platform.openai.com/account/api-keys&project-name=lobe-chat&repository-name=lobe-chat">点击在Vercel部署</a></p><ul><li><p><strong>Zeabur 部署</strong>：方便在私有设备上部署服务。但目前zeabur正在更新，会报错[中国大陆免费域名可用,无需购买域名也可以直连]</p><p>  需在变量里设置<code>EXPERIMENTAL_SERVERLESS=1</code></p><p>  <a href="https://zeabur.com/zh-CN">点击在Zeabur部署</a></p>  <figure class="highlight jsx"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="variable constant_">OPENAI_API_KEY</span>=你的key</span><br><span class="line"><span class="variable constant_">OPENAI_PROXY_URL</span>=端点如果是官方的api可以不去填写</span><br><span class="line"><span class="variable constant_">ACCESS_CODE</span>=访问密码,如果你在变量里设置key,未来你账号的安全必须填写密码,<span class="number">6</span>位</span><br></pre></td></tr></table></figure></li></ul><h2 id="环境变量"><a href="#环境变量" class="headerlink" title="环境变量"></a>环境变量</h2><p>本项目提供了一些额外的配置项，使用环境变量进行设置：</p><table><thead><tr><th>环境变量</th><th>类型</th><th>描述</th><th>示例</th></tr></thead><tbody><tr><td>OPENAI_API_KEY</td><td>必选</td><td>在 OpenAI 账户页面申请的 API 密钥</td><td>sk-xxxxxx…xxxxxx</td></tr><tr><td>OPENAI_PROXY_URL</td><td>可选</td><td>如果手动配置了 OpenAI 接口代理，可用此配置项覆盖默认的 OpenAI API 请求基础 URL</td><td>默认值: <a href="https://api.openai.com/v1">https://api.openai.com/v1</a></td></tr><tr><td>ACCESS_CODE</td><td>可选</td><td>访问此服务所需的密码，应为 6 位数字或字母</td><td>awCT74 或 e3@09!</td></tr></tbody></table><h1 id="📎参考链接"><a href="#📎参考链接" class="headerlink" title="📎参考链接"></a>📎参考链接</h1><a class="tag-link" href="https://github.com/lobehub/lobe-chat" target="_blank">    <div class="tag-link-tips">引用站外链接</div>    <div class="tag-link-bottom">        <div class="tag-link-left">          <i class="solitude fas fa-link"></i>        </div>        <div class="tag-link-right">            <div class="tag-link-title">项目主页</div>            <div class="tag-link-sitename">[官方文档](https://github.com/lobehub/lobe-chat/wiki)</div>        </div>        <i class="solitude fas fa-chevron-right"></i>    </div></a><ul><li><a href="https://github.com/lobehub/lobe-chat/issues">提交问题</a></li></ul><aside>💡 有关安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~如果觉得文章还不错可以请博主喝杯饮料🥤</aside>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://img.laogou717.com/file/0d23a91ad3c5cff53b436.png&quot; alt=&quot;lobe.png&quot;&gt;&lt;/p&gt;
&lt;h1 id=&quot;简介&quot;&gt;&lt;a href=&quot;#简介&quot; class=&quot;headerlink&quot; titl</summary>
      
    
    
    
    <category term="AI纪元" scheme="https://www.laogou717.com/categories/AI%E7%BA%AA%E5%85%83/"/>
    
    
    <category term="开源项目" scheme="https://www.laogou717.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
    <category term="LobeChat" scheme="https://www.laogou717.com/tags/LobeChat/"/>
    
    <category term="WebUI" scheme="https://www.laogou717.com/tags/WebUI/"/>
    
  </entry>
  
  <entry>
    <title>任意地区打卡钉钉蓝牙打卡时序漏洞分析</title>
    <link href="https://www.laogou717.com/2023/03/26/AI%20era/TBug/dingtalk/"/>
    <id>https://www.laogou717.com/2023/03/26/AI%20era/TBug/dingtalk/</id>
    <published>2023-03-26T10:55:44.000Z</published>
    <updated>2026-01-22T23:24:30.804Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://gw.alicdn.com/imgextra/i4/O1CN013OYoqp1foK6tig7lJ_!!6000000004053-2-tps-864-168.png"></p><blockquote><p>在钉钉的蓝牙打卡系统中，管理员通常设定一个特定的打卡范围，用户只能在这个范围内打卡。然而，最近发现了一个可能的漏洞：实际的打卡位置并非在用户点击打卡那一刻被确定，而是在之前的某个时刻。这一发现通过两个实际场景得到验证：一是用户在离开办公区域后，在非打卡范围内成功打卡；二是在打卡失败后，用户在离开打卡机的路上重新尝试并成功打卡。这表明钉钉的打卡位置抓取逻辑可能存在时序问题，允许用户在非规定区域打卡成功。</p></blockquote><h2 id="钉钉蓝牙打卡-Bug-分析"><a href="#钉钉蓝牙打卡-Bug-分析" class="headerlink" title="钉钉蓝牙打卡 Bug 分析"></a>钉钉蓝牙打卡 Bug 分析</h2><h4 id="正常情况下的打卡流程："><a href="#正常情况下的打卡流程：" class="headerlink" title="正常情况下的打卡流程："></a>正常情况下的打卡流程：</h4><ul><li>管理员设置特定的打卡范围。</li><li>用户必须在该范围内才能成功打卡。</li></ul><h4 id="发现的问题："><a href="#发现的问题：" class="headerlink" title="发现的问题："></a>发现的问题：</h4><ul><li><strong>钉钉打卡位置抓取逻辑异常</strong>：实际打卡位置不是在用户点击打卡的那一刻确定的。</li></ul><h4 id="场景还原："><a href="#场景还原：" class="headerlink" title="场景还原："></a>场景还原：</h4><ol><li><p><strong>下班场景：</strong></p><ul><li>时间：下午六点半，下班。</li><li>操作：<ul><li>关闭电脑，离开办公区域。</li><li>到达楼梯口附近时打开钉钉，出现打卡提醒弹窗，但未立即打卡。</li><li>继续走到楼下小区附近，此时点击之前的打卡提醒弹窗。</li></ul></li><li>结果：<strong>打卡成功</strong>。<ul><li>注意：此时的位置已经不在打卡范围内。</li><li>对照实验：同事在相同位置尝试手动打卡，无法连接到考勤机。</li></ul></li></ul></li><li><p><strong>再次尝试打卡：</strong></p><ul><li>操作：<ul><li>来到打卡机前，再次尝试打卡。</li><li>人脸识别阶段故意未露脸，导致打卡失败，但产生了打卡失败的弹窗。</li><li>未关闭弹窗，继续走到路口。</li><li>在路口点击弹窗上的“重试”按钮。</li></ul></li><li>结果：<strong>打卡成功</strong>。<ul><li>位置已不在规定的打卡范围内。</li></ul></li></ul></li></ol><h4 id="总结："><a href="#总结：" class="headerlink" title="总结："></a>总结：</h4><ul><li>钉钉的蓝牙打卡功能可能存在位置信息抓取时机的 Bug，导致实际打卡位置和用户操作时间不同步，从而使得用户在非指定区域也能成功打卡。</li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;p&gt;&lt;img src=&quot;https://gw.alicdn.com/imgextra/i4/O1CN013OYoqp1foK6tig7lJ_!!6000000004053-2-tps-864-168.png&quot;&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;在钉钉的蓝牙打卡系统中，管</summary>
      
    
    
    
    <category term="TBug" scheme="https://www.laogou717.com/categories/TBug/"/>
    
    
  </entry>
  
  <entry>
    <title>老狗自制100+综艺花字包！</title>
    <link href="https://www.laogou717.com/2021/12/23/AI%20era/montage/zyhz/"/>
    <id>https://www.laogou717.com/2021/12/23/AI%20era/montage/zyhz/</id>
    <published>2021-12-23T15:49:20.000Z</published>
    <updated>2025-09-05T22:51:21.642Z</updated>
    
    <content type="html"><![CDATA[<h3 id="获取地址"><a href="#获取地址" class="headerlink" title="获取地址"></a>获取地址</h3><p><a href="https://pan.baidu.com/s/1C0x5SgGXGbEyFMXYni4Nsw?pwd=6666/">点击访问</a></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">链接：https://pan.baidu.com/s/1C0x5SgGXGbEyFMXYni4Nsw?pwd=6666 </span><br><span class="line">提取码：6666 </span><br></pre></td></tr></table></figure><h2 id="引用"><a href="#引用" class="headerlink" title="引用"></a>引用</h2><ul><li><a href="https://www.bilibili.com/video/BV1484y1y7jk/?spm_id_from=333.999.0.0&vd_source=b88a7cc0809f8c12510c0765d39efef7">内容介绍及使用方法</a></li></ul>]]></content>
    
    
      
      
    <summary type="html">&lt;h3 id=&quot;获取地址&quot;&gt;&lt;a href=&quot;#获取地址&quot; class=&quot;headerlink&quot; title=&quot;获取地址&quot;&gt;&lt;/a&gt;获取地址&lt;/h3&gt;&lt;p&gt;&lt;a href=&quot;https://pan.baidu.com/s/1C0x5SgGXGbEyFMXYni4Nsw?pwd=6</summary>
      
    
    
    
    <category term="影视后期" scheme="https://www.laogou717.com/categories/%E5%BD%B1%E8%A7%86%E5%90%8E%E6%9C%9F/"/>
    
    
    <category term="热门" scheme="https://www.laogou717.com/tags/%E7%83%AD%E9%97%A8/"/>
    
    <category term="Pr模板" scheme="https://www.laogou717.com/tags/Pr%E6%A8%A1%E6%9D%BF/"/>
    
    <category term="综艺花字" scheme="https://www.laogou717.com/tags/%E7%BB%BC%E8%89%BA%E8%8A%B1%E5%AD%97/"/>
    
    <category term="自制素材" scheme="https://www.laogou717.com/tags/%E8%87%AA%E5%88%B6%E7%B4%A0%E6%9D%90/"/>
    
  </entry>
  
</feed>
