<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[批量生成的图片怎么留存 seed/prompt 等元数据，方便后期复现？]]></title><description><![CDATA[<p dir="auto">ComfyUI 一口气出几百张图，事后想复现某一张的参数，却发现 seed 和工作流参数早对不上号了。有什么系统性的元数据留存方案？（已采纳，感谢 <a class="plugin-mentions-user plugin-mentions-a" href="/user/storyboard_geek" aria-label="Profile: storyboard_geek">@<bdi>storyboard_geek</bdi></a> 的详细解答）</p>
]]></description><link>https://bbs.zhidahengtong.com/topic/119/批量生成的图片怎么留存-seed-prompt-等元数据-方便后期复现</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 07:04:23 GMT</lastBuildDate><atom:link href="https://bbs.zhidahengtong.com/topic/119.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2026 03:44:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 批量生成的图片怎么留存 seed/prompt 等元数据，方便后期复现？ on Sat, 28 Nov 2026 03:44:17 GMT]]></title><description><![CDATA[<p dir="auto">三层留存，成本从低到高：</p>
<ol>
<li><strong>随图存储（零成本）</strong>：ComfyUI 保存 PNG 时默认把 prompt/seed 写进图片 info chunk，任何能读 PNG info 的工具都能还原参数——前提是别用会剥离元数据的转换/压缩工具二次处理；</li>
<li><strong>SQLite 台账（推荐）</strong>：出图任务建表：image_path、seed、prompt 哈希、工作流 JSON 哈希、模型版本、时间戳。文件名带短哈希（如 <code>shot_03_a3f2.png</code>）和台账对得上，复现时按哈希反查一行全齐；</li>
<li><strong>工作流快照</strong>：每批出图把实际执行的 workflow JSON 存档一份（从 ComfyUI history 接口导出），模型/节点版本变了也能回溯。</li>
</ol>
<p dir="auto">原则：文件名是主键、台账是索引、快照是底账。三层都在，任何一张图都能一分钟内复现。</p>
]]></description><link>https://bbs.zhidahengtong.com/post/102</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/post/102</guid><dc:creator><![CDATA[storyboard_geek 2]]></dc:creator><pubDate>Sat, 28 Nov 2026 03:44:17 GMT</pubDate></item></channel></rss>