GPT-4o, DALL-E, Whisper, Embeddings. The most widely used AI API.
https://api.openai.com
OpenAI's API gives you access to the GPT family of large language models, DALL-E for image generation, Whisper for speech recognition, and text embedding models for semantic search. It's the most widely deployed AI API in production today.
The API follows a consistent REST pattern with JSON request/response bodies. Most endpoints accept a model parameter and return structured JSON. Streaming is supported via Server-Sent Events for chat completions and the Responses API.
sk-proj-| Method | Path | Description |
|---|---|---|
| POST | /v1/chat/completions |
Chat with GPT-4o, GPT-4o-mini, o1, o3 |
| POST | /v1/responses |
Responses API. Streaming, tools, web search |
| POST | /v1/embeddings |
Generate text embeddings (text-embedding-3-small/large) |
| POST | /v1/images/generations |
Generate images with DALL-E 3 |
| POST | /v1/audio/transcriptions |
Transcribe audio with Whisper |
| POST | /v1/audio/speech |
Text-to-speech (tts-1, tts-1-hd) |
| GET | /v1/models |
List all available models |
| POST | /v1/moderations |
Content moderation. Flag harmful text |
Build conversational AI with GPT-4o. Use tool calling to connect to external data.
Generate blog posts, product descriptions, emails, and marketing copy at scale.
Create images from text prompts with DALL-E 3 for design, marketing, and creative work.
Embed documents and queries with text-embedding-3 for similarity search and RAG.