{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudinary/json-schema/cloudinary-image-to-video-generate-wrapped-response-schema.json",
  "title": "ImageToVideoGenerateWrappedResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudinary-image-to-video-openapi.yml#/components/schemas/ImageToVideoGenerateWrappedResponse",
  "type": "object",
  "required": [
    "request_id",
    "data"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "data": {
      "$ref": "#/$defs/ImageToVideoGenerateResponse"
    }
  },
  "$defs": {
    "ImageToVideoGenerateResponse": {
      "type": "object",
      "required": [
        "job_id",
        "status"
      ],
      "properties": {
        "job_id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "completed",
            "failed"
          ]
        },
        "asset_id": {
          "type": "string",
          "description": "Cloudinary asset ID of the generated video (present when completed)."
        },
        "public_id": {
          "type": "string",
          "description": "Cloudinary public ID of the generated video (present when completed)."
        },
        "resource_type": {
          "type": "string",
          "description": "Cloudinary resource type of the generated video (present when completed)."
        },
        "delivery_type": {
          "type": "string",
          "description": "Cloudinary delivery type of the generated video (present when completed)."
        },
        "url": {
          "type": "string",
          "description": "HTTPS URL of the generated video (present when completed)."
        },
        "message": {
          "type": "string",
          "description": "Error message when generation has failed."
        }
      }
    }
  }
}