<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Cref｜林鼎淵 Dean Lin</title>
    <link>https://deanlin.net/tags/cref/</link>
    <image><url>https://deanlin.net/images/author_hu_aa256fc934e9a932.jpg</url><title>Cref｜林鼎淵 Dean Lin</title><link>https://deanlin.net/tags/cref/</link><width>144</width><height>144</height></image>
    <description>林鼎淵（Dean Lin）的部落格：生成式 AI 企業內訓講師、外商資安公司軟體專家、7 本書作者。400 多篇文章用白話分享生成式 AI 實戰、Claude Code 與 Vibe Coding 教學、團隊合作與職場成長。</description>
    <generator>Hugo</generator>
    <language>zh-tw</language>
    <copyright>© 2020–2026 林鼎淵 Dean Lin</copyright>
    <lastBuildDate>Mon, 15 Apr 2024 13:43:30 +0800</lastBuildDate>
    <atom:link href="https://deanlin.net/tags/cref/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>用 Midjourney Character Reference（cref） 解決「角色一致性」問題，讓同個角色可以放入不同場景！</title>
      <link>https://deanlin.net/blog/202404/midjourney-character-reference/</link>
      <pubDate>Mon, 15 Apr 2024 13:43:30 +0800</pubDate>
      <guid>https://deanlin.net/blog/202404/midjourney-character-reference/</guid>
      <dc:creator>林鼎淵</dc:creator>
      <category>AI 實戰</category>
      <description>過去 Midjourney 有個痛點，就是用 AI 生成角色 IP 後，我們無法將他放到不同場景，因為每次生成的角色都長得不一樣。 但 推出「角色一致性」的功能後，你就可以在保留角色特徵的前提下，調整人物的動作、服裝、背景等元素。 也就是說，你可以自由的創造某個角色的故事。</description>
      <media:content url="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-og_hu_8ae2c152ce11b41.jpg" medium="image" type="image/jpeg" width="1200" height="675" />
      <content:encoded><![CDATA[<p>過去 Midjourney 有個痛點，就是用 AI 生成角色 IP 後，我們無法將他放到不同場景，因為每次生成的角色都長得不一樣。</p>
<p>但 Midjourney 推出「角色一致性」的功能後，你就可以在保留角色特徵的前提下，調整人物的動作、服裝、背景等元素。</p>
<p>也就是說，你可以自由的創造某個角色的故事。</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-01.webp" width="1144" height="639" alt="用 Midjourney Character Reference（cref） 解決「角色一致性」問題，讓同個角色可以放入不同場景！（圖 1）" fetchpriority="high" decoding="async"></p>
<h2 id="使用cref來保持角色一致性">使用「<code>&ndash;cref</code>」來保持角色一致性<a class="h-anchor" href="#%e4%bd%bf%e7%94%a8cref%e4%be%86%e4%bf%9d%e6%8c%81%e8%a7%92%e8%89%b2%e4%b8%80%e8%87%b4%e6%80%a7" aria-label="這個段落的連結"></a></h2>
<p><strong>Prompt 結構</strong>：「<code>描述句 &ndash;cref 參考圖片的url</code>」</p>
<p>下圖為參考的圖片：</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-02.webp" width="1024" height="1024" alt="使用「–cref」來保持角色一致性（圖 2）" loading="lazy" decoding="async"></p>
<p>比如我希望將圖片調整成「主角拿著弓箭準備射擊」，Prompt：「<code>The protagonist is holding a bow and arrow and preparing to shoot , botw &ndash;cref 參考圖片的url </code>」這邊我指定了「botw（曠野之息）」的畫風，讓生成的結果更加一致。</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-03.webp" width="818" height="638" alt="使用「–cref」來保持角色一致性（圖 3）" loading="lazy" decoding="async"></p>
<p>從生成的結果來看，主角的五官、髮型、服裝、畫風都有維持一制性。</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-04.webp" width="1024" height="1024" alt="使用「–cref」來保持角色一致性（圖 4）" loading="lazy" decoding="async"></p>
<blockquote>
<p><strong>備註</strong>：如果你想要讓結果混合多個角色的特徵，可以使用這種 Prompt 結構：「<code>描述句 — cref 參考圖片的url1 參考圖片的url2</code>」</p>
</blockquote>
<hr>
<h2 id="透過cw調整參照角色的強度">透過「<code>&ndash;cw</code>」調整參照角色的強度<a class="h-anchor" href="#%e9%80%8f%e9%81%8ecw%e8%aa%bf%e6%95%b4%e5%8f%83%e7%85%a7%e8%a7%92%e8%89%b2%e7%9a%84%e5%bc%b7%e5%ba%a6" aria-label="這個段落的連結"></a></h2>
<p><strong>Prompt 結構</strong>：「<code>描述句 &ndash;cref 參考圖片的 url &ndash;cw 10</code>」</p>
<p><code>&ndash;cw</code> 的範圍在「0 ~ 100」，默認為 100。100 表示完全模仿角色特徵；而 0 則可僅保留角色的五官，通常用於更換角色的服裝、髮型。</p>
<p>下面用「主角坐在王座之上（The protagonist sits on the throne）」示範給大家看：</p>
<ul>
<li>cw 為 100 時，細節幾乎相同。</li>
</ul>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-05.webp" width="694" height="632" alt="透過「–cw」調整參照角色的強度（圖 5）" loading="lazy" decoding="async"></p>
<ul>
<li>cw 為 0 時，部分服裝依情節自動改變了。</li>
</ul>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-06.webp" width="679" height="632" alt="透過「–cw」調整參照角色的強度（圖 6）" loading="lazy" decoding="async"></p>
<hr>
<h2 id="建立四格漫畫">建立四格漫畫<a class="h-anchor" href="#%e5%bb%ba%e7%ab%8b%e5%9b%9b%e6%a0%bc%e6%bc%ab%e7%95%ab" aria-label="這個段落的連結"></a></h2>
<p>最後分享一個建立四格漫畫的 Prompt：「<code>imagine 4 panels with continuous</code>」</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-07.webp" width="694" height="632" alt="建立四格漫畫（圖 7）" loading="lazy" decoding="async"></p>
<p>你可以透過這個 Prompt 創造屬於主角的故事，接下來就是讓自己想像力遨翔的時刻了。</p>
<p><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-08.webp" width="1024" height="1024" alt="建立四格漫畫（圖 8）" loading="lazy" decoding="async"></p>
<a class="linkcard" href="https://deanlin.net/categories/ai/">
  <span class="lc-body">
    <span class="lc-title">AI 實戰</span>
    <span class="lc-desc">實測生成式 AI 工具、Vibe Coding 與自動化流程的第一手心得，把 AI 變成每天都用得上的即戰力。</span>
    <span class="lc-site"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M5 12h14M13 6l6 6-6 6"/></svg>林鼎淵 Dean Lin</span>
  </span>
</a>

<p><strong>想將 AI 導入自己的職場與生活嗎？歡迎<a href="https://www.books.com.tw/products/0011004216">購買筆者出版的新書</a></strong>，幫助您<strong>在 AI 的浪潮中站穩腳步，並在未來的職場競爭中佔據優勢！</strong></p>
<figure class="figure"><img src="https://deanlin.net/blog/202404/midjourney-character-reference/images/midjourney-character-reference-09.webp" width="1400" height="319" alt="林鼎淵著作《ChatGPT 與 AI 繪圖效率大師（新增 Copilot、Gamma、Runway、Suno）》" loading="lazy" decoding="async">
  <figcaption><a href="https://www.books.com.tw/products/0011004216">https://www.books.com.tw/products/0011004216</a></figcaption>
</figure>

]]></content:encoded>
    </item>
  </channel>
</rss>
