Skip to content

Image Generation Skill

Generate or edit images directly from Codex, Claude Code, and OpenCode with gpt-image-2.

One-click install

Download the installer for your system:

  • macOS: Extract the ZIP and double-click the .command file. If blocked, right-click it and choose Open.
  • Windows: Double-click the .bat file. If blocked, click More infoRun anyway.
  • Linux: Run bash PrimeRouter-ImageGen-Installer.sh after downloading.

Restart your agent when installation finishes.

Start generating

Tell your agent what you want:

text
Generate a cyberpunk night view of Shanghai

To edit an image, attach it and describe the change:

text
Change the background to dark blue while preserving the subject and text

Fallback install

If the downloaded installer cannot run, use a terminal:

powershell
irm https://primerouter.ai/install/imagegen.ps1 | iex
bash
curl -fsSL https://primerouter.ai/install/imagegen.sh | bash

Image not displayed automatically?

The image is saved locally. Ask the agent to open the returned file path.

Developers can use API Reference for /v1/images/generations and /v1/images/edits.

Built for transparent, auditable, crypto-native AI inference. About · Terms · Privacy