claude-remotion-kickstart: Command for Claude Code

.claude/commands/generate-image.md

generate-image is a command for Claude Code from jhartquist/claude-remotion-kickstart. It costs 9 tokens per session (627 once invoked), scanned A, original, MIT.

A command for creating or editing images with Google's Nano Banana Pro model through Replicate, an online service for running AI models. It uses a text prompt and returns the generated image.

In plain words
What is it for?
Use it to create images from descriptions or edit existing images, with selectable aspect ratios, resolutions and PNG or JPEG output.
Why use it?
It removes the need to set up the image model and its API call by hand.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

This is jhartquist/claude-remotion-kickstart's own configuration. It tells Claude Code how to work on claude-remotion-kickstart itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-remotion-kickstart configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jhartquist/claude-remotion-kickstart. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jhartquist/claude-remotion-kickstart/main/.claude/commands/generate-image.md
Clone the repo
git clone --depth 1 https://github.com/jhartquist/claude-remotion-kickstart

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-image

README.md
[![agentmods](https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/generate-image/github.svg)](https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/generate-image)
Your own site
<a href="https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/generate-image"><img src="https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/generate-image/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-image

Your own site · 80×15
<a href="https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/generate-image"><img src="https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/generate-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00009 $0.00627
Opus 5 $0.00005 $0.00313
Sonnet 5 $0.00002 $0.00125
Haiku 4.5 $0.00001 $0.00063

Measured 9d ago against content hash f81b648a3fc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

generate-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 9d ago.

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.

allowed-tools: mcp__replicate__*, AskUserQuestion, Bash(curl*)
.claude/commands/generate-image.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

context

This command uses the Replicate MCP server to generate images with Google's Nano Banana Pro model.

The model supports:

  • Text-to-image generation
  • Image-to-image editing
  • 16:9, 1:1, 9:16, 4:3, 3:4 aspect ratios
  • 2K, 4K, 8K resolutions
  • PNG or JPEG output

task

Generate an image using Nano Banana Pro with the prompt provided in $1:

  1. Create the prediction:

    • Use model: google/nano-banana-pro
    • Version ID: 944891d151f5463d9e6eca5a6942f04053e664853dca30c21864021b046fea1d
    • Default parameters:
      • aspect_ratio: "16:9"
      • resolution: "2K"
      • output_format: "png"
      • safety_filter_level: "block_only_high"
    • Use Prefer: wait to wait for completion
  2. Call the Replicate API:

    mcp__replicate__create_predictions with:
    - version: google/nano-banana-pro:944891d151f5463d9e6eca5a6942f04053e664853dca30c21864021b046fea1d
    - input: {"prompt": "{user_prompt}", "aspect_ratio": "16:9", "resolution": "2K", "output_format": "png", "safety_filter_level": "block_only_high"}
    - Prefer: wait
    - jq_filter: {id, status, output, error}
    
  3. Display results:

    • Show the image URL
    • Show the prediction ID
    • Summarize key features of the generated image
  4. Optionally download:

    • Ask the user if they want to download the image to the public/ directory
    • If yes, ask for a filename (suggest a descriptive name based on the prompt)
    • Download using curl: curl -o public/{filename}.png {image_url}
    • Confirm the download location

examples

Basic usage:

/generate-image a photorealistic software engineer in a cozy studio

With specific style:

/generate-image a minimalist tech workspace with warm lighting, 70s aesthetic

notes

  • The prompt should be descriptive and include style, lighting, and composition details
  • For talking head videos, specify "centered frame, medium close-up"
  • For reference images, mention "photorealistic" or specific photography styles
  • Images are saved to Replicate's CDN and accessible via HTTPS URLs

Read the full file on GitHub · 70 lines

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. 9d ago First seen · 70 lines · 9 tokens per session scan A f81b648a3fc6

Subscribe to this mod's changes

generate-image is a command published in the GitHub repository jhartquist/claude-remotion-kickstart (116 stars, last pushed 9mo ago), licensed MIT. It adds 9 tokens to every session and 627 once invoked, about $0.0000 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-30.