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

Using Deepfloyd Image Generation

Request

URL: https://ai.purlabs.xyz/deepfloyd/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": "A scene where people are commuting to work using giant inflatable rubber ducks instead of regular vehicles."
}

Response

TS Response Interface

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

Example JSON Response

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