accounts
FreeManage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
The English summary is being prepared. Showing the original description.
AI image generation: Gemini and Nano Banana backends; single/series/batch workflows with prompt-to-disk.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Backend-agnostic image generation: single images, series with anchor-chain consistency, batch pipelines. Two backends: Gemini (API) and Nano Banana (local scripts with post-processing).
| Signal | Load | Content |
|---|---|---|
| Gemini backend selected | references/backends/gemini.md | Models, env vars, flag table, examples, error codes |
| Nano Banana needed (post-processing, series, JSON batch, style-match) | references/backends/nano-banana.md | Subcommands, flags, aspect ratios, prompt patterns by asset type |
python3 skills/content/image-gen/scripts/detect-backend.py
gemini -- load references/backends/gemini.mdask -- no key found; ask the user to set GEMINI_API_KEYGate: backend confirmed.
Write all prompts to disk before any API call. Prompt files are the generation record and anchor-chain input for series.
File naming: single prompts/YYYY-MM-DD-{slug}.md, series prompts/{series-name}-01.md through -NN.md.
---
model: gemini-3-pro-image-preview
aspect-ratio: 1:1
flags: []
---
Full prompt text. Be explicit about subject, style, background, constraints.
mkdir -p prompts
For series: write ALL prompt files before calling any generation script.
Gate: all prompt files written and reviewed.
| Use case | Script | Subcommand |
|---|---|---|
| Single image, Gemini | scripts/generate_image.py | --prompt |
| Batch from text file, Gemini | scripts/generate_image.py | --batch |
| Single with post-processing | scripts/nano-banana-generate.py | generate |
| Style match from reference | scripts/nano-banana-generate.py | with-reference |
| Batch from JSON manifest | scripts/nano-banana-generate.py | batch |
| Series (anchor chain) | scripts/nano-banana-generate.py | generate then with-reference |
| Post-processing only | scripts/nano-banana-process.py | crop / remove-bg / pipeline |
Model selection:
| Scenario | Model |
|---|---|
| Draft, testing, batch, cost-sensitive | gemini-2.5-flash-image (2-5s) |
| Final asset, character art, typography | gemini-3-pro-image-preview (~30s) |
Aspect ratio by use case:
| Asset type | Ratio |
|---|---|
| Sprites, characters, icons | 1:1 |
| Card art, landscape | 16:9 |
| Vertical maps, portrait bg | 9:16 |
| Portrait cards | 3:4 |
| Wide banners | 21:9 |
Generate at the target ratio. Generating 1:1 and cropping to 16:9 loses 56% of pixels.
Gate: script and subcommand identified.
Use absolute paths for output files. Show full script output.
Character drift occurs when images are generated independently. Prevent it by passing the previous output as --reference:
image-01.png (no ref) -> image-02.png (ref=01) -> image-03.png (ref=02) -> ...
--reference for image 2.Save originals with --save-original for any batch or expensive generation. Re-processing a saved original is free; re-generating costs quota and may break the chain.
Gate: script exits 0.
Read the generated image to verify:
If inspection fails: regenerate with adjusted prompt. Report the issue before retrying.
Report: output file path (absolute), dimensions, model, post-processing applied, verification result. Report only what was requested.
| Error | Cause | Resolution |
|---|---|---|
GEMINI_API_KEY not set | Missing env var | export GEMINI_API_KEY=your_key |
No image in response | Safety filter or text-only response | Adjust prompt; remove policy-adjacent content |
Missing dependency: google-genai | Package absent | pip install google-genai pillow |
Rate limit exceeded (429) | Too many requests | Increase --delay; script retries automatically |
Content policy violation (400) | Restricted content | Rephrase using neutral language |
| Model not found | Wrong model string | Use exact strings: gemini-2.5-flash-image or gemini-3-pro-image-preview |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
The English summary is being prepared. Showing the original description.
Improve architecture across modules by deepening interfaces.
The English summary is being prepared. Showing the original description.
Assessment: read-only inspection, codebase overview, value analysis, health checks, ADR consultation, decision analysis, multi-perspective critique.
The English summary is being prepared. Showing the original description.
Background memory consolidation — overnight review, merge, and injection payload for memory files.
The English summary is being prepared. Showing the original description.
Jev-driven browser automation: Jev picks operations, programs execute, a text model writes field values only when Jev cannot pick one from the goal.
The English summary is being prepared. Showing the original description.
Write, compose, integrate, and improve programs that call Jev, TypeSafe's System One judgment model.
The English summary is being prepared. Showing the original description.