aichili-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aichili-mcp estimate credits for a 90s 768p video with 50 subscribers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Chili Python SDK, CLI & Stdio MCP Server (aichili)
mcp-name: io.github.AI-Chili/aichili
Official zero-dependency Python (>=3.10) SDK, CLI (aichili), and stdio Model Context Protocol (MCP) server (aichili-mcp) for AI Chili (AIChili) cinematic AI video generation and OnlyChili Cinema creator monetization.
Zero external runtime dependencies (
dependencies = []) — built strictly on the Python 3.10+ standard library (urllib.request,json,re,uuid,time,ssl) for supply-chain safety, instant cold start, and PEP 561 static typing (py.typed).100% behavioral & pricing parity with the official Node.js
aichili/@aichili/mcppackage andhttps://videoapi.aichili.ai.Two console entrypoints in one wheel:
aichili(developer CLI) andaichili-mcp(newline-delimited JSON-RPC 2.0 stdio MCP server with1 MiBline-buffer DoS guard).
Installation
Install from PyPI (once PyPI Trusted Publisher release is live)
pip install aichili
# Or run ephemerally with Astral uvx (zero global state)
uvx aichili --version
uvx aichili models
uvx --from aichili aichili-mcpInstall directly from GitHub
pip install git+https://github.com/AI-Chili/aichili-python.git
# Or install isolated CLI binaries via uv
uv tool install git+https://github.com/AI-Chili/aichili-python.git
aichili --versionRelated MCP server: SpicyAPI MCP Server
Python SDK Quickstart
from aichili import AiChiliClient, estimate_cost
# 1. Offline deterministic PAYG credit + OnlyChili 80% creator net revenue calculator
quote = estimate_cost(
seconds=90,
resolution="768p",
model_id="h3-vdn", # alias "h3-sol" also supported
subscribers=50,
sub_price=9.99,
)
print(quote["totalCredits"], quote["recommendedPack"], quote["onlyChiliProjection"]["creatorNetRevenueUsd"])
# 2. Public live model registry (no API key required)
client = AiChiliClient() # or AiChiliClient(api_key="chili_sk_...")
registry = client.list_models()
for model in registry["models"]:
print(model["model_id"], model["display_name"], model["provider"])
# 3. Authenticated wallet, $0 dry-run quote, idempotent submission & polling
authed = AiChiliClient(api_key="chili_sk_your_key_here") # or export AICHILI_API_KEY="chili_sk_..."
wallet = authed.get_credits()
print("Credits:", wallet["balance"])
plan = authed.plan_generation(
mode="t2v",
model_id="h3-vdn",
prompt="Rain-slick neon alley in Tokyo, slow dolly-in, stereo street ambience",
duration_s=15,
resolution="1080p",
ratio="16:9",
)
print("Dry-run credits:", plan["total_credits"])
job = authed.create_generation(
mode="t2v",
model_id="h3-vdn",
prompt="Rain-slick neon alley in Tokyo, slow dolly-in, stereo street ambience",
duration_s=15,
resolution="1080p",
ratio="16:9",
idempotency_key="tokyo-alley-shot-001",
)
completed = authed.wait_for_generation(job["id"], poll_interval_s=5.0, timeout_s=600.0)
print(completed["status"], completed)Command-Line Interface (aichili)
# Inspect live models from https://videoapi.aichili.ai/v1/registry
aichili models
aichili models --scope available --json
# Estimate PAYG credits, optimal pack combination & OnlyChili 80% creator net share
aichili estimate --seconds 90 --resolution 768p --subscribers 50 --sub-price 9.99 --json
aichili estimate --model avatar-talk --workflow photo --script-units 120 --free-used --json
# Authenticated wallet, dry-run plan, generation (with repeatable reference assets), and polling
export AICHILI_API_KEY="chili_sk_..."
aichili credits --json
aichili plan \
--model h3-vdn \
--mode t2v \
--prompt "Golden hour coastal cliff aerial tracking shot, ocean surf audio" \
--duration 15 \
--resolution 1080p \
--ratio 16:9
aichili generate \
--model h3-vdn \
--mode i2v \
--prompt "Subject turns toward camera with subtle warm studio rim light" \
--ref-asset 00000000-0000-0000-0000-000000000001 \
--ref-role first_frame \
--duration 10 \
--resolution 1080p \
--idempotency-key shot-001 \
--wait \
--json
aichili status <job_id> --jsonModel Context Protocol (MCP) Server (aichili-mcp)
Local Stdio MCP Configuration (Claude Desktop, Cursor, Windsurf, Claude Code, Gemini CLI)
Using uvx (once published on PyPI):
{
"mcpServers": {
"aichili-python": {
"command": "uvx",
"args": ["--from", "aichili", "aichili-mcp"],
"env": {
"AICHILI_API_KEY": "chili_sk_your_key_here"
}
}
}
}Or from a GitHub / virtual-environment install (pip install git+https://github.com/AI-Chili/aichili-python.git):
{
"mcpServers": {
"aichili-python": {
"command": "aichili-mcp",
"env": {
"AICHILI_API_KEY": "chili_sk_your_key_here"
}
}
}
}Remote Streamable HTTP MCP (Zero Local Install)
claude mcp add --transport http aichili https://aichili.ai/mcp
claude mcp add --transport http onlychili https://onlychili.aichili.ai/mcpMCP Tools Included (7 Tools)
Tool | Auth | Description |
| Public | Canonical metadata, endpoints, 5-model table, PAYG credit packs, and OnlyChili Cinema revenue share |
| Public | Live capabilities, workflows, durations, ratios, and pricing rules from |
| Public | Deterministic PAYG credit calculator + |
|
| Current credit balance, plan, and PAYG unlock status via |
|
| Server-side dry-run quote ( |
|
| Enqueue video or talking-avatar generation ( |
|
| Poll job status, segment progress, and output asset via |
Live Public Video & Avatar Models
Model ID | Display Name | Modes | Single-Call Duration | Resolutions | Native Audio | Pricing |
| MiniMax H3 · SOL NSFW |
|
|
| Yes (Stereo) |
|
| MiniMax H3 |
|
|
| Yes | Live quote ( |
| Wan 3.0 |
|
|
| Yes | Live quote ( |
| Seedance 2.5 |
|
|
| Yes | Live quote ( |
| Avatar Talk |
|
|
| Yes (Lip-Sync) |
|
PAYG Credit Packs & OnlyChili Cinema Monetization
Pack | Price (USD) | Credits | Effective Rate |
Free Sign-Up |
|
| Free trial grant |
Starter |
|
|
|
Creator |
|
|
|
Studio & API |
|
|
|
OnlyChili Cinema: Creators keep
80%net revenue across47languages with$2.99–$99.99/mochannel memberships and$0.99–$500.00pay-per-view (PPV) unlocks.
PyPI Trusted Publishing (OIDC)
.github/workflows/publish-pypi.yml publishes aichili to PyPI automatically via GitHub OIDC Trusted Publishing (pypa/gh-action-pypi-publish@release/v1, zero long-lived API tokens) whenever a GitHub Release is published (v1.0.1):
PyPI Project Name:
aichiliOwner:
AI-ChiliRepository:
aichili-pythonWorkflow Name:
publish-pypi.ymlEnvironment Name:
pypi
Security & Testing
Run the zero-dependency test suite (unit tests, PAYG & O(1) pack solver parity, security guards, CLI subprocess checks, stdio MCP JSON-RPC + 1 MiB oversize line guard, and live read-only GET https://videoapi.aichili.ai/v1/registry smoke check):
python3 -m unittest discover -s tests -vOfficial Links
AI Chili Studio: https://aichili.ai
Developer Docs & API Reference: https://aichili.ai/developers
Releases & Changelog: https://github.com/AI-Chili/aichili-python/releases
OnlyChili Cinema: https://onlychili.aichili.ai
Node.js CLI & MCP (
aichili/@aichili/mcp): https://github.com/AI-Chili/aichili
License
MIT — Copyright (c) 2026 AI Chili Inc.
Available Tools
7 toolscreate_video_generationSubmit an AI Chili Video or Avatar GenerationA
Validate, charge credits, and enqueue a video or talking-avatar generation job via POST /v1/generations. Supports idempotency_key for safe retries.
Inputs: mode (required), model_id (required), ratio, params, +10 more.
estimate_video_costEstimate AI Chili PAYG Credits & OnlyChili Creator EarningsBRead-onlyIdempotent
Deterministically calculate PAYG credit usage, recommended credit packs ($0 Free 25 cr, $9.90 Starter 150 cr, $29.90 Creator 460 cr, $49.90 Studio & API 780 cr), and optional OnlyChili Cinema 80% net creator revenue share.
Inputs: seconds, model_id, workflow, ppv_count, +9 more.
get_credit_balanceGet AI Chili Credit Wallet BalanceARead-onlyIdempotent
Fetch live credit wallet balance, daily grant status, and PAYG tier state via GET /v1/credits. Requires chili_sk_... API key.
Inputs: api_key.
get_video_generationGet AI Chili Generation Job Status & OutputARead-onlyIdempotent
Poll job status, segment progress, credit cost, and output asset metadata via GET /v1/generations/{job_id}.
Inputs: job_id (required), api_key.
list_video_modelsList Live AI Chili Video & Avatar ModelsARead-onlyIdempotent
Fetch live capabilities, durations, resolutions, aspect ratios, and credit pricing rules from GET /v1/registry on videoapi.aichili.ai.
Inputs: scope.
plan_video_generationDry-Run & Price a Video Generation PlanARead-onlyIdempotent
Validate parameters and quote exact segment count, duration, and total credits via POST /v1/generations/plan without charging credits or enqueueing a job.
Inputs: mode (required), model_id (required), ratio, params, +9 more.
platform_overviewAI Chili & OnlyChili Platform OverviewBRead-onlyIdempotent
Return canonical metadata for AI Chili Studio & API, the 5 public video/avatar models, PAYG credit packs, API docs URLs, and OnlyChili Cinema creator monetization terms.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools target clearly distinct actions and resources, especially the generation lifecycle tools. There is some overlap between platform_overview and list_video_models, and between estimate_video_cost and plan_video_generation, but the descriptions distinguish static overview vs. live registry and broad cost estimation vs. parameter validation/quoting.
Six tools follow a consistent verb_noun pattern: get_credit_balance, list_video_models, estimate_video_cost, plan_video_generation, create_video_generation, get_video_generation. platform_overview is the sole deviation as a noun_phrase, but it remains readable and predictable.
Seven tools is a well-scoped set for a video generation API surface. Each tool covers a distinct step such as discovery, cost planning, generation creation, polling, and credit balance, with no obvious bloat.
The set covers the core workflow from model discovery and cost estimation through planning, creation, and status polling, along with credit balance and platform metadata. Minor gaps include listing existing generations, canceling or deleting jobs, and retrieving generation history.
Maintenance
Related MCP Connectors
Generate AI video, images and music. Browse models and prices; OAuth and one prepaid balance.
Generate AI video, images and music. Browse models and prices; OAuth and one prepaid balance.
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Generate AI images and videos from your agent: list models, start jobs, and fetch the results.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to generate and upscale AI images, videos, music, and sound effects, manage generation jobs, access model catalogs, and track credits.3MIT

SpicyAPI MCP Serverofficial
AlicenseAqualityBmaintenanceOfficial MCP server for SpicyAPI, an unrestricted AI API with no platform content filter: browse 200+ image, video, audio and chat models, get exact USD quotes, upload local files, create generation tasks and collect results, with a confirmation before every paid step.15168 npm1MIT- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to inspect account status and available models, estimate generation costs, create image and video generations, and track or download resulting tasks using the same website credit balance. It runs as a local stdio server launched through the published CLI.MIT

KeelRouter MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables generating images and videos and calling language models through a hosted API with one key and a prepaid USD balance, including model listing, task polling, and balance checks.MIT