LogoClawIndex
CasesSkillsAbout
LogoClawIndex

openai-api - Build applications with OpenAI stateless APIs

Guides integration with OpenAI APIs for chat, streaming, tools, embeddings, images, audio, moderation, and error handling.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Call Chat Completions API
  • Stream responses with SSE
  • Define function calling tools
  • Generate structured JSON outputs
  • Create and edit images
  • Transcribe and synthesize audio
  • Generate embeddings for RAG
  • Classify content with moderation
  • Handle API errors and rate limits
  • Use Node.js SDK or fetch

Inputs

  • OpenAI API key
  • User prompts
  • Conversation history
  • Model parameters
  • Tool schemas
  • Image or audio inputs

Outputs

  • Chat completion responses
  • Streaming SSE chunks
  • Function tool calls
  • Structured JSON responses
  • Embeddings
  • Generated or edited images
  • Audio transcriptions
  • Synthesized speech audio
  • Moderation results
  • API error responses

Requirements

  • OpenAI API access
  • OpenAI API key
  • Network access
  • Node.js SDK or fetch-compatible runtime
  • Supported OpenAI models

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
OpenAI
Chat Completions
streaming
function calling
structured outputs
embeddings
image generation
audio
moderation
TypeScript
Call Chat Completions API
Stream responses with SSE
Define function calling tools
Generate structured JSON outputs
OpenAI API key
User prompts
Conversation history
Chat completion responses
Streaming SSE chunks
Function tool calls