Skip to content

runapi-ai/flux-kontext

Repository files navigation

Flux Kontext API Skill for RunAPI

Install this agent skill, inspect Flux Kontext fields, then run jobs through the RunAPI CLI.

Model Reference · CLI · SDK

skills.sh ClawHub License


Generate and transform images with Flux Kontext Pro and Max. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate Flux Kontext through RunAPI.

The canonical agent file is skills/flux-kontext/SKILL.md.

Install

npx skills add runapi-ai/flux-kontext -g

Or paste this prompt to your AI agent:

Install the flux-kontext skill for me:

1. Clone https://github.com/runapi-ai/flux-kontext
2. Copy the skills/flux-kontext/ 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 { FluxKontextClient } from '@runapi.ai/flux-kontext';

const client = new FluxKontextClient();
const result = await client.textToImage.run({
  model: 'flux-kontext-pro',
  prompt: 'A futuristic cityscape at night',
  aspect_ratio: '16:9',
});
const url = result.images[0].url;

Routing

Variants

Agent rules

  • 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 flux kontext 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 Flux Kontext skill for Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors