How do I connect my AI agent to image and video generation tools?

Connect your AI agent to image and video generation tools: add the Wireflow MCP server URL in Claude, Cursor, Codex or ChatGPT, then sign in. No API key.

Last updated View as Markdown

To connect your AI agent to image and video generation tools, add the Wireflow MCP server, https://www.wireflow.ai/api/mcp, to the agent and sign in with your Wireflow account. There is no API key to copy. Your agent can then build and run workflows on your credits, read the results, and generate and edit images, video and audio across 100+ models.

Setting Value
Server URL https://www.wireflow.ai/api/mcp
Transport Streamable HTTP
Sign-in OAuth 2.1 with PKCE. Clients register themselves, so there is no client ID or API key to paste
Standard permissions workflows:read, workflows:create (private drafts), workflows:execute (spends credits), executions:read, models:read, usage:read, automations:read
Permissions You approve a consent screen that lists exactly what the client asked for. Opt-in permissions, such as workflows:write and social:publish, are withheld unless the client names them
Revoke Any time, from your Wireflow settings

Every permission and tool is listed on the MCP connector page.

How do I give Claude access to image and video models?

Add Wireflow to Claude as an MCP server and sign in. In Claude Code, run this in your terminal, then run /mcp in Claude Code to sign in:

claude mcp add --transport http wireflow https://www.wireflow.ai/api/mcp

In Claude.ai or Claude Desktop, add https://www.wireflow.ai/api/mcp as a custom connector. Install scopes (local, user, project), a video prompt and fixes for Claude Code are in How do I set up an MCP server in Claude Code to generate videos?

Does the same connection work in Cursor, Codex and ChatGPT?

Yes. Each agent uses the same server URL and the same Wireflow sign-in. Only the place you add the URL changes.

Agent Where the URL goes Full setup
Cursor A wireflow entry with "url": "https://www.wireflow.ai/api/mcp" under mcpServers in ~/.cursor/mcp.json Cursor setup
Codex CLI codex mcp add wireflow --url https://www.wireflow.ai/api/mcp, then codex mcp login wireflow Codex setup
ChatGPT Add custom MCP server on the ChatGPT Plugins page, with OAuth ChatGPT setup
Claude app (Claude, Cowork, Claude Desktop) The URL field of Add custom connector, under Customize > Connectors Claude app setup
GitHub Copilot in VS Code MCP: Add Server, then HTTP (HTTP or Server-Sent Events) and the URL GitHub Copilot setup
Windsurf Add the URL as a remote MCP server Windsurf setup
Cline Add the URL as a remote MCP server Cline setup

Which MCP tools make images and short videos without leaving Claude or ChatGPT?

The Wireflow server's tools cover the whole job, from finding a model to reading the finished files:

Job Tools
Check the connection whoami, get_credit_balance
Find a model or a starting point list_models, list_templates, search_recipes, list_workflows, get_workflow
Build create_workflow_from_prompt, clone_template, update_workflow_config
Run and read results run_workflow, run_app, get_execution
Edit video get_video_timeline, edit_video_timeline, preview_video_frames

create_workflow_from_prompt and clone_template save private drafts and run nothing. run_workflow and run_app spend credits on the connected account.

Two optional extras:

  • The Editor connector, https://www.wireflow.ai/api/mcp/editor, reads, edits and renders what is already in your account, and it does not generate images, video or audio. See Editor Connector.
  • Ready-made skills, such as AI video generation and product photography, install with npx skills add wireflowINC/skills in Claude Code, Cursor, Codex and more. See the skills guide.

How do I test the connection?

Start a new chat with your agent and paste this prompt. It only reads your account, so it spends no credits:

Use Wireflow. Tell me which Wireflow account you are connected as, my credit balance and plan, and list my five most recent workflows.

Your agent should call whoami, get_credit_balance and list_workflows. If it can't find the Wireflow tools, check that the server is turned on and that you finished the sign-in.

Then make a first video. This prompt spends credits once you say yes:

Use Wireflow to make a short video of a red kite rising over a windy beach at sunset. Pick a video model, tell me which one and its credit cost, and wait for my yes before you run it.

How much do runs from my agent cost?

Runs from your agent use credits from the connected account, at each model's credit cost. MCP and API access are on every plan, including Free.

Plan Price Credits each month
Free $0 pricing page
Starter $36/mo 2,660
Professional $59/mo 4,370
Team $299/mo 22,140

Video models are on paid plans. For what the Free plan includes, see the pricing page. At default settings, Wan 2.5 costs 80 credits per run and Kling Video costs 135. See the pricing page.

Credits & Billing lists how many runs each plan gives a month for popular models.

Do I need an API key?

No. The MCP connector signs your agent in with OAuth, so there is no key to copy. Use an API key, which starts with sk-, for your own scripts and servers. See API Overview.

An MCP sign-in is not an API key, and some REST endpoints, such as the video composition contract, accept an sk- key only. API keys and the connector also resolve identities independently. If you run more than one, have your agent call whoami, or call GET /api/v1/me with the key, before it writes anything. To compare the routes, see MCP, API, apps or skills.

For AI agents: the full documentation index is at /llms.txt, and most docs pages are available as Markdown by adding .md to the URL.

© 2026 Wireflow. All rights reserved.