This repository provides a comprehensive collection of Java code examples for the official OpenAI API library. It demonstrates how to implement various AI functionalities, including text completions, image generation, audio transcription, and structured outputs, using both synchronous and asynchronous patterns.
Highlights
Covers a wide range of OpenAI services such as embeddings, function calling, and image editing
Provides implementation examples for both synchronous and asynchronous workflows
Includes advanced features like structured outputs and audio transcription (VTT)
Hosted as an official open-source resource for easy integration into Java applications
OpenAI APIJava ProgrammingLarge Language ModelsAPI Integration
Discover Similar Content
github.com
GitHub - openai/openai-openapi: OpenAPI specification for the OpenAI API
OpenAPI specification for the OpenAI API. Contribute to openai/openai-openapi development by creating an account on GitHub.
github.com
GitHub - numman-ali/opencode-openai-codex-auth: OpenAI ChatGPT (Codex backend) OAuth auth plugin for opencode - use your ChatGPT Plus/Pro subscription instead of API credits
OpenAI ChatGPT (Codex backend) OAuth auth plugin for opencode - use your ChatGPT Plus/Pro subscription instead of API credits - numman-ali/opencode-op...
api-for-cursor.standardagents.ai
API for Cursor - Cursor Composer in Any Coding Agent
Use Cursor’s models with any harness. Run Composer through a local OpenAI-compatible API for OpenCode, Codex, VS Code, Cline, Kilo Code, pi, and your ...