{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-list-response-generation-model-schema.json",
  "title": "ListResponse_GenerationModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-audio-api-openapi.yml#/components/schemas/ListResponse_GenerationModel",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "list"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GenerationModel"
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "object",
    "data",
    "has_more",
    "url"
  ],
  "$defs": {
    "GenerationModel": {
      "type": "object",
      "properties": {
        "object": {
          "type": "string",
          "enum": [
            "model"
          ]
        },
        "id": {
          "type": "string"
        },
        "tier": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "fast",
            "balanced",
            "quality",
            null
          ],
          "description": "Quality tier this model backs. Pass the tier name as `model` instead of the id."
        },
        "default": {
          "type": "boolean"
        },
        "unit_price": {
          "type": [
            "number",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "credits_per_second": {
          "type": [
            "number",
            "null"
          ],
          "description": "Video models only: Crevio credits per second of output, from what recent generations were billed."
        }
      },
      "required": [
        "object",
        "id",
        "default"
      ]
    }
  }
}