{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aicontentdrop-com/json-schema/aicontentdrop-com-video-schema.json",
  "title": "Video",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aicontentdrop-com-generation-api-openapi.yml#/components/schemas/Video",
  "type": "object",
  "required": [
    "id",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "generating | completed | failed | timeout"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "prompt": {
      "type": [
        "string",
        "null"
      ]
    },
    "duration": {
      "type": [
        "number",
        "null"
      ]
    },
    "aspect_ratio": {
      "type": [
        "string",
        "null"
      ]
    },
    "credits_used": {
      "type": "number"
    },
    "video_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Populated when status is completed"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "error_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Populated when status is failed"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}