Skip to content

runapi-ai/imagen-4

Repository files navigation

Imagen 4 API Skill for RunAPI

Install this agent skill, inspect Imagen 4 fields, then run jobs through the RunAPI CLI.

Model Reference · CLI · SDK

skills.sh ClawHub License


Generate images with Imagen 4, Imagen 4 Fast, Ultra, and Pro remix image. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate Imagen 4 through RunAPI.

The canonical agent file is skills/imagen-4/SKILL.md.

Install

npx skills add runapi-ai/imagen-4 -g

Or paste this prompt to your AI agent:

Install the imagen-4 skill for me:

1. Clone https://github.com/runapi-ai/imagen-4
2. Copy the skills/imagen-4/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.

Quick example

import { Imagen4Client } from '@runapi.ai/imagen-4';

const client = new Imagen4Client();
const result = await client.textToImage.run({
  model: 'imagen-4-fast',
  prompt: 'A warm editorial photo of a glass studio at sunrise',
  aspect_ratio: '16:9',
});

Routing

Variants

Agent rules

  • Integration work uses the target language SDK; one-off generation, manual smoke tests, debugging, or user-requested CLI runs use the RunAPI CLI skill: https://github.com/runapi-ai/cli-skill
  • RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.
  • Keep API keys in RUNAPI_API_KEY or RunAPI CLI config; never commit secrets.
  • Prefer create, get, and run JSON passthrough patterns instead of inventing flags for every model parameter.
  • For imagen api pricing, rate-limit, and commercial-usage answers, link to the variant page rather than the repository README.

License

Licensed under the Apache License, Version 2.0.

About

RunAPI Imagen 4 skill for Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors