{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adsturbo-ai/json-schema/adsturbo-ai-open-ad-clone-generate-body-schema.json",
  "title": "OpenAdCloneGenerateBody",
  "description": "Submit an AdClone generation task. The response contains an async task ID (`workspace_id`).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adsturbo-ai-adclone-api-openapi.yml#/components/schemas/OpenAdCloneGenerateBody",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Prompt. You can modify the prompt returned by Analyze."
    },
    "video_url": {
      "type": "string",
      "description": "Source video segment URL returned by Analyze."
    },
    "duration": {
      "type": "integer",
      "format": "int32",
      "enum": [
        4,
        8,
        12,
        16,
        20
      ],
      "description": "Output duration in seconds. Values outside the allowed set (including omitted) fall back to 12."
    },
    "ratio": {
      "type": "string",
      "description": "Aspect ratio. Empty = `9:16`."
    },
    "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)."
    }
  }
}