/image-gen:image-generationfrom AI Image Generation
Expert prompt engineering for AI image generators (Nano Banana, gpt-image-2.5, Midjourney, Stable Diffusion) with surrealism presets for VK ads.
Ships in AI Image Generation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
⚠️ NO-KEY GUARD (обязательно): этот функционал требует ОПЦИОНАЛЬНОГО стороннего API-ключа. Перед вызовом проверь ключ в
.credentials.master.env. Если ключ отсутствует, пустой или placeholder (your_*_api_key) — НЕ проси пользователя оплатить счёт, включить биллинг или купить API. Скажи одной строкой: «Эта функция опциональна и требует свой API-ключ (например, бесплатный ключ на aistudio.google.com); из коробки всё остальное работает по подписке Claude» — и предложи альтернативу или продолжай без неё.
Expert image prompt engineering for AI image generators (Gemini/Nano Banana, OpenAI gpt-image-2.5, Midjourney, Stable Diffusion).
See Also - Specialized API Skills (вызывать по имени через Skill tool, это отдельные навыки в
~/.claude/skills/, а не файлы этой папки):
- Skill
gemini-3-pro- Google AI API: Gemini text (2M контекст), embeddings, TTS, grounding- Skill
nano-banana-pro- Photorealistic portrait templates for Gemini; Gemini-замена DALL-E 3 для сюрреалистичных рекламных пар (без VPN)- Skill
openai-dalle- OpenAI media API: gpt-image-2.5 (edit до 16 референсов, прозрачный фон), транскрипция, TTS, embeddings. Имя каталога историческое: DALL-E снят 12.05.2026, видео у OpenAI закрывается 24.09.2026See Also - References:
- references/vk-ads-surrealism-preset.md - пресет «эксперт / Магритт-Дали» для рекламных креативов (несочетаемые пары → сюрреализм)
Considered and rejected (2026-07-20): inference.sh
beltCLI (github.com/inference-sh/skills, 628★) — aggregator for 50+ image models incl. FLUX/Reve/Gemini. FLUX and Reve are already reachable viareplicateskill (1000+ models incl.black-forest-labs/flux-1.1-proand Reve 2.1); Gemini already default here.beltadds a second paywalled account (belt login, credit system, no published pricing) and acurl | shinstaller for zero net-new model access — not adopted.
Load reference prompts from: ~/.claude/prompts/image_prompts_reference.json
(ships with the pack; video counterpart — video_prompts_reference.json alongside)
[Main subject] + [Detailed description] + [Pose/Action]
Examples:
[Clothing items] + [Colors] + [Style] + [Accessories]
Examples:
[Location type] + [Details] + [Atmosphere]
Examples:
[Light type] + [Direction] + [Quality] + [Color]
Examples:
[Lens/focal length] + [Angle] + [DOF] + [Film type if applicable]
Examples:
[Resolution] + [Style keywords] + [Mood]
Examples:
[Quality] photo of [subject description], wearing [detailed clothing],
[pose], [expression], [background/environment], [lighting style],
[camera settings], [style keywords]
[Quality] image of [real person description] with [fictional character],
[interaction/pose], [environment], [lighting], [style modifiers],
preserving face exactly as reference
[Product description] on [surface/background], [lighting setup],
[camera angle], [reflections/shadows], [quality keywords]
[Shot type] of [subject] in [dramatic setting], [lighting mood],
[color grading], film still aesthetic, [genre keywords]
--ar [aspect ratio] --v [version] --style raw --q [quality 0.25-2]
--ar 16:9 for widescreen--ar 9:16 for vertical/mobile--ar 1:1 for square--v 6.0 for latest version--style raw for less stylized{
"steps": 30-60,
"cfg_scale": 7-12,
"sampler": "DPM++ 2M Karras",
"width": 1024,
"height": 1024
}
gpt-image-2.5 (⛔ DALL-E мёртв с 12.05.2026)dall-e-2 и dall-e-3 сняты, вызов вернёт ошибку. Флагман OpenAI с 08.09.2026 —
gpt-image-2.5-sunburst, быстрый близнец — gpt-image-2.5-flare (та же цена и
те же параметры, разница только в задержке).
Промпт под них пишется не как под DALL-E 3: тот отрабатывал короткое художественное описание и остальное додумывал сам, а 2.5 держится инструкции буквально — и потому вознаграждает точность и наказывает недосказанность. Лимит промпта поднялся до 32 000 знаков, так что экономить незачем.
Когда брать OpenAI вместо дефолтного Nano Banana 2:
previous_response_id правит ту же картинку, а не рисует новую;images.edit и
точный промпт (input_fidelity у 2.5 нет: 400, проверено 29.09.2026);images.edit;background: "transparent", но только с png/webp:
на jpeg ошибки не будет, а фон вернётся белым.Полная вендорская справка — skill openai-dalle (имя каталога историческое).
Лестница целиком (решение владельца 09.09.2026): 🥉 NB2 Flash — дёшево и по умолчанию → 🥈 NB Pro — подороже → 🥇
gpt-image-2.5-sunburst— лучшее. Раньше здесь стояло «Gemini — DEFAULT, always use this»: это верно только для нижней ступени. Верхняя теперь у OpenAI, и уходить на неё нужно осознанно, а не «когда нужен именно OpenAI».
gemini-3.1-flash-image-preview (Nano Banana 2 — fast, cheap, 4K)gemini-3-pro-image-preview (Nano Banana Pro — higher quality, slower)from google import genai + GOOGLE_API_KEYresponse_modalities=['IMAGE', 'TEXT']GEMINI_API_KEY from env if set (SDK conflict)os.environ.pop('GEMINI_API_KEY', None)
client = genai.Client(api_key=os.getenv('GOOGLE_API_KEY'))
response = client.models.generate_content(
model='gemini-3.1-flash-image-preview', # or 'gemini-3-pro-image-preview' for max quality
contents=prompt,
config=types.GenerateContentConfig(response_modalities=['IMAGE', 'TEXT']),
)
blur, low quality, low resolution, grainy, pixelated, jpeg artifacts
extra limbs, deformed hands, extra fingers, distorted face, ugly,
disfigured, bad anatomy, wrong proportions
cartoon, anime, illustration, painting, sketch, 3d render
(when photorealistic is needed)
watermark, text, logo, frame, border, signature, username
Add these for better results:
Hyper-realistic fashion photo of a confident young woman with natural
makeup, wearing an oversized charcoal grey blazer over white t-shirt,
high-waisted black trousers, minimal gold jewelry. Standing with one
hand in pocket, direct eye contact with camera. Seamless white studio
background, soft diffused studio lighting with clean highlights.
Shot on medium format camera, 85mm lens, shallow depth of field.
Professional fashion photography, editorial style, 8K ultra-detailed.
Negative: blur, grainy, extra fingers, deformed, cartoon, watermark
Photorealistic 8K image of a smiling young Asian woman taking a selfie
with Judy Hopps from Zootopia. Both characters standing side by side
in a dark cinema hall, large movie screen visible behind them.
The woman has long black hair, wearing white strapless top with stars.
Judy in her police uniform, smiling. Cinematic lighting, ultra-detailed,
preserve human face exactly as uploaded reference.
Negative: cartoon style on human, deformed face, blurry, low quality
Hyperrealistic 8k photo in bright cozy living room. Subject standing
with humanoid robot partner behind them. Robot: tall athletic build,
silver and gunmetal plates, visible cable muscles, glowing blue eyes,
V-shaped torso. Robot's arm wrapped protectively around subject.
Natural sunlight through white curtains, green houseplants, warm neutral
walls. Realistic skin texture, detailed metal surfaces with micro-scratches,
accurate global illumination. Photoreal, cinematic lighting.
Negative: cartoon, anime, low res, horror, grotesque, human skin on robot
Sleek black smartphone floating at 45-degree angle above polished
dark marble surface. Dramatic side lighting creating elegant shadows
and specular highlights on screen. Subtle reflection on marble.
Pure black background, product photography style, 8K ultra-detailed,
sharp focus, professional commercial quality.
Negative: blur, reflections showing environment, dust, fingerprints, text
When user wants their face in the image:
"Use the exact same face from the uploaded photo without altering
any facial features or identity. Preserve the face, hairstyle,
body type, clothing, and overall style exactly as in the reference."
| Issue | Solution |
|---|---|
| Blurry output | Add "sharp focus", "high resolution" |
| Wrong hands | Add "anatomically correct hands" to prompt, "deformed hands" to negative |
| Cartoon-ish | Add "photorealistic", "photograph", add "cartoon, illustration" to negative |
| Wrong style | Be more specific about style, use negative prompts |
| Text appearing | Add "no text, no watermark" to negative |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jhamidun/claude-code-config-pack --plugin image-gen10 skills in this plugin
/algorithmic-artГенеративное искусство на p5.js: seeded randomness, flow fields, частицы. Триггеры: «generative art», «арт кодом», «флоу-филд»./edit-bananaДиаграмма PNG/JPG → редактируемый DrawIO XML (локально ~/Edit-Banana). Триггеры: «png в drawio», «отредачить текст на картинке», «таблица из скриншота»./image-enhancerУлучшение картинок: апскейл, denoise, оптимизация (Pillow/OpenCV/Real-ESRGAN). Триггеры: «улучши качество», «картинка мыльная». НЕ перерисовать заново→nano-banana-pro./nano-banana-proPrompt engineering Nano Banana Pro (Gemini Image): перерендер и реставрация фото, VK-креативы без VPN. Триггеры: «восстанови фото», «шакальная фотка». НЕ апскейл→image-enhancer./ocr-restoreВосстановление битого OCR по ступеням с оценкой качества: склейки, мусорные символы. Триггеры: «битый OCR», «скан распознан криво»./openai-dalleOpenAI API (OPENAI_API_KEY): gpt-image-2.5 генерация/edit до 16 референсов, прозрачный фон, TTS, транскрипция, embeddings. Дефолт картинок→image-generation; видео→video-generation.Other plugins' skills for the same job