restai

API Endpoints

Create a new Project

POST /projects

Parameters

Response

Get Project list

GET /projects

Response

Get a Project

GET /projects/{projectname}

Parameters

Response

Create an user

POST /users

Parameters

Response

Get an user

GET /users/{username}

Parameters

Response

Generate an user’s API key

POST /users/{username}/apikey

Parameters

Response

Get user list

GET /users

Response

Get an LLM

GET /llms/{llmname}

Parameters

Response

Get all LLMs

GET /llms

Response

Generate a completion

POST /projects/{projectName}/question

Parameters

Advanced parameters (optional):

Response

Generate an image

POST /image/{generator}/generate

Parameters

Response

Get image generators list

GET /image

Parameters

Response