{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kreatorflow-ai/json-schema/kreatorflow-ai-lip-sync-request-schema.json",
  "title": "LipSyncRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kreatorflow-ai-lip-sync-api-openapi.yml#/components/schemas/LipSyncRequest",
  "type": "object",
  "properties": {
    "image_upload_id": {
      "type": "string",
      "description": "string required; the photo of the person who speaks: an IMAGE upload_id from POST /v1/uploads (one clearly visible face works best); imageUploadId also accepted"
    },
    "audio_upload_id": {
      "type": "string",
      "description": "string required unless audio_job_id is sent; the voice track: an audio upload_id from POST /v1/uploads (MP3 or WAV, 4 seconds to 5 minutes, 15 MB max); audioUploadId also accepted"
    },
    "audio_job_id": {
      "type": "string",
      "description": "string required unless audio_upload_id is sent; the id of a completed POST /v1/audio job of the same account, used as the voice track; audioJobId also accepted"
    },
    "face_consent": {
      "type": "boolean",
      "description": "boolean optional: true records your own confirmation that you are the person in the photo or have their permission. Your acceptance of the Terms and Acceptable Use Policy covers it either way. Recorded with the job"
    },
    "prompt": {
      "type": "string",
      "description": "string optional, max 2000 chars; direction for expression, gestures or camera"
    },
    "resolution": {
      "type": "string",
      "description": "string optional; 720p (default) or 1080p"
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "https url optional; receives terminal job callbacks"
    },
    "callback_url": {
      "type": "string",
      "description": "alias for webhook_url"
    },
    "idempotency_key": {
      "type": "string",
      "description": "string optional body fallback; prefer Idempotency-Key header"
    }
  },
  "required": [
    "image_upload_id"
  ],
  "additionalProperties": true
}