{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hanolab-com/json-schema/hanolab-com-post-api-v1-music-generate-request-schema.json",
  "title": "PostApiV1MusicGenerateRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hanolab-com-openapi-generated.yml#/components/schemas/PostApiV1MusicGenerateRequest",
  "type": "object",
  "properties": {
    "tier": {
      "type": "string",
      "description": "Quality tier (draft / studio / signature / maestro)."
    },
    "prompt": {
      "type": "string",
      "description": "Prompt describing the desired music."
    },
    "lyrics": {
      "type": "string",
      "description": "Optional lyrics."
    },
    "duration": {
      "type": "integer",
      "description": "Desired length of the track in seconds."
    }
  },
  "required": [
    "tier",
    "prompt",
    "duration"
  ]
}