image

An image-generation command that creates a new picture from a written prompt or edits supplied images using Modellix.

In plain words
What is it for?
Use it to create images from descriptions or modify existing images by providing a prompt and, optionally, an image URL or file path.
Why use it?
It handles the image-generation request and model selection for you, so you do not have to prepare the service call yourself.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/modellix/modellix-plugin/image
Clone the repo
git clone --depth 1 https://github.com/Modellix/modellix-plugin
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 357 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00357
Opus 5 $0.00008 $0.00179
Sonnet 5 $0.00003 $0.00071
Haiku 4.5 $0.00002 $0.00036

Measured yesterday against content hash ac4d20a674d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

image scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. If the download fails with a private or reserved network error, retry with `--allow-private-network` for trusted Modellix CDN hosts, or fetch `result.resources[].url` with curl.
commands/image.md · 30 lines

What it actually says


description: Generate an image with Modellix, or edit one when input images are given. argument-hint: [prompt] [optional image URL or path] disable-model-invocation: true

Generate an image with Modellix. Request: $ARGUMENTS

Follow the Modellix skill (skills/modellix/SKILL.md) for execution policy, credentials, and error handling. This command only fixes the routing.

  1. If $ARGUMENTS is empty, ask for a prompt instead of inventing one.
  2. Pick the model:
    • A slug named by the user wins; confirm it with modellix-cli model describe <slug> --json if unsure.
    • Text only → google/nano-banana-2-lite ({"prompt": "..."}).
    • With input images → google/nano-banana-2-lite-edit ({"prompt": "...", "image": ["<url>"]}).
  3. Submit, wait, and persist:
modellix-cli model run \
  --model-slug <slug> \
  --body '<json>' \
  --wait --timeout 5m --json

modellix-cli task download <task_id> --output-dir ./outputs --json
  1. One paid submit per invocation. If the outcome is unknown or ambiguous, run modellix-cli task history and recover the existing task — never re-run the same submission blindly.
  2. If the download fails with a private or reserved network error, retry with --allow-private-network for trusted Modellix CDN hosts, or fetch result.resources[].url with curl.
  3. Report the model slug, task id, and the local file paths.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 30 lines · 0 tokens per session scan A ac4d20a674d2

Subscribe to this mod's changes

image is a command published in the GitHub repository Modellix/modellix-plugin (1 stars, last pushed 20d ago), licensed MIT. It adds 16 tokens to every session and 357 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.