SpicyAPI developer documentation
One API. Every multimodal model. Image and video generation runs as tasks: submit one, get an ID immediately and receive the result by webhook. Text models answer through OpenAI-, Anthropic- and Gemini-compatible endpoints. Inputs follow each model's schema, and failed tasks are not billed.
GET /console/v1/catalog/models curl "https://api.spicyapi.ai/console/v1/catalog/models"
# No account or API key needed: every public model and its price.
# To call a model, take its ID from GET /api/v1/models with your key.Quickstart & Auth Verify an account email, top up a US dollar balance, and issue scoped Bearer API keys. Inspect public model listings without a key via GET /console/v1/catalog/models, then switch to GET /api/v1/models with your key for exact callable model IDs, live inputSchema definitions, and per-account eligibility.
Async Media & Webhooks Image, video, audio, and 3D jobs run on one task protocol under /api/v1/jobs/createTask. Upload input assets through /api/v1/files, pass an Idempotency-Key for safe retries, and receive finished outputs either by polling /api/v1/jobs/recordInfo or via signed callBackUrl webhooks with standardized errorCode diagnostics.
OpenAI-Compatible LLMs & Images Serve chat, reasoning, and streaming text models on /v1/chat/completions, /v1/responses, /v1/messages, and Gemini-compatible routes with the same API key. Point existing OpenAI SDKs or chat clients to https://api.spicyapi.ai/v1, stream SSE responses, or generate images via compatibility endpoints without rewriting client code.
SDK / CLI / MCP Integrate directly over HTTP with /openapi.yaml, install MIT-licensed SDKs for TypeScript, Python, Go, PHP, and Java, or drive tasks from the terminal with @spicyapi/cli. Coding agents can query live quotes and run tasks through the @spicyapi/mcp server, portable Agent Skill, or /llms.txt index.
Pricing & Retention Every request is priced transparently in US dollars with zero subscription lock-in. Request an exact pre-flight quote from POST /api/v1/jobs/quote before committing spend; failed or timed-out tasks are refunded automatically. Control how long generated media stays stored and destroy task assets on demand via API.