Skip to content

IAHispano/Applio-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applio API

Welcome to the Applio API, your gateway to a vast repository of more than 20,000 RVC models and over 500,000 kits.ai components.

Installation

To get started with the Applio API, follow these simple installation steps:

  1. Install Applio-API using npm:
npm install
  1. Start the API with the following command:
npm run dev

API Reference

Get All Models

Retrieve information about multiple models using the following API endpoint:

GET /key=(secret)/models/perpage=(number)/page=(number)?type=(kits.ai / rvc)
Parameter Type Description
perpage number Required. Number of models to view (max 25).
page number Required. Page number to be displayed
type string Optional. Type of model to fetch

Search Models

Search for specific models by name using the following API endpoint:

GET /key=(secret)/models/search?name=(model_name)&type=(kits.ai / rvc)
Parameter Type Description
search string Required. Name of model to fetch (min 3 letters).
type string Optional. Type of model to fetch

Search User Models

To find specific models based on their associated usernames:

GET /key=(secret)/models/user=(username)?type=(kits.ai / rvc)
Parameter Type Description
user string Required. User owner of the models you want to see (min 3 letters).
type string Optional. Type of model to fetch

Upload Model

Upload a model, you must have an administrator API KEY.

POST /key=(secret)/upload/:id/:name/:link/:image_url/:type/:epochs/:created_at/:algorithm/:author_id/:author_username
Parameter Type Description
key string Required. This action requires an ADMIN API KEY for authorization.
id string Required. Unique identifier for the model.
name string Required. Name of the model.
link string Required. Link associated with the model.
image_url string Required. URL of the model's image.
type string Required. Type of the model.
epochs string Required. Number of epochs for the model.
created_at string Required. Creation date of the model.
algorithm string Required. Algorithm used by the model.
author_id string Required. Identifier of the model's author.
author_username string Required. Username of the model's author.

Get All Blogs

Retrieve information about multiple blogs using the following API endpoint:

GET /key=(secret)/blog/perpage=(number)/page=(number)
Parameter Type Description
perpage number Required. Number of models to view (max 25).
page number Required. Page number to be displayed

Get All Users

Retrieve information about multiple users using the following API endpoint, you must have an administrator API KEY:

GET /key=(secret)/user/perpage=(number)/page=(number)
Parameter Type Description
perpage number Required. Number of models to view (max 25).
page number Required. Page number to be displayed

Generate an API KEY

Generate a user API KEY, you must have an administrator API KEY.

POST /key=(secret)/generateToken
Parameter Type Description
key string Required. This action requires an ADMIN API KEY for authorization.

Check API Status

Check the latency of the API.

GET /ping

Make sure to replace (secret) in the API endpoints with your actual API KEY to authenticate your requests.

Performance Testing

In the table below, you will find the results of our performance tests for the Applio API. We run these tests with every new release, and you can access all the logs here:

Request Count Response Time Version
100 1.0s Beta
250 1.1s Beta
500 1.4s Beta
1000 1.6s Beta
100 0.3s 1.0
250 0.5s 1.0
500 0.9s 1.0
1000 1.3s 1.0
100 0.3s 1.2
250 0.4s 1.2
500 0.6s 1.2
1000 1.2s 1.2

Attempts to scrape data from our API are strictly prohibited.

applio

About

Robust functionality, focused on granting convenient access to AI models developed using the RVC technology.

Topics

Resources

Code of conduct

Stars

Watchers

Forks