{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meetkuro-com/json-schema/meetkuro-com-model-schema.json",
  "title": "Model",
  "description": "A model this server can run.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meetkuro-com-openapi.json#/components/schemas/Model",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "model"
      ]
    },
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "image",
        "clip",
        "voiceover",
        "music"
      ]
    },
    "label": {
      "type": "string"
    },
    "maker": {
      "type": "string"
    },
    "credits": {
      "type": "number",
      "description": "Credits for the request `credits_basis` names."
    },
    "credits_basis": {
      "type": "string"
    },
    "cost_rank": {
      "type": "integer",
      "description": "1 is the cheapest of its type."
    },
    "paid_by": {
      "type": "string",
      "description": "Who pays when a request names no payer: the vendor of your own key, \"house\" or \"credits\"."
    },
    "default": {
      "type": "boolean",
      "description": "Used when a request names no model."
    },
    "aspect_ratios": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "resolutions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "duration": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "min": {
          "type": "number"
        },
        "max": {
          "type": "number"
        },
        "values": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      },
      "required": [
        "min",
        "max",
        "values"
      ],
      "description": "Clip lengths in seconds; null for other types."
    },
    "setting": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "default": {
          "type": "string"
        },
        "options": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "key",
        "default",
        "options"
      ],
      "description": "The one model-specific image setting (`setting` on an image request)."
    },
    "max_reference_images": {
      "type": "integer"
    },
    "max_reference_videos": {
      "type": "integer"
    },
    "max_reference_audios": {
      "type": "integer"
    },
    "supports_first_frame": {
      "type": "boolean"
    },
    "supports_last_frame": {
      "type": "boolean"
    },
    "required_inputs": {
      "type": "object",
      "properties": {
        "image": {
          "type": "boolean"
        },
        "video": {
          "type": "boolean"
        },
        "audio": {
          "type": "boolean"
        }
      },
      "required": [
        "image",
        "video",
        "audio"
      ]
    },
    "voices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ]
      },
      "description": "For a voice-over model, the voices it speaks with."
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "guide": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "prompting": {
          "type": "string"
        },
        "constraints": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pitfalls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "prompting",
        "constraints",
        "pitfalls"
      ],
      "description": "How to prompt it well. Only on `GET /v1/models/{id}`."
    }
  },
  "required": [
    "object",
    "id",
    "type",
    "label",
    "maker",
    "credits",
    "credits_basis",
    "cost_rank",
    "paid_by",
    "default",
    "aspect_ratios",
    "resolutions",
    "duration",
    "setting",
    "max_reference_images",
    "max_reference_videos",
    "max_reference_audios",
    "supports_first_frame",
    "supports_last_frame",
    "required_inputs",
    "voices",
    "languages",
    "guide"
  ]
}