Lambdua/openai4j
Java client library for OpenAI API.Full support for all OpenAI API models including Completions, Chat, Edits, Embeddings, Audio, Files, Assistants-v2, Images, Moderations, Batch, and Fine-tuning.
This is a Java client library that helps Java developers integrate OpenAI's powerful AI models into their applications. It takes various inputs like text, images, and audio, processes them using OpenAI's models (e.g., GPT for chat, DALL-E for images), and returns model-generated text, images, or other AI outputs. This tool is designed for Java developers who want to add AI capabilities to their software.
403 stars. No commits in the last 6 months.
Use this if you are a Java developer building an application and need to incorporate features like AI-powered chat, image recognition, text generation, or embeddings using OpenAI's API.
Not ideal if you are not a Java developer or if you are looking for a ready-to-use AI application rather than a library for integration.
Stars
403
Forks
54
Language
Java
License
MIT
Category
Last pushed
Jun 07, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Lambdua/openai4j"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
cequence-io/openai-scala-client
Scala client for OpenAI API and other major LLM providers
taishan666/MaxKB4j
MaxKB4j is an open-source LLMOps platform for LLM workflow applications and RAG developed based...
ai-for-java/openai4j
Java client library for OpenAI API
sashirestela/simple-openai
A Java library to use the OpenAI Api in the simplest possible way.
devlive-community/openai-java-sdk
Provides an easy-to-use SDK for Java developers to interact with the APIs of open AI models.