GET
/
pub
/
v1
/
styles
curl --request GET \
  --url https://api.rendernet.ai/pub/v1/styles \
  --header 'X-API-KEY: <x-api-key>'
{
  "data": [
    {
      "base_model": "SD 1.5",
      "name": "Realistic Anime"
    }
  ],
  "err": {},
  "pagination": {
    "page": 1,
    "page_size": 10,
    "total": 100
  }
}

Headers

X-API-KEY
string
required

API key needed to access our public endpoints. You can find yours under the 'Account' section of the website

Query Parameters

type
enum<string>

The type of the styles.

Available options:
sd,
sdxl,
flux
page
integer

The page number of the resource list

page_size
integer

The page size of the resource list

Response

200 - application/json
Successful response containing the list of resources
data
object[]
err
object

The error if the request was not successful

pagination
object

The pagination data of the request