本文へ移動
cccskills
無料GitHub で公開

generate-image

AI image generation via Gemini with optional async providers. Use when the user wants to generate, create, or make an image, or when you need to create visual assets like logos, diagrams, or illustrations. Requires the API key for the selected provider.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codevスター 290(GitHub 290 + cccskills 0)
連携ツールGemini

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

generate-image - AI Image Generation

Uses Google Gemini to generate images from text prompts.

Synopsis

codev generate-image "<prompt>" [options]

Note: this is a codev subcommand, not standalone.

All flags

-o, --output <file>        Output file path (default: output.png)
-r, --resolution <res>     Resolution: 1K, 2K, 4K (default: 1K)
-a, --aspect <ratio>       Aspect ratio (default: 1:1)
--ref <image>              Reference image (repeatable, max 14)
-p, --provider <name>      Provider name (default: gemini)

Aspect ratios

1:1 | 16:9 | 9:16 | 3:4 | 4:3 | 3:2 | 2:3

Examples

codev generate-image "A sunset over mountains"
codev generate-image "A futuristic city" -r 4K -a 16:9 -o city.png
codev generate-image "Same style but with cats" --ref style.png --ref layout.png
codev generate-image prompt.txt -o result.png    # Prompt from .txt file

Notes

  • Prompt must be quoted if it contains spaces
  • Prompt can be a .txt file path (auto-detected by extension)
  • Reference images must exist on disk
  • Requires GEMINI_API_KEY or GOOGLE_API_KEY environment variable

Alternative provider: Atlas Cloud

-p atlas generates through Atlas Cloud, which serves the same Nano Banana Pro model over a submit-then-poll REST API. Useful when a Google AI Studio key is not available. Requires ATLASCLOUD_API_KEY; the default provider is unchanged.

codev generate-image "A sunset over mountains" -p atlas -a 16:9

Measured differences on that path:

  • -a/--aspect works (1:1 returns 1024x1024, 16:9 returns 1376x768).
  • -r/--resolution has no equivalent field; a note is printed and the model's default resolution comes back.
  • --ref is not supported (text-to-image only) and exits with an error rather than silently ignoring the images.
  • The model returns JPEG, so the output file is named after its actual bytes instead of writing JPEG into the default output.png.

MuAPI provider

-p muapi uses MuAPI's Nano Banana Pro endpoint with the same aspect-ratio and resolution controls. Set MUAPI_API_KEY (or MU_API_KEY) using the MuAPI access keys page. Reference images are uploaded to MuAPI and sent to the edit endpoint; returned media is downloaded only over HTTPS.

codev generate-image "A sunset over mountains" -p muapi -a 16:9
codev generate-image "Keep the subject, change the lighting" -p muapi --ref subject.png

The provider submits a job, polls the MuAPI image API, and writes the returned image locally. Polling and individual requests are bounded, and the API key is never sent to the returned media host.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

afx

無料

Agent Farm CLI — the tool for spawning builders, managing Tower, workspaces, and cron tasks. ALWAYS consult this skill BEFORE running any `afx` command to get the exact syntax. This prevents wasting time guessing flags that don't exist. Use this whenever you need to spawn a builder, check status, send messages, clean up worktrees, manage Tower, or run cron tasks. If you're about to type `afx` followed by anything, check here first.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

arch-init

無料

Adopt an architect identity and recover its state from codev/state/<name>.md. Use when an architect terminal needs to (re)establish which architect it is — after a restart, context loss, or session handoff — or when the user says "/arch-init", "you are the X architect", or "recover your architect state". Identity resolves via `afx whoami` (an explicit name argument overrides); if neither resolves, ask the human — never guess.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

arch-save

無料

Save an architect's state, clear its context, and re-init automatically — the packaged save→clear→re-init refresh cycle. Use when the owner directs a context refresh, or says "/arch-save", "save and clear", "refresh your context". Runs on the owner's direction; an architect does not invoke it autonomously mid-task. Counterpart to /arch-init, which recovers the state this writes.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

Refresh a builder's own context at a protocol boundary — save working state, verify it, clear, and re-orient. Use when porch emits a context-refresh task, or the builder is told to "refresh your context" / "run a self-refresh". A builder does not invoke this autonomously mid-task; porch chooses the moment. Counterpart to the architect's /arch-save.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

codev

無料

Codev project management CLI — init, adopt, bootstrap-docs, update, and doctor commands. Check this skill before running any `codev` command (except `consult`, `porch`, or `afx` which have their own skills). Use when setting up new projects, adding codev to existing repos, updating framework files, or diagnosing missing dependencies.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

consult

無料

AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis. ALWAYS check this skill before running any `consult` command. Use when reviewing specs, plans, implementations, or PRs with external models, running parallel 3-way reviews (cmap), or checking consultation stats. The `-m` model flag is always required except for `consult stats`.

日本語の概要は準備中です。原文の説明を表示しています。

cluesmith/codev2902026年10月24日 更新

cluesmith のスキルをすべて見る

このスキルの問題を報告する