{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ssemble-com/json-schema/ssemble-com-post-shorts-create-request-schema.json",
  "title": "PostShortsCreateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ssemble-com-openapi-generated.yml#/components/schemas/PostShortsCreateRequest",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "YouTube video URL. Required if fileUrl is not provided."
    },
    "fileUrl": {
      "type": "string",
      "description": "Direct URL to a video file. Required if url is not provided."
    },
    "start": {
      "type": "number",
      "description": "Start time in seconds. Must be >= 0."
    },
    "end": {
      "type": "number",
      "description": "End time in seconds. Must be greater than start."
    },
    "preferredLength": {
      "type": "string",
      "description": "Target duration for generated clips."
    },
    "language": {
      "type": "string",
      "description": "Language of the video content for transcription."
    },
    "captionLanguage": {
      "type": "string",
      "description": "Caption language, if different from the spoken language."
    },
    "templateId": {
      "type": "string",
      "description": "Caption template ID from GET /templates."
    },
    "maxShorts": {
      "type": "integer",
      "description": "Maximum number of shorts to create, from 1 to 12."
    },
    "noClipping": {
      "type": "boolean",
      "description": "Skip AI clipping — process the entire time range as a single clip."
    },
    "captionsEnabled": {
      "type": "boolean",
      "description": "Burn captions into the clips."
    },
    "music": {
      "type": "boolean",
      "description": "Adds background music to the generated clips."
    },
    "musicName": {
      "type": "string",
      "description": "Specific music track name from GET /music."
    },
    "musicNames": {
      "type": "array",
      "description": "Several track names from GET /music (up to 20)."
    },
    "musicVolume": {
      "type": "number",
      "description": "Volume level from 0 (silent) to 100 (full volume)."
    },
    "hookTitle": {
      "type": "boolean",
      "description": "Adds an animated hook title at the beginning of each clip."
    },
    "hookTitlePresetId": {
      "type": "string",
      "description": "Hook title style, used when hookTitle is true."
    },
    "hookTitleStyle": {
      "type": "object",
      "description": "Your own hook title design (required when hookTitlePresetId is \"custom\")."
    },
    "hookTitleDuration": {
      "type": "number",
      "description": "Seconds the hook title stays on screen."
    },
    "memeHook": {
      "type": "boolean",
      "description": "Prepends a short meme clip before the main content."
    },
    "memeHookName": {
      "type": "string",
      "description": "Specific meme hook name from GET /meme-hooks."
    },
    "gameVideo": {
      "type": "boolean",
      "description": "Adds a split-screen gameplay overlay in the bottom half."
    },
    "gameVideoName": {
      "type": "string",
      "description": "Specific game video name from GET /game-videos."
    },
    "ctaEnabled": {
      "type": "boolean",
      "description": "Adds a call-to-action text overlay."
    },
    "ctaText": {
      "type": "string",
      "description": "CTA text content (max 200 characters)."
    },
    "layout": {
      "type": "string",
      "description": "Controls how the source video is framed for vertical output."
    },
    "blurBackground": {
      "type": "boolean",
      "description": "What fills the canvas behind the clip when layout is \"fit\"."
    },
    "backgroundColor": {
      "type": "string",
      "description": "Solid background color as a hex value (only with blurBackground: false)."
    },
    "outroEnabled": {
      "type": "boolean",
      "description": "Append the end-screen outro to every clip."
    },
    "outroText": {
      "type": "string",
      "description": "Localized \"Please subscribe\" text."
    },
    "outroImageUrl": {
      "type": "string",
      "description": "Custom image URL for the outro card."
    },
    "outroSeconds": {
      "type": "integer",
      "description": "Outro duration in seconds, from 1 to 3."
    },
    "outroSting": {
      "type": "boolean",
      "description": "Play the short bell sound during the outro."
    },
    "outroHandle": {
      "type": "string",
      "description": "Channel handle shown under the text."
    },
    "includeSourceLink": {
      "type": "boolean",
      "description": "Adds Source: <link> at the end of each caption when scheduled."
    },
    "customSourceLink": {
      "type": "string",
      "description": "Your own link to use instead of the original video."
    },
    "webhookUrl": {
      "type": "string",
      "description": "URL to receive a POST request when processing completes or fails."
    }
  },
  "required": [
    "url",
    "fileUrl",
    "start",
    "end"
  ]
}