{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phoenixlabs-space/json-schema/phoenixlabs-space-clip-schema.json",
  "title": "Clip",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phoenixlabs-space-openapi.json#/components/schemas/Clip",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "awaiting_upload",
        "queued",
        "processing",
        "done",
        "failed",
        "refused",
        "expired",
        "cancelled"
      ]
    },
    "size": {
      "type": "string"
    },
    "seconds": {
      "type": "integer"
    },
    "prompt": {
      "type": "string"
    },
    "loop": {
      "type": "boolean"
    },
    "amount_cents": {
      "type": "integer"
    },
    "seed": {
      "type": [
        "integer",
        "null"
      ]
    },
    "video_url": {
      "type": "string"
    },
    "download_url": {
      "type": "string"
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}