For the complete documentation index, see llms.txt. This page is also available as Markdown.

llms.txt

AIMLAPI — Unified AI/ML API. Documentation portal

One API to access 500+ AI models for chat, image, video, audio, code, embeddings and vision. Single integration for OpenAI, Anthropic, Google, Meta, ByteDance, DeepSeek, Kling AI, Alibaba Cloud, MiniMax, ElevenLabs and more.

Authentication

Compatibility

  • OpenAI-compatible API

  • Anthropic-compatible API

  • Supports streaming responses

  • Supports multimodal inputs

  • Supports tool calling / function calling

  • Supports JSON mode for compatible models

  • Supports batching for Anthropic models

Production Usage

  • Use exponential backoff for retries

  • Monitor usage via Billing and Logs dashboards

  • Model availability may vary by provider

  • Some models support asynchronous generation workflows

Async Workflows

  • POST /v2/generate/video

  • POST /v2/generate/audio

  • Poll generation status using returned generation IDs

SDKs

Base URL: https://api.aimlapi.com

Core Endpoints

Example Request

Capabilities

chat • image-generation • video-generation • music-generation • speech-to-text • text-to-speech • embeddings • vision • code-generation • reasoning • function-calling • streaming • web-search • batching

Extended Resources

Last updated

Was this helpful?