Model API

Run a model

curl https://api.leisiyu.dev/v1/models \
  -H "Authorization: Bearer $API_KEY"

Call a model by its id. An empty request returns an example of its input and output and does not use a call.

curl https://api.leisiyu.dev/v1/models/parse-duo-2-1125a \
  -H "Authorization: Bearer $API_KEY"

Uploaded audio is not stored. Results are kept for 24 hours, and repeating a request within that time does not use a call.