Using open-ai with openai.com

PHP integration

Install
composer require open-ai
Returns a list of files that belong to the user's organization.
curl \
  https://api.openai.com/v1/files
Lists the currently available models, and provides basic information about ea…
curl \
  https://api.openai.com/v1/models
Lists the currently available (non-finetuned) models, and provides basic info…
curl \
  https://api.openai.com/v1/engines
SDK on GitHub 📄 API Docs
SDK
open-ai
PHP
API
openai.com
openai.com
At a glance
Language PHP
Endpoints28
Base URLhttps://api.openai.com/v1