{
  "openapi": "3.0.1",
  "info": {
    "title": "Ozyshare: Talking-Head Video Editor & Clip Maker",
    "description": "Auto captions and subtitles timed to every word for your own talking-head videos, plus animations, music and cuts, as finished MP4s. Or repurpose a long podcast, talk or stream into short clips for TikTok, Reels, YouTube Shorts, LinkedIn and X, each with a ready post.",
    "version": "0.0",
    "x-build-id": "ke8vaUEUQI6d3qhjT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/petroshong~Ozyshare/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-petroshong-Ozyshare",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/petroshong~Ozyshare/runs": {
      "post": {
        "operationId": "runs-sync-petroshong-Ozyshare",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/petroshong~Ozyshare/run-sync": {
      "post": {
        "operationId": "run-sync-petroshong-Ozyshare",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "videos": {
            "title": "Videos",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "Replace the sample with your own video. Upload your video files, or paste links to them: Dropbox and Google Drive share links work (shared with anyone who has the link), as does any direct link to an MP4, MOV or WebM file. Up to 20 videos per run, each edited with the settings below. Up to 10 minutes for one edit, up to 60 minutes to condense or make clips. By running this Actor you confirm these videos are yours or that you have the right to edit and publish them (https://api.ozyshare.com/terms)."
          },
          "subtitlesOnly": {
            "title": "Captions file only (no video)",
            "type": "boolean",
            "description": "Just the captions: an .srt and .vtt subtitle file, the plain transcript and word-timed JSON, with no video made. Only the transcription is charged (nothing if the video was transcribed before), and it takes about half the video's length. Videos up to 60 minutes.",
            "default": false
          },
          "videoUrl": {
            "title": "Video URL (one video)",
            "type": "string",
            "description": "One video by link, for API and agent callers. Same as a one-entry \"videos\"."
          },
          "datasetId": {
            "title": "Videos from a dataset",
            "type": "string",
            "description": "The ID or name of a dataset in your account (another Actor's results, such as a storage or download run): each row's link to a video file is edited, up to 20. Clear the sample from \"Videos\" first. When this Actor is started by an Apify integration after another run, that run's dataset is used on its own."
          },
          "datasetField": {
            "title": "Dataset field",
            "type": "string",
            "description": "The field of each dataset row that holds the link (dots for nested fields, e.g. \"media.url\"). Empty: the first of videoFileUrl, downloadUrl, fileUrl, mediaUrl, videoUrl, video, url that holds one."
          },
          "preset": {
            "title": "Preset",
            "enum": [
              "shorts",
              "youtube",
              "linkedin",
              "podcast-clip",
              "captions-only",
              "hype"
            ],
            "type": "string",
            "description": "A starting point; the fields below override it."
          },
          "direction": {
            "title": "Direction",
            "maxLength": 600,
            "type": "string",
            "description": "The video you want, in plain words. Length and platform (\"a 30 s TikTok\"), cuts (\"cut the ums\", \"remove pauses\", \"punch-ins\"), style, music, what to focus on. Fields you set yourself win."
          },
          "names": {
            "title": "Names & terms",
            "type": "array",
            "description": "Names and words said in the video, spelled right: your name, your brand, product names (e.g. Apify, Hormozi). Words the transcription heard a little wrong (\"Appify\", \"a pify\", \"Hormozy\") become these before the edit is made.",
            "items": {
              "type": "string"
            }
          },
          "fixWords": {
            "title": "Fix words",
            "type": "object",
            "description": "A word or name the transcription gets wrong, put right in the captions: {\"what it says\": \"what it should say\"}, e.g. {\"hormozy\": \"Hormozi\"}. Names & terms does this for names on its own."
          },
          "animations": {
            "title": "Animations",
            "enum": [
              "none",
              "few",
              "balanced",
              "lots"
            ],
            "type": "string",
            "description": "Animations matched to what is said (numbers become counters and charts, lists build line by line, places become maps…). Off by default: the video gets captions only. Pick an amount to add them, or ask for them in Direction (\"a few animations\"); the Hype preset adds lots."
          },
          "makeClips": {
            "title": "Make clips from a long video",
            "type": "boolean",
            "description": "Instead of one edit: find the moments that stand on their own and render each as its own MP4 for each frame its platforms need, with a post (title, caption, hashtags).",
            "default": false
          },
          "clipCount": {
            "title": "How many clips (at most)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "At most this many clips; fewer come back when the video has fewer moments that stand on their own.",
            "default": 5
          },
          "clipPlatforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Each clip is rendered once per frame these need: TikTok, Reels, Shorts, Facebook 9:16; LinkedIn 4:5; X 1:1; YouTube 16:9. Default TikTok, Reels and Shorts.",
            "items": {
              "type": "string",
              "enum": [
                "tiktok",
                "reels",
                "shorts",
                "facebook",
                "linkedin",
                "x",
                "youtube"
              ],
              "enumTitles": [
                "TikTok",
                "Instagram Reels",
                "YouTube Shorts",
                "Facebook",
                "LinkedIn",
                "X",
                "YouTube"
              ]
            }
          },
          "clipFocus": {
            "title": "What the clips should be about",
            "maxLength": 300,
            "type": "string",
            "description": "Optional, e.g. \"money advice\"."
          },
          "condenseToSeconds": {
            "title": "Condense to (seconds)",
            "minimum": 10,
            "maximum": 3600,
            "type": "integer",
            "description": "Cut a long video down to its interesting parts, about this long. Not with clips."
          },
          "trim": {
            "title": "Trim",
            "type": "object",
            "description": "Where in the video to start and stop, in seconds: {\"start\": 2, \"end\": 58}."
          },
          "removePauses": {
            "title": "Remove pauses",
            "type": "boolean",
            "description": "Cut the silences between words (jump cuts).",
            "default": false
          },
          "removeFillers": {
            "title": "Remove filler words",
            "type": "boolean",
            "description": "Cut um, uh, erm and hmm.",
            "default": false
          },
          "punchIns": {
            "title": "Punch-in zooms",
            "type": "boolean",
            "description": "Zoom in and out on the speaker to keep the picture moving (every other part after jump cuts, or on the strongest lines).",
            "default": false
          },
          "reframe": {
            "title": "Keep the face in frame",
            "type": "boolean",
            "description": "Track the speaker's face when the output frame crops the video (16:9 footage made 9:16).",
            "default": false
          },
          "followFace": {
            "title": "With several people, follow",
            "enum": [
              "auto",
              "left",
              "center",
              "right"
            ],
            "type": "string",
            "description": "Whose face the frame follows (and the captions keep clear of) when more than one person is in the shot, e.g. a podcast with two hosts. Picking a person turns on Keep the face in frame. You can also say it in Direction: \"follow the speaker on the left\".",
            "default": "auto"
          },
          "captionStyle": {
            "title": "Caption style",
            "enum": [
              "pop",
              "box",
              "karaoke",
              "highlight",
              "bounce",
              "typewriter",
              "underline",
              "gradient",
              "neon",
              "sticker",
              "twotone",
              "glass",
              "outline",
              "minimal"
            ],
            "type": "string",
            "description": "Pictures of each: https://api.ozyshare.com/v1/styles"
          },
          "aspect": {
            "title": "Frame",
            "enum": [
              "auto",
              "9:16",
              "4:5",
              "1:1",
              "16:9"
            ],
            "type": "string",
            "description": "Default: matches the video, or what the preset or direction asks for."
          },
          "resolution": {
            "title": "Resolution",
            "enum": [
              "1080",
              "720"
            ],
            "type": "string",
            "description": "1080p (1080×1920 for 9:16, 1080×1350 for 4:5, 1080×1080 square) or 720p (720×1280). 720p renders a little faster."
          },
          "music": {
            "title": "Music",
            "enum": [
              "auto",
              "none",
              "lofi",
              "upbeat",
              "chill",
              "cinematic",
              "hiphop",
              "synthwave",
              "acoustic",
              "corporate",
              "suspense",
              "trap"
            ],
            "type": "string",
            "description": "Generated, so there is nothing to license."
          },
          "noiseReduction": {
            "title": "Remove background noise",
            "type": "boolean",
            "description": "Remove hiss, hum, fans and room noise from the voice. Not for other people talking in the background.",
            "default": false
          },
          "language": {
            "title": "Spoken language",
            "enum": [
              "auto",
              "af",
              "sq",
              "am",
              "ar",
              "hy",
              "as",
              "az",
              "bn",
              "ba",
              "eu",
              "be",
              "bs",
              "br",
              "bg",
              "my",
              "ca",
              "zh",
              "hr",
              "cs",
              "da",
              "nl",
              "en",
              "et",
              "fo",
              "tl",
              "fi",
              "fr",
              "gl",
              "ka",
              "de",
              "el",
              "gu",
              "ht",
              "ha",
              "haw",
              "he",
              "hi",
              "hu",
              "is",
              "id",
              "it",
              "ja",
              "jw",
              "kn",
              "kk",
              "km",
              "ko",
              "lo",
              "la",
              "lv",
              "ln",
              "lt",
              "lb",
              "mk",
              "mg",
              "ms",
              "ml",
              "mt",
              "mi",
              "mr",
              "mn",
              "ne",
              "no",
              "nn",
              "oc",
              "ps",
              "fa",
              "pl",
              "pt",
              "pa",
              "ro",
              "ru",
              "sa",
              "sr",
              "sn",
              "sd",
              "si",
              "sk",
              "sl",
              "so",
              "es",
              "su",
              "sw",
              "sv",
              "tg",
              "ta",
              "tt",
              "te",
              "th",
              "bo",
              "tr",
              "tk",
              "uk",
              "ur",
              "uz",
              "vi",
              "cy",
              "yi",
              "yo"
            ],
            "type": "string",
            "description": "The language spoken in the video, for transcription (any of 99). Default: detected from the speech."
          },
          "aiDirector": {
            "title": "AI director (Claude plans the edit)",
            "type": "boolean",
            "description": "Claude reads the whole transcript and the direction and plans each line; with clips, it picks them and writes their posts. Charged per minute (ai-minute), on a paid Apify plan; free with your own Anthropic API key below.",
            "default": false
          },
          "translateTo": {
            "title": "Translate captions to",
            "maxLength": 40,
            "type": "string",
            "description": "e.g. \"es\", \"Spanish\". Claude translates; the voice is unchanged. Charged per minute (ai-minute), on a paid Apify plan; free with your own Anthropic API key below."
          },
          "anthropicApiKey": {
            "title": "Anthropic API key (optional)",
            "type": "string",
            "description": "Your own key from console.anthropic.com (starts with sk-ant-api). With it, Claude runs on your Anthropic account and ai-minute is not charged; it also turns the AI on for free Apify plans. Stored encrypted and used only for this run."
          },
          "transcript": {
            "title": "Transcript",
            "type": "string",
            "description": "Captions to use instead of transcribing: SRT, VTT or plain text."
          },
          "options": {
            "title": "More options (API names)",
            "type": "object",
            "description": "Any option of the Ozyshare API, e.g. {\"trim\": {\"start\": 5, \"end\": 65}, \"captions\": {\"words_per_caption\": 2}}. Overlays take a \"url\". These win over the fields above. Reference: https://api.ozyshare.com/llms.txt"
          },
          "rememberTranscripts": {
            "title": "Remember transcripts",
            "type": "boolean",
            "description": "Keep each video's transcript in a key-value store in your own account (ozyshare-transcripts), so running the same file again (another caption style, fixed words) skips transcription and costs less. Turn off to keep nothing between runs.",
            "default": true
          },
          "fixEdit": {
            "title": "Fix an earlier edit",
            "type": "boolean",
            "description": "Change your last edit of each video above instead of making a new one. A caption style, music or resolution you pick applies on top, and so do Animations (none takes them off), Frame, Remove pauses, Remove filler words, Punch-in zooms, Keep the face in frame, Translate and Names when you change them from that edit. Preset, Direction, AI director, Make clips, Condense and the language need a new edit (this off).",
            "default": false
          },
          "changes": {
            "title": "Changes",
            "maxLength": 2000,
            "type": "string",
            "description": "What to change, in plain words: \"line 12 should say 'case study'\", \"spell Apify with a capital A\", \"remove the circle animation near 0:40\", \"bigger captions, no music\". Read by Claude (your own Anthropic key, or a paid Apify plan). The fields below do the same without the AI."
          },
          "fixLines": {
            "title": "Fix lines",
            "type": "object",
            "description": "Whole caption lines to rewrite, by their number on the \"Video & captions\" page (the same numbers as captions.srt): {\"12\": \"the new text\"}. \"\" removes that caption."
          },
          "replaceAnimations": {
            "title": "Replace animations",
            "type": "object",
            "description": "Another animation in one's place, by its number on the \"Video & captions\" page and the new one's name (the page lists the ones that fit each): {\"3\": \"Slam\"}, or {\"3\": {\"animation\": \"Slam\", \"words\": \"Wow\"}}."
          },
          "addAnimations": {
            "title": "Add animations",
            "type": "object",
            "description": "A new animation on a caption line, by the line's number on the \"Video & captions\" page and the animation's name: {\"4\": \"Keyword Slam\"}. Its words come from the line; to set them, its number or when it plays: {\"4\": {\"animation\": \"Keyword Slam\", \"words\": \"Wow\", \"number\": \"40%\", \"start\": 3.2, \"end\": 4.5}}. A design that shows a number needs one if the line says none. With your own Anthropic key, Claude words a pick its line doesn't fit. That page can pick from the whole library."
          },
          "animationText": {
            "title": "Animation text",
            "type": "object",
            "description": "New words for an animation's own text (a title, a badge, a number), by its number on the \"Video & captions\" page: {\"3\": \"3× faster\"}."
          },
          "animationTiming": {
            "title": "Animation timing",
            "type": "object",
            "description": "Move an animation, by its number on the \"Video & captions\" page: when it starts and ends, in seconds of the finished video (of its clip): {\"3\": {\"start\": 12.4, \"end\": 14}}."
          },
          "captionsFile": {
            "title": "Fixed captions file",
            "type": "string",
            "description": "The captions.srt of the earlier run with your corrections. Each line whose text you changed is changed in the video (lines are matched by their number; timings stay as they are)."
          },
          "fromRun": {
            "title": "Run to fix",
            "type": "string",
            "description": "Fix the edit from this run (its run ID) instead of your last edit of the video."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}