{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aideepfake-io/json-schema/aideepfake-io-post-api-v1-face-swap-request-schema.json",
  "title": "PostApiV1FaceSwapRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/aideepfake-io-openapi-generated.yml#/components/schemas/PostApiV1FaceSwapRequest",
  "type": "object",
  "properties": {
    "sourceUrl": {
      "type": "string",
      "description": "URL of the source face image."
    },
    "targetUrl": {
      "type": "string",
      "description": "URL of the target image or video."
    },
    "targetType": {
      "type": "string",
      "description": "Set to \"image\" or \"video\"."
    },
    "faceEnhance": {
      "type": "boolean"
    },
    "frameEnhance": {
      "type": "boolean"
    },
    "watermark": {
      "type": "boolean"
    },
    "targetDurationSeconds": {
      "type": "integer"
    }
  },
  "required": [
    "sourceUrl",
    "targetUrl",
    "targetType"
  ]
}