# AI/ML API MCP MCP

Vendor: AI/ML API MCP  
Category: other  
Auth: OAUTH2  
Composio slug: `ai_ml_api_mcp`

AI/ML API MCP lets agents browse and compare hundreds of AI models, run chat, embedding, image, video, audio, speech and OCR generation, track jobs, and check account balance and usage.

## Tools

- **Account balance** — Get the balance of the AIMLAPI account that owns this API key, and whether it is running low. Use it before a costly generation or after an insufficient_balance error; for what this key has spent and its spending limit, use account_usage. F
- **Account usage** — Get this API key's spending and the spending limit set on it, if any, with what is left of the limit. Use it to see how much a key has used or how close it is to its cap; for the money left on the account, use account_balance. Free. Returns
- **Audio generate** — Start generating music — a song with or without lyrics, or an instrumental — from a text prompt with an AIMLAPI music model. For text-to-speech use speech_generate, for speech-to-text speech_transcribe, for images image_generate, for video 
- **Document ocr** — Read the text of a scanned document or an image (OCR) with an AIMLAPI OCR model. To ask questions about the text afterwards, pass it to llm_chat. Billed to your AIMLAPI balance at the model's price, usually per page (see model_get). Returns
- **Embeddings create** — Turn text into embedding vectors (lists of numbers that capture its meaning) with an AIMLAPI embedding model, for semantic search, retrieval, clustering or deduplication. To generate text, use llm_chat. Billed to your AIMLAPI balance per in
- **Image edit** — Edit images with an OpenAI gpt-image or xAI grok-imagine model: give the images by URL and describe the change. For other edit models (Nano Banana edit, Qwen image edit, Flux Kontext), and to generate new images, use image_generate. Billed 
- **Image generate** — Generate images from a text prompt — or edit an image, or turn one into a 3D model, with a model that does that (the input image goes in `params`) — with an AIMLAPI image model. To edit with an OpenAI gpt-image or xAI grok-imagine model, us
- **Jev model search** — Find the right AI model for a task described in plain words — chat and coding LLMs, image generation or editing, video, text-to-speech, speech-to-text, music, embeddings, OCR, 3D, classification — ranked by Jev (TypeSafe Jev, an AI model th
- **Jev tool search** — Find an API tool for a task described in plain words — web search, reading or scraping a web page, social media (X, Instagram, TikTok, Reddit, YouTube, Facebook, LinkedIn), maps and place reviews, SEO, stocks and crypto data, company data, 
- **Job result** — Get the output of a job. Call it once job_status reports "complete" — or directly: an unfinished job comes back with status "processing" and `ready: false`, a failed one with status "error" and `error`. Returns `job_id`, `kind`, `model`, `s
- **Job status** — Check how a generation job is going, without fetching its output. Jobs come from video_generate, audio_generate and speech_transcribe, and from image_generate, image_edit, llm_chat, speech_generate or document_ocr when they answered with a 
- **Llm chat** — Get a reply from any AIMLAPI language model (the `model` parameter selects it) to a list of chat messages: text, code, reasoning, image understanding for vision models, and function calling with your own `tools`. For embeddings use embeddin
- **Model get** — Get everything about one model, by id or alias: capabilities, input and output modalities, limits, the complete price list and recent performance metrics. Use it before running a model to check its price options and limits; to compare sever
- **Models compare** — Compare 2–10 models side by side: capabilities, the full price list and recent performance metrics of each. Use it to choose between candidates you already have (from models_list, models_search or jev_model_search); for a single model use m
- **Models find best** — Rank models by a single objective — the cheapest (optimize_for 'cheapest', by comparable price) or the fastest ('fastest', by median latency over recent traffic) — and return the top few. Use it for questions like "the cheapest image model"
- **Models list** — Browse the AIMLAPI model catalog: all models, or those matching filters (modality, maximum price, minimum context window, required capabilities), sorted by id and paginated. Use it to see what is available; to find a model by name or keywor
- **Models search** — Find AIMLAPI models whose id, aliases, name, description or tags contain a keyword (case-insensitive substring), optionally narrowed by the same filters as models_list. Use it when you know part of a name or a keyword, e.g. "flux", "whisper
- **Ping** — Check that the AIMLAPI MCP server is reachable and accepts your API key. Takes no input and returns the text "pong"; it runs no model and costs nothing. To see the balance, use account_balance.
- **Speech generate** — Read a text aloud with an AIMLAPI text-to-speech model and get a link to the audio file. For music use audio_generate; to turn speech into text use speech_transcribe. Billed to your AIMLAPI balance at the model's price, usually per characte
- **Speech transcribe** — Start transcribing a recording (speech to text) with an AIMLAPI speech-to-text model, from a URL the platform downloads. To read text aloud use speech_generate. Billed to your AIMLAPI balance at the model's price, usually per second of audi
- **Tools inspect** — Get one Agent Tool by id (from tools_search or jev_tool_search): its input schema, description, current price and health. Use it before tools_run to build a valid `input` and check the cost. Free: it does not run the tool. Returns `id`, `na
- **Tools run** — Run an Agent Tool by id with its `input`, built from the inputSchema that tools_inspect returns. Billed to your AIMLAPI balance at the tool price, never above `max_cost_usd`. Returns the result when the run finishes within `wait_ms`; a long
- **Tools run status** — Check a run started by tools_run, by its `run_id`. While the run is in progress it returns `status` (e.g. "queued" or "running") and `next_poll_hint_ms`, how long to wait before checking again; once it has finished ("completed", "failed", "
- **Tools search** — Search the AIMLAPI Agent Tools catalog for external tools that do what the query describes: web and news search, web page scraping and content extraction (read a URL), social media (Reddit, X, TikTok, YouTube, Instagram and more), company d
- **Video generate** — Start generating a video from a text prompt — or from an image, with an image-to-video model — with an AIMLAPI video model. For images use image_generate, for music audio_generate. Billed to your AIMLAPI balance at the model's price, usuall

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect AI/ML API MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention AI/ML API MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/ai-ml-api-mcp