ai_ping

An authenticated client can post a request to Ping

Ping acts as an integration test AI. It does not cost anything to call, and acts like all other AIs would. Check backend integration with Ping before integrating other AIs

This AI can run AI alongside a Daemon on CPU only, but we strongly recommend to run it on a GPU machine, as the name of the machine is the uid of its GPU.

Post a request to AI Ping via OpenSourceAIs

POST https://opensourceais.com/api/v1/private/client/ai/ping

Request Body

Name
Type
Description

width*

Number

The width of the output image. Defaults to 512

height*

Number

The height of the output image. Defaults to 512

url_upload*

String

A well formed URI starting with https://... and accessing a PNG or JPG image. Note that if the image is not of the width and height size passed in parameters, it will be automatically cropped or resized.

{
    "data": {
        "uid": 1678361974000,
        "created_at": "2023-03-09T11:39:44.000Z"
    }
}

Last updated