Agent skill

mcp-tokenflux-images

Generate images using AI models via TokenFlux API. Use when creating AI-generated images, artwork, or visual content. Triggers on "generate image", "create picture", "AI art", "image generation", "TokenFlux".

Stars 33
Forks 3

Install this agent skill to your Project

npx add-skill https://github.com/vaayne/agent-kit/tree/main/skills/mcp-tokenflux-images

SKILL.md

TokenFlux Image Generation

MCP service at https://tokenflux.ai/v1/images/mcp (http) with 4 tools.

Requirements

  • mh CLI must be installed. If not available, install with:
    bash
    curl -fsSL https://raw.githubusercontent.com/vaayne/mcphub/main/scripts/install.sh | sh
    
  • TOKENFLUX_API_KEY environment variable must be set with your TokenFlux API key

Usage

List tools: mh list -u https://tokenflux.ai/v1/images/mcp --header "x-api-key:${TOKENFLUX_API_KEY}"

Get tool details: mh inspect -u https://tokenflux.ai/v1/images/mcp --header "x-api-key:${TOKENFLUX_API_KEY}" <tool-name>

Invoke tool: mh invoke -u https://tokenflux.ai/v1/images/mcp --header "x-api-key:${TOKENFLUX_API_KEY}" <tool-name> '{"param": "value"}'

Workflow

  1. List models first: Use listModels to discover available image generation models
  2. Get model schema: Use getModel with the chosen model_id to get the required input_schema
  3. Generate image: Use generateImage with the correct input format from the schema
  4. Poll if needed: If generation returns status: 'processing', use getGeneration to poll until complete

Notes

  • Run inspect before invoking unfamiliar tools to get full parameter schema
  • Timeout: 30s default, use --timeout <seconds> to adjust
  • generateImage waits up to 30 seconds; if still processing, poll with getGeneration
  • Always call getModel before generateImage to understand the correct input format

Tools

  • listModels: List all available VLM models with their IDs, names, descriptions, and pricing. Use this first to discover valid model_id values for generate_image. This tool takes no parameters.
  • getModel: Get detailed information about a specific VLM model including its input_schema. The input_schema is a JSON Schema describing the required input object for generate_image. Always call this before generate_image to understand the correct input format.
  • generateImage: Generate an image using a VLM model. IMPORTANT: Call get_model first to get the input_schema for your model. This tool waits up to 30 seconds for completion. If the image is ready, returns {id, status: 'succeeded', images: [...]}. If still processing after 30s, returns {id, status: 'processing'} - use get_generation to poll.
  • getGeneration: Get the status and result of an image generation request. Use the id returned by generate_image to poll until status is 'succeeded' or 'failed'. Returns {id, model, status, images?, error?, cost?}.

Expand your agent's capabilities with these related and highly-rated skills.

vaayne/agent-kit

pi-delegate

Delegate tasks to Pi subagents with preset roles (oracle, worker, reviewer, ui-engineer, librarian) or ad-hoc prompts. Use for fresh context, model specialization, second opinions, code review, isolated execution, or parallel task delegation.

33 3
Explore
vaayne/agent-kit

mcp-jetbrains-ide

Control JetBrains IDE (IntelliJ, WebStorm, PyCharm) via MCP. Use when manipulating IDE files, running configurations, searching code, or performing refactoring. Triggers on "open in IDE", "run configuration", "refactor code", "IDE search", "JetBrains".

33 3
Explore
vaayne/agent-kit

mcp-context7-docs

Query up-to-date documentation and code examples for any programming library or framework. Use when looking up API docs, finding code examples, or checking library usage. Triggers on "how to use [library]", "docs for [package]", "show me examples of [framework]", "Context7 lookup".

33 3
Explore
vaayne/agent-kit

web-fetch

Fetch and extract clean content from URLs using Jina Reader API. Use when users need to read webpage content, extract article text, or fetch URL content for analysis. Triggers on "fetch this page", "read this URL", "extract content from", "get the content of", "what does this page say".

33 3
Explore
vaayne/agent-kit

tmux

Control interactive terminal sessions via tmux. Use when tasks need persistent REPLs, parallel CLI agents, or any process requiring a TTY that simple shell execution cannot handle.

33 3
Explore
vaayne/agent-kit

specs-dev

Plan-first development workflow with review gates. Use when implementing features, refactoring, or any task requiring structured planning, iterative implementation with reviews, and clean commits. Triggers on requests like "implement feature X", "plan and build", "spec-driven development", or when user wants disciplined, reviewed code changes.

33 3
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results