Skip to content

Agora-Lab-AI/APACAI-API-OpenAPI

Repository files navigation

OpenAPI spec for the ApacAI API

This repository contains an OpenAPI specification for the ApacAI API, as well as a script that uses OpenAPI Generator to auto-generate client SDKs from the specification.

OpenAPI Generator uses mustache templates to generate code — the files in the sdk-template-overrides folder override the corresponding built-in template files with small edits required for the ApacAI SDKs. More detail on each currently generated SDK is provided below.

Node.js

Example command to generate the SDK

$ python scripts/generate_sdk.py -s node -o ~/apacai-node

Node.js specific details

  • The operationId of each operation is used as the function name for that operation
  • The tag determines the name of the Javascript class that contains that operation
  • schema names map to Typescript type names

Roadmap

  • Deploy whisperx

  • Deploy Pegasus embedding moddel that can accept images, videos, sensor data, and so on

  • Deploy Kosmos-X

  • Deploy Andromeda

  • Deploy PALM-E

  • Generate Developer Platform with the same principles as OPEN AI's with documentation and examples

Hub

About

OpenAPI specification for the APAC AI API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published