openai-api

Complete guide for OpenAI's traditional/stateless APIs: Chat Completions (GPT-5, GPT-4o), Embeddings,Images (DALL-E 3), Audio (Whisper + TTS), and Moderation. Includes both Node.js SDK and fetch-basedapproaches for maximum compatibility.Use when: integrating OpenAI APIs, implementing chat completions with GPT-5/GPT-4o, generating textwith streaming, using function calling/tools, creating structured outputs with JSON schemas,implementing embeddings for RAG, generating images with DALL-E 3, transcribing audio with Whisper,synthesizing speech with TTS, moderating content, deploying to Cloudflare Workers, or encounteringerrors like rate limits (429), invalid API keys (401), function calling failures, streaming parseerrors, embeddings dimension mismatches, or token limit exceeded.Keywords: openai api, chat completions, gpt-5, gpt-5-mini, gpt-5-nano, gpt-4o, gpt-4-turbo,openai sdk, openai streaming, function calling, structured output, json schema, openai embeddings,text-embedding-3, dall-e-3, image ge

$ 安裝

git clone https://github.com/jackspace/ClaudeSkillz /tmp/ClaudeSkillz && cp -r /tmp/ClaudeSkillz/skills/openai-api ~/.claude/skills/ClaudeSkillz

// tip: Run this command in your terminal to install the skill