API reference

List image styles

GET/v1/images/styles

Specify an image generation model available to the current API Key using model to retrieve the style preset catalog supplied by its channel. This catalog is free to query, but API Key, model permissions, and routing are still checked. scope=catalog denotes a global preset list; it does not guarantee that every model supports every style or add style parameter support to generation endpoints. The server may cache the catalog for up to 5 minutes. This query does not generate images.

Authentication and permissions

Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.

Authorization: Bearer $GLOOP_API_KEY

Authentication schemes: BearerAuth

Request

Query parameters

  • modelstringRequired

    Public ID of an image generation model available to the current API Key. Editing, upscaling, and background-removal models are not supported here.

    Maximum length
    191

Responses and errors

HTTP 200

Style catalog

application/json

Type
object
Required fields
objectmodelscopedata
  • objectstringRequired
    Enum
    ["list"]
  • modelstringRequired
  • scopestringRequired
    Enum
    ["catalog"]
  • dataarrayRequired
    data child fields (1)
    • []stringOptional

HTTP 400

Request, authorization, or service unavailable

application/json

Type
object

HTTP 401

Request, authorization, or service unavailable

application/json

Type
object

HTTP 403

Request, authorization, or service unavailable

application/json

Type
object

HTTP 503

Request, authorization, or service unavailable

application/json

Type
object