{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adsturbo-ai/json-schema/adsturbo-ai-open-video-extend-body-schema.json",
  "title": "OpenVideoExtendBody",
  "description": "Extend a video. Provide either `workspace_id` for an internal source video or `video_url` for an external source video; sending both or neither returns an error.\n`duration` is the number of seconds appended to the source video.\n\nOnly the `seedance-2.0` model base is supported. `duration` ranges from 4 to 15 seconds, defaulting to 15. `resolution` supports `720p` and `1080p`.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adsturbo-ai-openapi.json#/components/schemas/OpenVideoExtendBody",
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string"
    },
    "video_url": {
      "type": "string",
      "description": "Source video URL."
    },
    "prompt": {
      "type": "string"
    },
    "duration": {
      "type": "integer",
      "format": "int32",
      "minimum": 4,
      "maximum": 15,
      "description": "Seconds to append to the source video. Range: 4 to 15. Default: 15."
    },
    "model": {
      "type": "string",
      "enum": [
        "seedance-2.0"
      ],
      "default": "seedance-2.0",
      "description": "Only `seedance-2.0` is supported."
    },
    "ratio": {
      "type": "string"
    },
    "resolution": {
      "type": "string",
      "enum": [
        "720p",
        "1080p"
      ]
    },
    "callback_id": {
      "type": "string",
      "description": "Custom tracking ID, echoed back in `/openapi/v1/work/status` results so you can match tasks to your own records (webhook delivery is not available yet)."
    },
    "idempotency_key": {
      "type": "string"
    }
  }
}