计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
openrouter-text2image【效率与协作】Generate images via OpenRouter. Default model openai/gpt-5.4-image-2; any image-modality model can be passed via --model.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Text → image via OpenRouter. Default model: openai/gpt-5.4-image-2.
Other supported models (override with --model):
google/gemini-3.1-flash-image-preview (Nano Banana 2)Resolve TOOL_DIR = the directory containing this SKILL.md. Commands below use TOOL_DIR as a symbolic placeholder; replace it with the resolved, quoted path before running Bash.
export OPENROUTER_API_KEY=sk-or-v1-...
python3 TOOL_DIR/scripts/generate_image.py \
--prompt "Editorial illustration: a neon-lit skateboard at dusk, dramatic shadows" \
--download PROJECT_DIR/assets/teaser.png
| Flag | Default | Description |
|---|---|---|
--prompt | required | Text prompt |
--download | required | Output file path (PNG) |
--model | openai/gpt-5.4-image-2 | Override with any OpenRouter image-modality model |
POST /api/v1/chat/completions with modalities: ["image","text"].messages with both text and image-URL content parts — the script currently supports text-only prompts.