PurAI is SHUT DOWN. This website is purely for archival purposes. No such services exist anymore.
Docs
Sberbank
Using Sberbank Image Generation

Using Sberbank Image Generation

Request

URL: https://ai.purlabs.xyz/sberbank/images/generations

Request Method: POST

TS Request Interface

interface Request {
    prompt: string;
    n?: number | null;
    size?: '256x256' | '512x512' | '1024x1024' | null;
    response_format?: 'url' | 'b64_json' | null;
    user?: string;
};

Request API Reference

ParameterType (check TS Interface)RequiredDescription
promptstringRequiredA text description of the desired image(s). The maximum length is 1000 characters.
nnumber | nullOptionalThe number of images to generate. Must be between 1 and 10. Defaults to 1.
sizestring | nullOptionalThe size of the generated images. Must be one of 256x256, 512x512, or 1024x1024. Defaults to 1024x1024.
response_formatstring | nullOptionalThe format in which the generated images are returned. Must be one of url or b64_json. Defaults to url.
userstringOptionalA unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more (opens in a new tab).

Example JSON Request Body

{
  "prompt": "cat",
  "n": 1,
  "size": "1024x1024"
}

Response

TS Response Interface

interface Response {
	created?: number;
	data: {
		url: `https://${string}`
	}[];
};

Example JSON Response

{
    "data": [
        {
            "url": "https://chimeragpt.adventblocks.cc/api/static/images/7lCGEbEDzuBAmAQX.png"
        }
    ]
}