{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumeta-ai/json-schema/lumeta-ai-model-schema.json",
  "title": "Model",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumeta-ai-openapi.json#/components/schemas/Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "image",
        "video",
        "audio",
        "other"
      ]
    },
    "description": {
      "type": "string"
    },
    "long_description": {
      "type": [
        "string",
        "null"
      ]
    },
    "min_plan": {
      "type": "integer",
      "description": "The access level a model needs: 1 Free, 2 and up paid; `min_plan_name` names the plan. Some choices inside a model can need more: `x-lumeta-option-min-plan` in its input schema."
    },
    "min_plan_name": {
      "type": "string",
      "description": "The cheapest plan on sale that opens the model."
    },
    "base_credits": {
      "type": "number",
      "description": "Base price. POST /v1/estimate gives the required credits for the input."
    },
    "edits_media": {
      "type": "boolean",
      "description": "Takes an image/video/audio in and edits it."
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "schema_url": {
      "type": "string"
    },
    "schema_hash": {
      "type": "string",
      "description": "Changes when the input schema changes."
    },
    "prompt_guide": {
      "type": "object",
      "description": "How to write a prompt for this model, on models that have a guide (Seedance today), GET /v1/models/{model} only: `text` is Markdown, `version` changes when the rules do. It is the guide the website's AI Enhance Prompt follows; Seedance's rules differ between its `engine` 2.0 and 2.5, marked in the text.",
      "properties": {
        "version": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      }
    },
    "input_schema": {
      "type": "object",
      "description": "JSON Schema 2020-12 of `input` (GET /v1/models/{model} only). A field whose default, price or meaning changed recently carries `x-lumeta-notices`: a list of `{\"when\", \"until\", \"text\"}`, where `when` is `omitted` (it applies to requests that leave the field out), `sent` (requests that send it) or `always`. The same sentence comes back in `warnings` on the requests it applies to, until the `until` date."
    },
    "compat": {
      "type": "object",
      "description": "Other APIs' names for this model, on models that have one: {\"higgsfield\": [paths]} are the Higgsfield API paths that run it at https://api.lumeta.ai/higgsfield.",
      "properties": {
        "higgsfield": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}