タグ: AI画像出力

ユースケース:Gemini nano banana、トーンの変更。

こちらの続きです。今度は、雰囲気そのものを変えるやり方です。

プロンプトとその生成結果(藤の季節)

利用プロンプト。展開はクリック

Anime / manga style illustration (moe-style, ultra-detailed, glossy finish, cinematic lighting, hyper-detailed texture, high-shine hair strands)
Detail: `huge glossy eyes, small nose, slightly rounded face`
Aspect ratio: 16:9, widescreen

Perspective: Low-angle perspective, viewing character from below, subtle foreshortening to emphasize legs and the foreground objects.
Focus: Upper body, thick thigh emphasis, layered fabrics (pareo/blouse), stationery spread in the immediate foreground, lakeside background (under a wisteria trellis on a wooden deck).

# --------------------
# Variables - Sample Inputs (Integrated & Optimized)
# --------------------
TimeOfDay: late morning (clear sunlight)
Weather: clear blue sky, gentle spring breeze
Season: late spring
Mood: serene, content, scholarly, airy yet elegant, vibrant
Expression: charming smile, lively and happily
GlassesState: Yes (worn)
GlassesStyle: thin rectangular frame
HairBase: black
HairAccent: red blue gradation
HairStyle: pony tail, semi long, strands lifted by gentle breeze
ThighEmphasis: thick, well-rounded upper thighs with prominent volume
HosieryColor: sheer beige 
HosieryPattern: light gray dot pattern, full-leg stocking 
BlouseColor: pearl white
SwimsuitColor: rose red
SwimsuitMotif: lace
RibbonTieColor: elegant pink
PareoColorBase: light purple and cream tartan
ThighStrapColor: leather brown
FootwearColor: low-soled shoes (casual style)
SkinToneDetail: healthy tan face/arms/legs, torso pale
SweatDetail: false (no sweat)
ShoulderExposure: true
NotebookType: thin, stylish laptop (NO ANY IP BRAND, LOGO, TRADEMARK VISIBLE, fancy stickers)
PenType: stylus
StationeryLayout: foldable white low table, a natural jute rug spread 
SideItems: a small glass of iced tea with lemon, a light novel book, wicker basket, smartphone and earphone
ItemPlacement: scattered

# --------------------
# Outfit (Late Spring Lakeside on Deck)
# --------------------
Blouse: sleeveless blouse (color=`BlouseColor`, transparency=`transparent subtle glossy`), vertical seam lines, draped off shoulders (ShoulderExposure=true)
Swimsuit: (color=`SwimsuitColor`) with Motif=`SwimsuitMotif`, barely visible beneath blouse
RibbonTie: ribbon tie (color=`RibbonTieColor`)
Pareo: wrap skirt (color=`PareoColorBase`), style=PareoStyle, subtly sheer, naturally flowing to the ground
Hosiery: full-leg stocking (color=`HosieryColor`) with pattern=`HosieryPattern`, upper section thick and reinforced (OL style)
ThighStrap: single snug thigh strap belt (color=`ThighStrapColor`), emphasizing `ThighEmphasis`
Outerwear: (None)
Accessories: thin rectangular frame glasses (worn), small sapphire accessory, thin golden chain with pocket watch
Footwear: low-soled shoes (color=`FootwearColor`), placed nearby

# --------------------
# Pose / Character (Seated Writing)
# --------------------
BodyOrientation: seated relaxed on a jute rug, full body visible
PoseAction: upper body leaning slightly forward over a thin laptop, actively writing/sketching with a stylus
BodyDetail: Legs slightly bent, one knee raised, casual natural posture, pareo folds flowing naturally to the side/ground, thick thighs prominent in foreground
Expression: charming smile, lively and happily
TearMole: (Optional, tear mole below left eye)

# --------------------
# Scene (Late Spring Wisteria Deck Lakeside)
# --------------------
Location: Wooden deck under a Wisteria trellis (full bloom, soft purple flowers hanging), beside a clear lakeside (calm water, clear reflection). 
Scenery: Clear blue sky visible through the wisteria flowers, gentle breeze, natural jute rug spread on the wooden deck, foldable low table placed on top, wicker basket and a small glass of iced tea visible nearby.  
Atmosphere: Tranquil, studious, lakeside, late spring setting, airy yet elegant (Mood).
EnvironmentalEffects: Clear, bright sunlight filtering through the wisteria trellis, creating dappled light and soft shadows on the deck and the character, subtle fluttering of blouse/pareo/hair with breeze. 

こうして出てきた生成物はこちらです。

今度は、

  • 藤の季節から夏へ変えた場合は変数の変化だけでは足りません。
  • 夏らしい雰囲気を足すプロンプトを明示することが必要です。

この、変数を(つまりキャラクターの髪型や色指定など)をそのままにした状態で、「状況を指示するプロンプト」を追加するとどうなるかがこちらです。

プロンプトとその生成結果(藤が終わった後)

変更後のプロンプトの表示はこちらをクリック
Anime / manga style illustration (moe-style, ultra-detailed, glossy finish, cinematic lighting, hyper-detailed texture, high-shine hair strands)
Detail: `huge glossy eyes, small nose, slightly rounded face`
Aspect ratio: 16:9, widescreen

Perspective: **Low-angle perspective, viewing character from below, subtle foreshortening to emphasize legs and the foreground objects.**
Focus: **Upper body, thick thigh emphasis, layered fabrics (pareo/blouse), stationery spread in the immediate foreground, lakeside background (under a leafy wisteria trellis on a wooden deck).**

# --------------------
# Variables - Sample Inputs (Integrated & Optimized)
# --------------------
TimeOfDay: **midday (strong, bright summer sunlight)**
Weather: **intense summer heat, clear blue sky, slight haze, no breeze**
Season: **mid-summer**
Mood: **sultry, focused, determined, slightly overwhelmed by heat, energetic**
Expression: **charming smile, lively and happily**
GlassesState: **Yes (worn)**
GlassesStyle: **thin rectangular frame**
HairBase: black
HairAccent: red blue gradation
HairStyle: pony tail, semi long, strands *slightly damp and sticking to neck/forehead*
ThighEmphasis: thick, well-rounded upper thighs with prominent volume
HosieryColor: **sheer beige**
HosieryPattern: **light gray dot pattern, full-leg stocking**
BlouseColor: pearl white
SwimsuitColor: rose red
SwimsuitMotif: lace
RibbonTieColor: elegant pink
PareoColorBase: light purple and cream tartan
ThighStrapColor: leather brown
FootwearColor: low-soled shoes (casual style)
SkinToneDetail: **healthy tan face/arms/legs, torso pale, *slightly flushed from heat***
SweatDetail: **true (profuse sweat)**
ShoulderExposure: true
NotebookType: **thin, stylish laptop (NO ANY IP BRAND, LOGO, TRADEMARK VISIBLE, fancy stickers)**
PenType: **stylus**
StationeryLayout: **foldable white low table, a natural jute rug spread**
SideItems: **a small glass of iced tea with condensation (sweating glass), a light novel book, wicker basket, smartphone and earphone, *a handheld folding fan (placed nearby)***
ItemPlacement: **scattered**

# --------------------
# Outfit (Mid-Summer Lakeside on Deck)
# --------------------
Blouse: **sleeveless blouse** (color=`BlouseColor`, transparency=`transparent subtle glossy`, **damp spots visible on back/chest from sweat**), vertical seam lines, **draped off shoulders (ShoulderExposure=true)**
Swimsuit: (color=`SwimsuitColor`) with Motif=`SwimsuitMotif`, barely visible beneath blouse
RibbonTie: ribbon tie (color=`RibbonTieColor`)
Pareo: **wrap skirt** (color=`PareoColorBase`), style=PareoStyle, **subtly sheer**, naturally flowing to the ground
Hosiery: **full-leg stocking** (color=`HosieryColor`) with pattern=`HosieryPattern`, **upper section thick and reinforced (OL style)**
ThighStrap: **single snug thigh strap belt** (color=`ThighStrapColor`), emphasizing `ThighEmphasis`, ***slight sheen of sweat visible on inner thighs/strapped area***
Outerwear: **(None)**
Accessories: **thin rectangular frame glasses (worn), *beads of sweat on the frames/lenses***, **small sapphire accessory**, thin golden chain with pocket watch
Footwear: low-soled shoes (color=`FootwearColor`), placed nearby

# --------------------
# Pose / Character (Seated Writing - Sweaty)
# --------------------
BodyOrientation: **seated relaxed on a jute rug**, full body visible
PoseAction: **upper body leaning slightly forward over a thin laptop, actively writing/sketching with a stylus, *forehead slightly furrowed in concentration against the heat***
BodyDetail: Legs slightly bent, one knee raised, casual natural posture, **pareo folds flowing naturally to the side/ground, thick thighs prominent in foreground, *skin glossy with sweat***
Expression: **charming smile, lively and happily**
TearMole: **(Optional, tear mole below left eye)**

# --------------------
# Scene (Mid-Summer Wisteria Deck Lakeside)
# --------------------
Location: **Wooden deck under a Wisteria trellis (covered in deep green leaves, providing dense shade), beside a clear lakeside (calm water, heat haze over the surface).** // 藤の花を葉に変更
Scenery: **Clear blue sky, intense summer light**, **natural jute rug spread** on the wooden deck, foldable low table placed on top, **iced tea glass with heavy condensation, wicker basket visible nearby.**
Atmosphere: **Sultry, focused, lakeside, mid-summer setting, intense heat (Mood).**
EnvironmentalEffects: **Strong, harsh summer sunlight filtered by the dense wisteria leaves, creating deep, fragmented shadows on the deck and the character**, **heat haze over the lake**, ***visible sheen of sweat on skin and damp spots on clothing***.

生成物はこちら。

と、キャラクターが同じでも、初夏と夏の違いが出てきています。

プロンプト差分

2つのプロンプトの比較を明確にするため、以下に示します。

  • A: 晩春(クリアな青空)のプロンプト(藤の花あり)
  • B: 夏(汗・藤棚が葉)のプロンプト(藤棚が葉)

この2つのプロンプト間のdiff形式の差分を示します。

晩春(A)から夏(B)への差分(diff形式)

差分を表示するにはこちらをクリック
--- A: 晩春(クリアな青空)のプロンプト
+++ B: 夏(汗・藤棚が葉)のプロンプト
@@ -14,14 +14,14 @@
 # Variables - Sample Inputs (Integrated & Optimized)
 # --------------------
-TimeOfDay: **late morning (clear sunlight)** // 調整
-Weather: **clear blue sky, gentle spring breeze** // 変更
-Season: **late spring** // 変更
-Mood: **serene, content, scholarly, airy yet elegant, vibrant** // 調整
+TimeOfDay: **midday (strong, bright summer sunlight)** // 夏の陽光に変更
+Weather: **intense summer heat, clear blue sky, slight haze, no breeze** // 猛暑に変更
+Season: **mid-summer** // 変更
+Mood: **sultry, focused, determined, slightly overwhelmed by heat, energetic** // 夏の熱気に合わせて調整
 Expression: **charming smile, lively and happily**
 GlassesState: **Yes (worn)**
 GlassesStyle: **thin rectangular frame**
 HairBase: black
 HairAccent: red blue gradation
-HairStyle: pony tail, semi long, strands lifted by gentle breeze
+HairStyle: pony tail, semi long, strands *slightly damp and sticking to neck/forehead* // 発汗の状況を追加
 ThighEmphasis: thick, well-rounded upper thighs with prominent volume
 HosieryColor: **sheer beige** // 晩春の雰囲気に合わせて調整
 HosieryPattern: **light gray dot pattern, full-leg stocking** // 晩春の雰囲気に合わせて調整
@@ -34,10 +34,10 @@
 FootwearColor: low-soled shoes (casual style)
-SkinToneDetail: **healthy tan face/arms/legs, torso pale**
-SweatDetail: **false (no sweat)** // 変更
+SkinToneDetail: **healthy tan face/arms/legs, torso pale, *slightly flushed from heat*** // 発汗の状況を追加
+SweatDetail: **true (profuse sweat)** // **発汗の状況に変更**
 ShoulderExposure: true
 NotebookType: **thin, stylish laptop (NO ANY IP BRAND, LOGO, TRADEMARK VISIBLE, fancy stickers)**
 PenType: **stylus**
-StationeryLayout: **foldable white low table, a natural jute rug spread** // 晩春の雰囲気に合わせて調整
-SideItems: **a small glass of iced tea with lemon, a light novel book, wicker basket, smartphone and earphone** // 晩春の雰囲気に合わせて調整
+StationeryLayout: **foldable white low table, a natural jute rug spread**
+SideItems: **a small glass of iced tea with condensation (sweating glass), a light novel book, wicker basket, smartphone and earphone, *a handheld folding fan (placed nearby)*** // 状況に合わせてアイテムを追加
 ItemPlacement: **scattered**
 
@@ -53,7 +53,7 @@
 Pareo: **wrap skirt** (color=`PareoColorBase`), style=PareoStyle, **subtly sheer**, naturally flowing to the ground
 Hosiery: **full-leg stocking** (color=`HosieryColor`) with pattern=`HosieryPattern`, **upper section thick and reinforced (OL style)**
-ThighStrap: **single snug thigh strap belt** (color=`ThighStrapColor`), emphasizing `ThighEmphasis`
+ThighStrap: **single snug thigh strap belt** (color=`ThighStrapColor`), emphasizing `ThighEmphasis`, ***slight sheen of sweat visible on inner thighs/strapped area*** // 発汗の状況を追加
 Outerwear: **(None)**
-Accessories: **thin rectangular frame glasses (worn)**, **small sapphire accessory**, thin golden chain with pocket watch
+Accessories: **thin rectangular frame glasses (worn), *beads of sweat on the frames/lenses***, **small sapphire accessory**, thin golden chain with pocket watch
 Footwear: low-soled shoes (color=`FootwearColor`), placed nearby
 
@@ -64,15 +64,15 @@
 BodyOrientation: **seated relaxed on a jute rug**, full body visible
-PoseAction: **upper body leaning slightly forward over a thin laptop, actively writing/sketching with a stylus**
-BodyDetail: Legs slightly bent, one knee raised, casual natural posture, **pareo folds flowing naturally to the side/ground, thick thighs prominent in foreground**
+PoseAction: **upper body leaning slightly forward over a thin laptop, actively writing/sketching with a stylus, *forehead slightly furrowed in concentration against the heat*** // 状況に合わせてポーズに熱気を追加
+BodyDetail: Legs slightly bent, one knee raised, casual natural posture, **pareo folds flowing naturally to the side/ground, thick thighs prominent in foreground, *skin glossy with sweat*** // 発汗の状況を追加
 Expression: **charming smile, lively and happily**
 TearMole: **(Optional, tear mole below left eye)**
 
 # --------------------
 # Scene (Late Spring Wisteria Deck Lakeside)
 # --------------------
-Location: **Wooden deck under a Wisteria trellis (full bloom, soft purple flowers hanging), beside a clear lakeside (calm water, clear reflection).** // 変更
-Scenery: **Clear blue sky visible through the wisteria flowers**, gentle breeze, **natural jute rug spread** on the wooden deck, foldable low table placed on top, **wicker basket and a small glass of iced tea visible nearby.** // 変更
-Atmosphere: **Tranquil, studious, lakeside, late spring setting, airy yet elegant (Mood).**
-EnvironmentalEffects: **Clear, bright sunlight filtering through the wisteria trellis, creating dappled light and soft shadows on the deck and the character**, subtle fluttering of blouse/pareo/hair with breeze. // 変更
+Location: **Wooden deck under a Wisteria trellis (covered in deep green leaves, providing dense shade), beside a clear lakeside (calm water, heat haze over the surface).** // 藤の花を葉に変更
+Scenery: **Clear blue sky, intense summer light**, **natural jute rug spread** on the wooden deck, foldable low table placed on top, **iced tea glass with heavy condensation, wicker basket visible nearby.**
+Atmosphere: **Sultry, focused, lakeside, mid-summer setting, intense heat (Mood).**
+EnvironmentalEffects: **Strong, harsh summer sunlight filtered by the dense wisteria leaves, creating deep, fragmented shadows on the deck and the character**, **heat haze over the lake**, ***visible sheen of sweat on skin and damp spots on clothing***. // **発汗の描写を強調**

と、変数もわずかに変更されていることが分かります。

変更点の意図

どのような意図があったのかの解説です。(一部抜粋)

猛暑の強調意図(AIへの指示)
TimeOfDay: midday (strong, bright summer sunlight)柔らかい光から、最も強烈でコントラストの強い真昼の光に変更し、夏の過酷さを強調する。
Season: mid-summer, Weather: intense summer heat, slight haze, no breeze季節を「真夏」に固定し、静止した空気と熱気を描写することで、逃げ場のない暑さを演出する。
Location: Wisteria trellis (covered in deep green leaves, providing dense shade)藤の花(春)を濃い緑の葉に変更し、日陰の下でも暑いという真夏の説得力を与える。
EnvironmentalEffects: Strong, harsh summer sunlight... creating deep, fragmented shadows... heat haze over the lake**光を「強烈」「苛烈 (harsh)」と指示し、湖上に「陽炎(heat haze)」**を描写することで、視覚的に暑さを伝える。
変更点意図(AIへの指示)
SweatDetail: true (profuse sweat)「プロフューズ(大量の)」な汗を明確に指示し、湿度の高さを表現する。
HairStyle: strands *slightly damp and sticking to neck/forehead*髪が風でなびく描写を削除し、汗で濡れて肌に張り付く様子に変更。
SkinToneDetail: *slightly flushed from heat*健康的な肌色に加えて**「熱による紅潮(flushed)」**を指示し、体温の上昇と暑さによる疲労感を表現する。
Outfit / Blouse: (damp spots visible on back/chest from sweat)服が汗で濡れている箇所を明確に指示し、薄手の布地の透け感と湿り気を強調する。
Accessories / glasses: *beads of sweat on the frames/lenses*眼鏡のフレームやレンズについた汗の玉を描写し、細部から暑さと不快感を描写するリアリズムを追求する。

より詳細な状況を描かせるためには、より長文の指示を書く。

そのためGeminiには最初にテキスト形式で

  • 「こういう絵を作りたい」

と相談。そして新たなチャットでイメージ生成。それを元に

  • もっとミステリアスな雰囲気に
  • 表情を変えたい
  • ポーズを変更するには?

などと相談していくのが互いの労力を軽減することになるかと思います。

ケーススタディ:Gemini nano banana 9/19以降の仕様変更によるアスペクト比固定の状態でのWebサイトバナー作成。

2025年8月頃に颯爽と現れたGoogle画像生成(Gemini nano banana)。

利用者激増により2025年9月19日頃から

  • 機能制限(アスペクト比1:1固定)
  • フィルター強化

の2つが課せられました。(これを修正していくと答えている/このままで行くの情報が錯綜しています)

それを回避しつつ、WordpressやBookStackのバナーとなるような画像を作っていきます。

1:1でも参照できるプロンプトを生成

プロンプトそのものを生成AIに代筆してもらいます。いくつか相談を重ね、以下のようなプロンプトができあがりました。

**Style / Format:**
Anime / manga style illustration (moe-inspired).
Framed as a **16:9 widescreen rectangle**, neutral/empty space only at top and bottom.
**Top-down / bird’s-eye perspective**, slight wide-angle lens effect.

**Setting:**

* Lake surrounded by forest, serene summer atmosphere.
* Transparent water showing subtle underwater details (driftwood, small fish) without stealing focus.
* Gentle sunlight reflecting on water surface.

**Character:**

* Woman wearing glasses. **Winking with a soft, gentle smile**, giving a friendly and approachable expression.
* Seated in a small boat, visible from above.

**Outfit & Accessories:**

* White sleeveless shirt (light, slightly transparent).
* Subtle hint of glossy emerald-colored swimsuit underneath (implied, not explicit).
* Elegant layered robe, shoulder-exposed dark-green and black elements.
* Collar and ribbon-style silk tie arranged elegantly.
* Subtle emerald-colored accessories.
* Sheer patterned black pantyhose, glossy reflections.
* Silver-toned pumps.

**Scene / Action:**

* Sitting on boat edge, feet touching lake (bird’s-eye view).
* Reading a book, gently interacting with water.
* Boat carries small stack of books.
* Black laptop placed naturally; screen/keyboard subtly visible with browser open.
* **Laptop features a stylish, original snake sticker (not Slytherin), black with yellow trim, integrated naturally).**
* Water surface shows large, decorative **“BookStack”** text, slightly distorted by ripples.

**Camera / Composition:**

* Main subject fits central 16:9 area; extra neutral space only at top/bottom.
* Bird’s-eye view emphasizes character, boat, books, water.
* Ripples and transparent underwater elements enhance realism without stealing focus.

**Details / Effects:**

* Textures, layering, and relaxed lakeside atmosphere emphasized.
* Hair and clothing gently moving in breeze.
* Water reflections and subtle shimmer on laptop surface.
* Subtle glossy black swimsuit hint integrated naturally.
* BookStack lettering harmoniously blended with water ripples.
* Snake sticker clearly visible but elegant, unmistakably original design, avoiding any IP references.
* **Facial expression soft, charming, with a wink and gentle smile to enhance approachable, playful mood.**

日本語はこちらです。

スタイル / フォーマット:
アニメ・漫画風イラスト(萌え系)。
16:9ワイドスクリーンの長方形にフレーム、上下にのみ余白を確保。
上空俯瞰視点(トップダウン/バードアイビュー)、やや広角レンズ効果を想定。

舞台設定:

  • 森に囲まれた湖、穏やかな夏の雰囲気。
  • 水は透明で、流木や小魚などの水中ディテールがうっすら見える(キャラクターの焦点を奪わない程度)。
  • やわらかく反射する日差し。

キャラクター:

  • 眼鏡をかけた女性。ウィンクして優しい微笑みを浮かべ、親しみやすい表情
  • 小さなボートに座っており、上空から見下ろした構図で描かれる。

衣装・アクセサリー:

  • 白いノースリーブシャツ(軽く、端は少し透け感あり)。
  • 光沢のあるエメラルド色の水着をさりげなく下に着用(暗示的で、直接的には見せない)。
  • 肩を出した、落ち着いたダークグリーンと黒のレイヤードローブ。
  • 襟とリボンタイをエレガントにアレンジ。
  • さりげないエメラルド色のアクセサリー。
  • パターン入り黒ストッキング(全脚)、光沢感あり。
  • シルバー系パンプス。

シーン・アクション:

  • ボートの縁に座り、足を湖に触れさせる(俯瞰視点)。
  • 本を読みつつ、そっと水に触れる。
  • ボートには小さな本の山を積んでいる。
  • 黒いノートPCを自然に配置、画面・キーボードがうっすら見える(ブラウザ表示)。
  • PCにはスタイリッシュなオリジナル蛇ステッカー(スリザリンではない)、黒地に黄色の縁取りが自然に貼られている。
  • 水面には大きく装飾された 「BookStack」 の文字、波紋でわずかに歪む。

カメラ・構図:

  • メイン被写体は中央の16:9エリアに収め、余白は上下のみ。
  • 上空視点でキャラクター、ボート、本、湖を強調。
  • 水面の反射や波紋、透明な水中要素によりリアリティを増すが、焦点を奪わない。

ディテール・エフェクト:

  • 衣服の質感やレイヤード感、穏やかな湖畔の雰囲気を強調。
  • 髪や衣服はそよ風にやわらかく揺れる。
  • 水面の反射やPC表面の微かな光沢。
  • さりげなく示唆された光沢黒水着。
  • BookStack文字は水面の波紋に調和して描かれる。
  • 蛇ステッカーははっきり見えるが、エレガントで独自デザイン、IP参照はなし。
  • 顔の表情は柔らかく魅力的で、ウィンクと優しい微笑みにより、親しみやすく遊び心のある雰囲気を演出。

こうして生成された画像(Gemini 2.5 Flash)がこちら。

見ての通り、1:1の正方形であるものの、バナーとして切り出しやすいものになっています。

画像の切り取り

ここまで来れば画像をフルサイズでのダウンロード。

保存した画像を適当な画像編集ソフトで切り出していきます。(極端な話、ペイントでも余裕で切り出せます)

後は、これをWordpressのアイキャッチとして設定。

まとめ

この、

プロンプトが分からなければAI自体に相談。(ChatGPTはこういうノリは強いです)

をしていくことで

  1. 視覚的魅力を保ちながら安全性を確保
  2. アスペクト比や画角の問題も回避
  3. IPフィルターやセーフティフィルターを回避していく

方法を採ることができました。

Powered by WordPress & Theme by Anders Norén