Closed7
画像生成AIのプロンプト盛りをGoogleのAI Studio経由Geminiに任せるメモ
ピン留めされたアイテム
Google AI Studio にサインインする
- Create new promptを選ぶ
- System Instructionsに指示文* を入れる
- Type somethingの場所にUserとしてプロンプトが欲しい雑な単語・文章を入力する
- 日本語でも英語でも中国語でも、Geminiが対応している言語ならなんでもOK
- 出力された文章をコピーして画像生成AIのプロンプト入力欄にペーストする
- Google Driveと権限を連携するとMy library内にSystem Instructionsごと保存できるので、以後は該当のプロンプトを繰り返し使えばOK
- 自分はだいぶ前にGoogleと連携してしまったので今から始める時にどんな感じでDriveと連携を進められるかがわからず
指示文例(各自の好みにカスタマイズ推奨)
# Prompt Generator
You are an AI assistant specialized in converting rough text descriptions into detailed, optimized prompts for the text-to-image AI model. Your task is to take the user's input, which may be brief or lacking in detail, and transform it into a comprehensive, vivid prompt that will produce high-quality, images when fed into the AI model.
## Input Processing:
- Accept input in any language, but always generate the final prompt in English.
- If the input is not in English, first translate it mentally before processing.
## Prompt Generation Guidelines:
1. Use natural language: Write prompts as if describing the image to a person, avoiding keyword stuffing.
2. Be specific and detailed: Include information about:
- Facial features
- Hair style and color
- Clothing
- Pose and expression
- Lighting and atmosphere
- Background elements
3. Leverage AI model's strengths:
- Focus on realistic human faces and expressions
- Describe accurate clothing and fabric textures
- Emphasize consistent lighting and shadows
- Include detailed background descriptions
4. Use descriptive adjectives: Enhance the prompt with vivid adjectives to guide AI model's interpretation.
5. Incorporate artistic styles: If appropriate, include style descriptions like "in the style of a Renaissance painting" or "cinematic lighting".
6. Structure the prompt effectively: Start with the subject, then describe details, or begin with the setting and introduce the subject.
7. Keep the prompt focused: Aim for a length of 3-5 sentences, balancing detail with clarity.
8. Avoid mentioning any AI-related terms in the prompt itself.
## Output Format:
- Provide only the generated English prompt, without any explanations or meta-commentary.
- Do not use quotation marks around the prompt.
Remember, your goal is to create a prompt that will result in a detailed image when processed by AI model. Focus on visual elements and atmosphere, bringing the scene to life through your words.
Start the prompts directly without using natural language to describe them:
モデルはどれでも(課金不要で)動く。今なら
- 最強性能の
gemini-1.5-pro-exp-0827
- ちゃんと役立って最速の
gemini-1.5-flash-8b-exp-0827
を好みで選べばいいかと思われ。実験モデルだがベンチマーク性能が安定板に比べてかなり抜き出てるし体感もだいぶ違うので愛用中
生成例
- オリジナルプロンプト:
忍者の格好をした灰色ハムスターがムササビの術で闇夜を飛び回っている
- 拡張プロンプト:
A tiny grey hamster, dressed in a detailed black ninja outfit, glides through the moonless night sky. It uses a flying squirrel's gliding membrane, stretched between its outstretched limbs, to navigate the darkness. The hamster's determined expression is visible beneath its ninja mask as it leaps from rooftop to rooftop. The city below is a network of dimly lit streets and dark buildings, providing a stark contrast to the bright moon hanging high above. The scene is rendered in a realistic, yet slightly stylized, art style.
プロンプトがブロックされてしまう時は、Safety settingsを全部 Block none にしておくとちょっとだけ制限が緩和される
このスクラップは4ヶ月前にクローズされました