All pages
Powered by GitBook
1 of 1

Loading...

Documentation Map

Learn how to get started with the AI/ML API

This documentation portal is designed to help you choose and configure the AI model that best suits your needsโ€”or one of our solutions (ready-to-use tools for specific practical tasks) from our available options and correctly integrate it into your code.

Have suggestions for improvement? Let us know!


Trending Models


Start with this code block ๐Ÿช Step-by-step example:

๐Ÿช Choose the SDK to use:


Browse Models

Popular |

Select the model by its Task, by its Developer or by the supported Capabilities:

If you've already made your choice and know the model ID, use the on your right.

Alibaba Cloud:

Anthracite:

Anthropic:

Assembly AI:

BAAI:

ByteDance:

Cohere:

DeepSeek

Browse Solutions

  • โ€“ if you need to create a project where information must be found on the internet and then presented to you in a structured format, use this solution.

  • โ€“ if you need to create tailored AI Assistants capable of handling customer support, data analysis, content generation, and more.


Going Deeper

Have a Minute? Help Make the Docs Better!

Weโ€™re currently working on improving our documentation portal, and your feedback would be incredibly helpful! Take (no personal info required!)

You can also rate each individual page using the built-in form on the right side of the screen:

:

Deepgram: Speech-To-Text Text-to-Speech

ElevenLabs: Text-to-Speech Voice Chat Music

Flux: Image

Google: Text/Chat Image Video Music Vision(OCR) Embedding

Gryphe: Text/Chat

Inworld: Text-to-Speech

Kling AI: Video

Krea: Video

LTXV: Video

Meta: Text/Chat

Microsoft: Text-to-Speech

MiniMax: Text/Chat Video Music Voice-Chat

Mistral AI: Text/Chat Vision(OCR)

Moonshot: Text/Chat

NousResearch: Text/Chat

NVIDIA: Text/Chat

OpenAI: Text/Chat Image Speech-To-Text Embedding

Perplexity: Text/Chat

PixVerse: Video

RecraftAI: Image

Reve: Image

Runway: Video

Stability AI: Image Music 3D-Generation

Sber AI: Video

Tencent: Image

Together AI: Embedding

VEED: Video

xAI: Text/Chat Image

Zhipu: Text/Chat

Completion and Chat CompletionStreaming ModeCode GenerationThinking / ReasoningFunction CallingVision in Text Models (Image-To-Text)Web Search

Use more text model capabilities in your project: ๐Ÿ“– โ€‹Completion and Chat Completion

๐Ÿ“– Function Calling

๐Ÿ“– Streaming Mode

๐Ÿ“– Vision in Text Models (Image-to-Text)

๐Ÿ“– Code Generation

๐Ÿ“– Thinking / Reasoning

๐Ÿ“– Web Search

Miscellaneous: ๐Ÿ”— Integrations

๐Ÿ“— Glossary

โš ๏ธ Errors and Messages

โ“ FAQ โ€‹

Learn more about developer-specific features: ๐Ÿ“– Features of Anthropic Models

Pro-Grade Image Model

Top Video Generator

Smarter Reasoning & Coding

View all 200+ models >
Search panel
Text Models (LLM)
Image Models
Video Models
Music Models
Voice/Speech Models
Content Moderation Models
3D-Generating Models
Vision Models
Embedding Models
Text/Chat
Image
Video
Text-to-Speech
Text/Chat
Text/Chat
Embedding
Speech-To-Text
Embedding
Image
Video
Text/Chat
AI Search Engine
OpenAI Assistants
a quick 5-question survey
Setting Up
Supported SDKs

Cover
Cover
Cover
Text/Chat
from openai import OpenAI
client = OpenAI(
base_url="https://api.aimlapi.com/v1",
api_key="<YOUR_AIMLAPI_KEY>",
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Write a one-sentence story about numbers."}]
)
print(response.choices[0].message.content)
ChatGPT
DeepSeek
Flux