如何編寫 Flux 提示詞:自然語言、佈局與文字
Flux 遵循完整句子、空間佈局和引用的文字。學習能獲得最佳結果的提示詞結構、設定和範例。
Black Forest Labs 出品的 Flux,其理解語言的方式與舊型圖像模型截然不同。它使用大型 T5 文字編碼器搭配 CLIP,這意味著它能理解冗長、自然的句子,將物件放置在您描述的位置,並精確地呈現簡短文字。以舊式「關鍵字堆砌」風格撰寫的提示詞會浪費這項能力。本指南將說明如何撰寫能發揮 Flux 優勢的提示詞。
撰寫句子,而非標籤列表
比較:
標籤風格(效果不佳)
woman, cafe, rain, window, coffee, cinematic, 8k, masterpiece, best quality
自然語言(效果良好)
A young woman sits by a rain-streaked café window, holding a cup of coffee
with both hands. Warm light from inside contrasts with the blue evening
street outside. Shot on 35mm film with a shallow depth of field.
Flux 會讀取第二個提示詞中的關係——誰拿著什麼,光線從何而來——並據此構圖。諸如 masterpiece 或 8k 等品質標籤幾乎沒有效果,可以省略。
可靠的結構
- 主體與動作 — 主要事物及其正在做什麼。
- 構圖 — 前景、背景、左/右、攝影機角度。
- 場景與氛圍 — 地點、時間、天氣、情緒。
- 風格或媒介 — 照片、油畫、3D 渲染、扁平插畫。
- 光線與色彩 — 光源、調色板。
- 技術細節(針對照片) — 鏡頭、底片類型、景深。
目標約為 30–80 個字。非常簡短的提示詞會產生通用圖像;非常冗長的提示詞可能會遺漏結尾的細節。
明確描述空間佈局
Flux 擅長遵循位置指令。請善加利用:
In the foreground, a ceramic bowl of ramen on a wooden counter. In the
background, a blurred neon-lit Tokyo street at night. The camera is at
table height, looking slightly up.
諸如 in the foreground(前景中), on the left(左側), behind(後方), above(上方), in the corner(角落) 等詞語,其效果遠比在 Stable Diffusion 1.5 中更為顯著。
呈現文字
Flux 可以在圖像中放入可讀的文字。將確切的文字用引號括起來,並描述其出現的位置和方式:
A vintage enamel shop sign that reads "OPEN LATE" in bold red serif
letters, mounted on a weathered brick wall, soft afternoon light.
提示:
- 保持文字簡短 — 幾個字比一個句子更容易可靠地呈現。
- 描述字體風格:bold sans-serif(粗體無襯線), hand-lettered script(手寫字體), neon tube letters(霓虹燈管字)。
- 如果字母有誤,請在重新撰寫提示詞之前,使用新的種子重新生成。
沒有負面提示詞 — 請描述您想要什麼
標準的 Flux 管線不使用負面提示詞。與其說「no people(沒有人)」,不如描述其正面版本:「an empty beach at dawn(黎明時分的空曠海灘)」。與其說「not blurry(不模糊)」,不如指定「sharp focus, crisp details(清晰對焦,細節銳利)」。
選擇 Flux 模型
- Flux Schnell — 最快,適合草稿和探索。
- Flux Dev — 品質更高,開放權重供非商業使用,受 LoRA 歡迎。
- Flux Pro / 較新版本 — 最佳的提示詞遵循度和細節,透過 API 提供。
- Flux Kontext — 根據文字指令編輯現有圖像(「make it winter(讓它變成冬天)」、「change the jacket to red(把夾克改成紅色)」)。
相同的提示詞風格適用於所有這些模型。
需了解的設定
- 引導強度 (Guidance) — Flux Dev 在較低的引導強度下表現最佳,約 3–4 是常見的預設值。較高的值會增加對比度和飽和度,但可能看起來不自然。
- 步數 (Steps) — Dev 約 20–30 步;Schnell 專為 1–4 步設計。
- 長寬比 (Aspect ratio) — 在撰寫之前選擇;垂直的 9:16 構圖應與寬廣的 16:9 場景以不同方式描述。
範例
攝影
A close-up portrait of an elderly beekeeper in a white veil, smiling as
bees rest on her gloved hand. Late afternoon sun filters through apple
trees behind her. Shot on 85mm, shallow depth of field, natural colors.
插畫
A flat vector illustration of a fox reading a book under a tree, autumn
leaves falling, limited palette of orange, teal and cream, clean lines,
children's book style.
帶文字的海報
A minimalist travel poster for Kyoto showing a red torii gate on a misty
hillside, the word "KYOTO" in large white sans-serif letters across the
top, muted pastel colors, mid-century print texture.
從想法到 Flux 提示詞
Flux 提示詞生成器能將一個簡短的想法擴展成一個針對 Flux 優化的描述性自然語言提示詞。將結果複製到您選擇的 Flux 工具中,或直接發送到圖像生成器。
試用 Flux 提示生成器
適用於 Flux 的描述性自然語言提示. 免費,無需註冊。