{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ludo-ai/main/json-schema/ludo-ai-generate-pose-request-schema.json",
  "title": "GeneratePoseRequest",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ludo-ai-images-api-openapi.yml#/components/schemas/GeneratePoseRequest",
  "type": "object",
  "required": [
    "image",
    "pose"
  ],
  "properties": {
    "image": {
      "type": "string",
      "description": "URL or base64-encoded sprite image."
    },
    "pose": {
      "type": "string",
      "description": "Target pose for the sprite. Can be a preset or custom description.",
      "enum": [
        "Idle (Front)",
        "Idle (Back)",
        "Walk / Run (Left)",
        "Attack Ready",
        "Jumping",
        "Crouching",
        "Flying",
        "Defending / Blocking"
      ]
    },
    "description": {
      "type": "string",
      "description": "Additional instructions to guide pose generation."
    },
    "n": {
      "type": "integer",
      "description": "Number of pose variations to generate.",
      "minimum": 1,
      "maximum": 4,
      "default": 1
    },
    "request_id": {
      "type": "string",
      "description": "Client-provided ID to retrieve results later via the results endpoint."
    }
  }
}