en un clic
image-generation
Generate images using nano banana.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Generate images using nano banana.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
邮箱情报调查与关联分析。当用户要求"邮箱调查"、"邮箱搜索"、"查邮箱"、"邮箱关联"、"社交账号发现"、"用户名搜索"、"数字足迹"、"OSINT调查"、"人肉搜索"时使用此技能。
提示注入攻击检测与防御。当用户要求"检测提示注入"、"Prompt Injection"、"LLM安全"、"AI安全测试"、"越狱检测"、"Jailbreak检测"、"间接注入检测"时使用此技能。
0day漏洞审查。零日漏洞研究和利用可行性评估。当用户要求"0day分析"、"漏洞利用评估"、"Exploit开发"、"PoC分析"、"漏洞武器化"时使用此技能。仅限授权安全研究使用。
漏洞猎人扫描。自动化漏洞扫描和利用验证。当用户要求"漏洞扫描"、"Nuclei扫描"、"批量漏洞检测"、"Web漏洞扫描"、"PoC扫描"时使用此技能。仅限授权渗透测试使用。
社工钓鱼作战。社会工程学攻击策划和钓鱼内容构造。当用户要求"钓鱼攻击"、"社工攻击"、"钓鱼邮件"、"BEC攻击"、"钓鱼页面"、"社会工程"时使用此技能。仅限授权红队测试使用。
企业级目标情报收集。对目标企业进行资产发现、技术栈识别和攻击面测绘。当用户要求"企业资产发现"、"攻击面测绘"、"目标侦察"、"企业情报收集"、"外部资产发现"时使用此技能。
| name | image-generation |
| description | Generate images using nano banana. |
Generate images using Nano Banana (Google Gemini Image API). Supports text-to-image and image-to-image generation with configurable options.
pip install google-genai Pillow
Set your API key:
export GEMINI_API_KEY="your_api_key_here"
python scripts/generate.py --prompt "A futuristic city at sunset with neon lights" --output city.png
python scripts/generate.py \
--prompt "Mountain landscape with a lake" \
--output landscape.png \
--aspect-ratio 16:9
Use a reference image to guide generation:
python scripts/generate.py \
--prompt "Make it look like a watercolor painting" \
--input-image original.png \
--output watercolor.png
python scripts/generate.py \
--prompt "Abstract colorful art" \
--output art.png \
--num-images 3
| Argument | Short | Required | Default | Description |
|---|---|---|---|---|
--prompt | -p | Yes | — | Text prompt describing the desired image |
--output | -o | No | output.png | Output path for the generated image |
--model | -m | No | gemini-2.0-flash-preview-image-generation | Model to use for generation |
--input-image | -i | No | — | Reference image for image-to-image mode |
--aspect-ratio | -a | No | — | Aspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4 |
--num-images | -n | No | 1 | Number of images to generate |
gemini-2.0-flash-preview-image-generation - Fast, optimized for speed and lower latencyimagen-3.0-generate-002 - High quality image generationImport the function directly in Python:
from scripts.generate import generate_image
paths = generate_image(
prompt="A serene mountain lake under moonlight",
output_path="./outputs/lake.png",
aspect_ratio="16:9",
num_images=2,
)