openai-api
Installation
Summary
Complete reference for OpenAI's stateless APIs including Chat Completions, embeddings, images, audio, and moderation.
- Supports GPT-5 series (with reasoning_effort control), GPT-4o multimodal, o3 reasoning models, and legacy GPT-4 variants; streaming, function calling, and structured JSON outputs included
- Embeddings API for RAG with custom dimensions (256–3072), DALL-E 3 image generation, Whisper transcription, and TTS with 11 voices
- Batch API for 50% cost savings on large-scale processing; Realtime API for low-latency voice interactions via WebSocket
- Prevents 16 documented errors including model name mistakes (gpt-5.1-mini doesn't exist), reasoning_effort defaults in GPT-5.1/5.2, embedding dimension mismatches, and TypeScript null-check gotchas
SKILL.md
OpenAI API - Complete Guide
Version: Production Ready ✅ Package: openai@6.16.0 Last Updated: 2026-01-20
Status
✅ Production Ready:
- ✅ Chat Completions API (GPT-5, GPT-4o, GPT-4 Turbo)
- ✅ Embeddings API (text-embedding-3-small, text-embedding-3-large)
- ✅ Images API (DALL-E 3 generation + GPT-Image-1 editing)
- ✅ Audio API (Whisper transcription + TTS with 11 voices)
- ✅ Moderation API (11 safety categories)
- ✅ Streaming patterns (SSE)
- ✅ Function calling / Tools
- ✅ Structured outputs (JSON schemas)
Related skills
More from jezweb/claude-skills
tailwind-v4-shadcn
|
2.7Ktanstack-query
|
2.5Kshadcn-ui
Install and configure shadcn/ui components for React projects. Guides component selection, installation order, dependency management, customisation with semantic tokens, and common UI recipes (forms, data tables, navigation, modals). Use after tailwind-theme-builder has set up the theme infrastructure, when adding components, building forms, creating data tables, or setting up navigation.
2.5Ktailwind-theme-builder
>
2.2Kfastapi
|
2.0Kcolor-palette
>
1.9K