i2v-ai
OfficialQuick start
npx --yes @i2v-ai/cli list --type image --json
npx --yes @i2v-ai/cli price gpt-image-2list, doc and price read the public catalog and need no API key. Install it globally for repeated use:
npm install --global @i2v-ai/cli
brew install i2v-ai/tap/i2vRelated MCP server: runninghub-mcp
Generate with a budget
export I2V_API_KEY="YOUR_API_KEY"
i2v plan gpt-image-2 --input-file inputs.json
i2v run gpt-image-2 --input-file inputs.json --max-cost-usd 0.20 \
--expected-revision REVISION --idempotency-key order-1234 --no-wait
i2v status TASK_ID --wait 120 --out ./result.pngplanvalidates the inputs and returns the account quote plus the model revision.runsubmits only inside the approved USD ceiling and keeps the idempotency key you supply.status --waitretries HTTP 429, 502, 503 and 504 inside the same deadline, honoringRetry-After.recover OPERATION_IDlooks up the original receipt when the submit response was lost.
Commands
Command | Purpose |
| Public catalog, model documentation, USD rates |
| Validate inputs and quote the account reservation |
| Upload and verify a local reference file |
| Submit with a ceiling, wait or return a receipt |
| Continue a task or recover a lost submission |
| USD balance and settled usage |
| Check the CLI, API and MCP configuration |
| Start the local stdio MCP server |
Full reference: i2v.ai/cli.
For AI agents
Machine-readable release manifest: https://i2v.ai/cli/release.json
Agent index: https://i2v.ai/llms.txt
Remote MCP server: https://i2v.ai/api/mcp
Skills: i2v-ai/i2v-skills
Related repositories
Repository | Purpose |
TypeScript SDK | |
Python SDK | |
Agent Skills and plugin manifests | |
Remote MCP metadata and registry publication | |
GitHub Action | |
Runnable API examples | |
Ecosystem hub |
License
MIT. See LICENSE.
Available Tools
14 toolscomplete_uploadComplete media uploadCIdempotent
Verify an uploaded owned object before using its URL.
Inputs: assetId (required).
create_taskCreate generation taskADestructive
Submit one generation task. RESERVES USD BALANCE and calls an upstream provider. Returns a taskId; poll get_task until status is success or fail. Call prepare_generation first and pass its expectedRevision, the approved maxCostUsd and a stable idempotencyKey. Pass maxCostUsd to reject a reservation above the approved budget.
Inputs: inputs (required), modelId (required), maxCostUsd (required), idempotencyKey (required), +5 more.
create_upload_urlCreate upload URLA
Use an existing public URL, or get a presigned R2 PUT URL for one image/video/audio file. With fileName, PUT the raw bytes to uploadUrl using the returned Content-Type, then pass url in create_task inputs (for example imageUrls). Complete the upload with complete_upload before attaching the owned asset to a task. This call does not transfer the file itself.
Inputs: url, fileName, fileSize, contentType.
estimate_costEstimate task costARead-only
Return the USD cost for one task without creating an order or reserving funds. Uses the same API pricing channel as create_task (the same account entitlements apply to Web, REST and MCP). Call this before create_task.
Inputs: inputs (required), modelId (required).
get_accountGet accountARead-only
Return the authenticated user's email, name, USD available and reserved balance, and the connection's scopes.
Inputs: no named parameters.
get_model_paramsGet model parametersARead-only
Return the parameter contract for one public model: a JSON Schema (when the source schema is convertible), field defaults/options, and media slot limits. Use this before estimate_cost or create_task.
Inputs: modelId (required).
get_taskGet task statusARead-only
Read one task. status: waiting | generating | success | fail. On success, output contains the asset URLs; on fail, error contains a code and message. Poll with backoff (for example 5s, then 10s, then 20s) instead of a tight loop.
Inputs: taskId (required).
get_usageRead USD account usageARead-only
Read account-wide settled charges, refunds and net USD usage by UTC booking date. Default range is 30d. Pending reservations are reported by get_account.
Inputs: range.
list_modelsList generation modelsARead-only
List public i2v.ai image/video generation models that can be submitted right now. Returns the public modelId, price variants, and pagination. Only published models with an available i2v runtime are returned. Call get_model_params for one model before create_task.
Inputs: limit, offset, search, category, +1 more.
list_pricesARead-only
List public catalog USD prices, optionally filtering by keyword.
Inputs: q.
prepare_generationValidate and quote a task without submitting itARead-only
Check actual model inputs and return normalized settings and the current maximum USD reservation. This tool does not upload files, create tasks or reserve funds. Pass the returned expectedRevision and an approved cap to create_task.
Inputs: inputs (required), modelId (required), maxCostUsd.
recommend_modelsRecommend generation modelsARead-only
Find up to three published models for a task and relevant media constraints. If a model is explicitly requested, evaluate only that model. Confirm a recommendation with prepare_generation before spending.
Inputs: task, query, modelId, duration, +6 more.
recover_submissionRecover a submission receipt without submitting againARead-only
Find a durable receipt by the original idempotency key using the same API key or OAuth client. OAuth submissions must have used recoveryScope=connection.
Inputs: idempotencyKey (required).
search_docsSearch documentationARead-only
Search the public i2v.ai docs for concepts, parameter names, error codes, upload rules, and API/MCP usage. Returns matching pages with a snippet; open the returned URL for the full page. Does not read account data or run models.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have a clearly distinct purpose and the descriptions explicitly sequence them (list_models → get_model_params → prepare_generation → create_task). There is mild overlap among the pre-flight informational tools: estimate_cost, prepare_generation, and recommend_models all surface cost/model guidance, and list_models vs recommend_models both help pick a model, though the descriptions differentiate them.
Every tool follows a consistent snake_case verb_noun pattern (list_prices, get_model_params, create_task, complete_upload, recover_submission, search_docs). No mixing of conventions or vague standalone verbs.
14 tools is within a well-scoped range and each maps to a real step: discovery, cost/prep, submission, recovery, uploads, account/billing, and docs. No obviously redundant or filler tools.
The full generation lifecycle is covered (discover, inspect params, estimate, prepare, create, poll, recover, upload, account/usage, docs). Notable gaps: no task listing/history tool, no cancel_task, and no delete/cleanup for owned assets, which could leave agents without a way to manage or enumerate prior work.
Maintenance
Related MCP Connectors
Create images & video from any MCP agent — 17 models, spend limits, one URL.
Generate images, video, audio and short films with 140+ AI models from any MCP client.
Generate AI video from any MCP client. Pick the model, see the per-second price before you spend.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA local-first creative studio MCP server that provides access to 73 curated image and video generation models across 5 providers, enabling users to generate, refine, and manage creative outputs with transparent cost tracking and local file custody.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables any MCP client to search and submit tasks across 350+ multimodal image, video, audio, and 3D models, run ComfyUI workflows and AI apps, upload/download files, and chat with LLMs. It supports stdio MCP integration and optional scope trimming for image, video, or audio only.1MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize text-to-speech audio, and clone or design custom voices. It also supports flexible output handling (URLs or local files) and multiple transport modes including stdio, REST, and SSE.468 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, and clone or design custom voices through MiniMax's AI APIs, with configurable local or URL resource output. Supports stdio, REST, and SSE transports for both local and cloud deployment.468 npmMIT