{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kling-ai/json-schema/kling-ai-task-created-response-schema.json",
  "title": "TaskCreatedResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kling-ai-image-generation-api-openapi.yml#/components/schemas/TaskCreatedResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "Business status code (0 indicates success)."
    },
    "message": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "task_id": {
          "type": "string"
        },
        "task_status": {
          "type": "string",
          "enum": [
            "submitted",
            "processing",
            "succeed",
            "failed"
          ]
        },
        "created_at": {
          "type": "integer"
        },
        "updated_at": {
          "type": "integer"
        }
      }
    }
  }
}