AI Image & Video API, MCP Server & CLI for Coding Agents

Connect Nano Banana 2, GPT-Image-2.6, Grok Image 2.0, Qwen Image Edit, Seedance 2.0/2.5, and MiniMax H3 to Claude Code, Cursor, Codex, or your own backend with one shared credit wallet.

Want to use Imagifly in your agent? Send this to your Agent

Generate a portrait of someone walking a rainy night street

Done. Here's the rainy-night street portrait.

Generated portrait of a person walking a rainy night street

Generate a summer view of a seaside railway crossing

Done. Here's the seaside railway crossing.

Generated seaside railway crossing

Ways to connect

Quick start & supported model IDs

Every endpoint, CLI command, and MCP tool uses the same credit balance and async task IDs as the web studio.

Remote Streamable HTTP MCP Endpoint

https://imagifly.net/api/mcp

Install & authenticate CLI

npm i -g @imagifly/cli && imagifly auth login

API, MCP & CLI FAQ

How does Imagifly's remote MCP server work with Claude Code and Cursor?

Point your agent's MCP config at https://imagifly.net/api/mcp with your Imagifly API key. Your agent can immediately list live models, generate images and videos, and download finished outputs without installing local GPUs.

Do API, MCP, and CLI calls share the same credits as the web studio?

Yes. Every generation—whether triggered in the browser, via HTTP API, @imagifly/cli, or MCP—draws from one unified credit wallet, including daily check-in credits and paid plans.

How are asynchronous image and video tasks handled?

Submission endpoints return HTTP 202 with a task ID immediately. Poll the task status endpoint until it completes, then fetch the returned asset URLs. Failed or timed-out tasks automatically refund credits.

Which AI models can I automate through the API and MCP server?

You can call all eight active models—gpt-image-2, nano-banana-2, grok-imagine-image, Qwen-Image-Edit, Z-Image-Turbo, Wai-SDXL-V170, seedance, and MiniMax-H3—using one API key.