MCP Integration

    Your AI MeetsXainFlow

    Connect Claude Code, ChatGPT, Cursor, or any MCP client. Type a command and generate entire campaigns — no UI needed.

    50+MCP Tools
    6+AI Clients
    REST + MCPProtocol
    4Permission Levels
    Works with
    ClaudeOpenAICursorGemini
    MCP Protocol

    Works With Your AI

    Connect XainFlow to any MCP-compatible AI client. Same tools, same workflows — from whichever AI assistant you prefer.

    Full MCP Guide
    Claude

    Generate a product hero for our new sneaker launch, cinematic lighting, 16:9

    Claude

    I'll generate that for you using XainFlow.

    Xainflow generate image

    Done! Here's your cinematic sneaker hero — 5 credits used. Want me to create size variants?

    XainFlow MCP
    ChatGPT

    Run my "Social Pack" workflow with the summer collection photos

    ChatGPT

    Running your Social Pack workflow now.

    Xainflow execute workflow

    Workflow started — 12 assets queued. I'll notify you when it's complete.

    XainFlow MCP

    Also works with

    Claude CodeCLI
    OpenAI CodexCLI
    Cursor
    VS Code
    Windsurf
    Any MCP client
    Chat Integration

    Not Just for Developers

    Use XainFlow directly from Claude Desktop or ChatGPT. No terminal needed — just chat naturally to generate images, run workflows, and manage your creative assets.

    Claude

    Create a summer campaign for our new sneaker line — hero image, 3 Instagram posts, and 2 stories

    ClaudeClaude

    I'll build that campaign for you. Let me set up the workflow and generate everything.

    Xainflow create workflow
    Xainflow generate image

    Your campaign is ready! Here's what I created:

    Hero banner

    16:9 — cinematic lighting

    3 Instagram posts

    1:1 — lifestyle, detail, flat lay

    2 Stories

    9:16 — teaser + launch

    Total: 6 assets · 18 credits

    XainFlow MCP connected

    Just chat, naturally

    Ask Claude to generate images, run workflows, or manage assets — all through conversation. No code, no CLI.

    Real tool calls, real results

    Claude uses XainFlow MCP tools behind the scenes — fetching workflows, batch modifying nodes, generating content — all from your chat.

    One-time setup

    Add the config to your Claude Desktop settings and you're ready. XainFlow tools appear automatically.

    Claude Desktop setup guide
    Code Examples

    See It in Action

    Explore what you can build with the XainFlow API.

    javascript
    // Generate an image with AI
    const result = await xainflow.generate({
      type: "image",
      prompt: "Minimalist product shot on white background",
      style: "commercial",
      aspect_ratio: "1:1",
      resolution: "1024x1024"
    });
    
    console.log(result.image_url);
    // → "https://cdn.xainflow.com/gen/img_abc123.png"
    console.log(result.credits_used);
    // → 2
    REST API

    One API, Full Control

    Generate images, create videos, manage workflows, and orchestrate campaigns — all through a clean REST interface.

    Authentication

    API Key

    Simple X-API-Key header auth with xf_live_* keys

    Rate Limit

    1,000/day

    Generous limits on Pro plans and above

    Permissions

    4 Levels

    Read, Generate, Write, Admin — granular control

    Protocol

    REST + MCP

    Standard REST API plus Model Context Protocol

    javascript
    // Create AI content with a single API call
    const response = await fetch(
      "https://api.xainflow.com/v1/generate",
      {
        method: "POST",
        headers: {
          "X-API-Key": "xf_live_your_key_here",
          "Content-Type": "application/json"
        },
        body: JSON.stringify({
          prompt: "Modern tech startup hero image",
          style: "cinematic",
          aspect_ratio: "16:9"
        })
      }
    );
    
    const { image_url, credits_used } = await response.json();

    What You Can Build

    From simple image generation to full creative pipeline automation.

    AI Client Skills

    Type /amazon or /campaign and let your AI create full content flows. Build custom skills for any workflow.

    Campaign Automation

    Generate entire campaign asset sets — hero banners, social posts, stories — with a single command from Claude, ChatGPT, or Codex.

    Workflow Orchestration

    Trigger and chain multi-step workflows from Claude Code, ChatGPT, Cursor, or any MCP client. No UI needed.

    Content Generation

    Ask your AI to "create 5 lifestyle photos for this product" and watch it generate them via XainFlow MCP.

    Asset Management

    Let your AI assistant organize, tag, and manage assets. It can list, download, and sync everything through MCP.

    CI/CD Integration

    Automate creative QA via REST API. Generate assets on commit, validate outputs, and deploy to CDN.

    Getting Started

    Up and Running in Minutes

    1

    Create Account

    Sign up for a free XainFlow account. No credit card required to start.

    2

    Generate API Key

    Go to Settings → API Keys. Create a key with the permissions you need.

    3

    Configure Client

    Add your key to Claude Code, ChatGPT, Cursor, VS Code, or use it directly via REST API.

    4

    Start Creating

    Type a slash command and generate entire campaigns — no UI needed.

    Security

    Granular Permissions

    Create keys with exactly the access level you need. Follow the principle of least privilege.

    Read

    View assets, workflows, and workspace data

    • List & view assets
    • Read workflows
    • View workspace info
    • Generate content
    • Modify data
    • Manage API keys

    Generate

    Create images, videos, and run workflows

    • List & view assets
    • Read workflows
    • View workspace info
    • Generate content
    • Modify data
    • Manage API keys

    Write

    Full CRUD on assets, workflows, and projects

    • List & view assets
    • Read workflows
    • View workspace info
    • Generate content
    • Modify data
    • Manage API keys

    Admin

    Everything, including API key and team management

    • List & view assets
    • Read workflows
    • View workspace info
    • Generate content
    • Modify data
    • Manage API keys
    MCP Ready

    Start Creating with MCP

    Connect your MCP client in seconds. Type a slash command and generate entire campaigns — no UI needed. Available on Pro plans and above.

    terminal
    /campaign "Launch Q2 2026"