提示詞不是越花俏越好,而是要讓 Gemini 少一點猜測。Google 的 Imagen 文件以 subject、context/background、style 等要素示範提示詞,也指出較長的 prompt 可以加入更多具體細節。 Gemini 介紹頁同樣建議寫得具體;與其只說「Create an image of a woman in a red dress」,不如描述一名穿紅裙的年輕女子在公園奔跑。
可用這個公式起步:
Create/generate/draw + 主體 + 動作 + 場景 + 風格 + 長寬比(需要時)
| 要素 | 該寫什麼 | 範例 |
|---|---|---|
| 主體 | 畫面焦點是誰或什麼 | 一個拿著紅色滑板的小機器人 |
| 動作 | 主體正在做什麼 | 走在人行道上 |
| 場景 | 地點、時間、氣氛 | 黃昏的城市街頭 |
| 風格 | 攝影、插畫、電影感、極簡、色調 | 寫實街拍、柔和光線、暖色調 |
| 構圖 | 需要的畫幅或長寬比 | 16:9、1:1 |
產品圖
Create an image of a ceramic coffee mug on a light oak table, morning window light, minimal Scandinavian style, 1:1.
海報或縮圖
Generate a cinematic poster of a night market food stall at night, warm lantern light, realistic photography, 16:9.
文章插圖
Draw a clean editorial illustration of a person writing AI prompts on a laptop, soft blue background, modern flat style, 4:3.
需要明確構圖的照片感圖片
Create a wide-angle photo of a small robot holding a red skateboard on a city sidewalk, sunset light, realistic street photography, 16:9.
使用參考圖時,提示詞最好分成兩部分:
範例:
Keep the original product and camera angle, but replace the background with a bright modern kitchen, add soft morning light, and make the image suitable for a square ecommerce listing.
這比只說「變好看一點」更有效,因為 Gemini 比較能判斷哪些元素要留下、哪些要重做。
如果你只是做幾張圖片、測試視覺方向、修圖或產出內容,Gemini Apps 通常就足夠。 如果你要把圖片生成放進網站、應用程式、內部工具或自動化工作流,就應查看 Google 的 Gemini API 與 Imagen 文件。
Google 的 Imagen 文件在 API 脈絡中提供短 prompt、長 prompt,以及 1:1、4:3、16:9、9:16 等長寬比選項示例。 因此,不要假設 API 裡的所有設定都會原封不動出現在 Gemini Apps 介面,反過來也一樣。
先確認你找的是正確入口:Google Help 寫的是 Create image,Gemini 圖片生成介紹頁則寫作 Tools > 🍌Create images。 如果仍然看不到,原因可能與所在地區或語言、使用者年齡、個人帳戶或工作/學校帳戶限制,以及組織管理政策有關。
Comments
0 comments