All pages
Powered by GitBook
1 of 1

Loading...

Documentation Map

Learn how to get started with the AI/ML API

This page helps you quickly find the right AI model for your task. Open the API reference and copy a working example to integrate it into your code in minutes.


Trending Models

Cover

Pro-Grade Image Model

Cover

Large-Scale Reasoning Model

Cover

Cinematic Video Generation


Start with this code block 🚀 Setup guide 🧩 SDKs

▶️ Run in Playground


Browse Models

Popular | View all 400+ models >

ChatGPT

DeepSeek

Flux

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 Search panel on your right.

Text Models (LLM)Image ModelsVideo ModelsMusic ModelsVoice/Speech Models3D-Generating ModelsVision ModelsEmbedding Models

Alibaba Cloud: Text/Chat Image Video Text-to-Speech Embedding

Anthracite: Text/Chat

Anthropic: Text/Chat Embedding

Assembly AI: Speech-To-Text

Baidu: Text/Chat

ByteDance: Text/Chat Image Video

Cohere: Text/Chat

DeepSeek: Text/Chat

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

Hume AI: Text-to-Speech

Inworld: Text-to-Speech

Kling AI: Image 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

Sber AI: Video

Stability AI: Image Music 3D-Generation

StepFun: Text/Chat

Tencent: Image Video 3D

VEED: Video

xAI: Text/Chat Image Video

Zhipu: Text/Chat

Completion and Chat CompletionStreaming ModeCode GenerationThinking / ReasoningFunction CallingVision in Text ModelsWeb Search

Going Deeper

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

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 a quick 5-question survey (no personal info required!)

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

Have suggestions for improvement? Let us know!

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)