{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Video To Voiceover Generator",
    "description": "This Actor uses AI orchestration to turn short product videos into high-quality, ready-to-use voiceover ads. It analyzes visual moments, generates multiple creative ad scripts, and delivers polished audio variants—so you can launch campaigns faster with zero manual effort.",
    "version": "0.0",
    "x-build-id": "4MkOHpt2estdaD4zP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peaceful_pushpins~AI-Video-to-Voiceover-Generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peaceful_pushpins-AI-Video-to-Voiceover-Generator",
        "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/peaceful_pushpins~AI-Video-to-Voiceover-Generator/runs": {
      "post": {
        "operationId": "runs-sync-peaceful_pushpins-AI-Video-to-Voiceover-Generator",
        "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/peaceful_pushpins~AI-Video-to-Voiceover-Generator/run-sync": {
      "post": {
        "operationId": "run-sync-peaceful_pushpins-AI-Video-to-Voiceover-Generator",
        "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",
        "required": [
          "videoUrl",
          "voiceId"
        ],
        "properties": {
          "videoUrl": {
            "title": "Video URL (3-10 seconds)",
            "type": "string",
            "description": "Publicly accessible video URL (Apify KV store, CDN, or direct MP4). Video should be between 3 and 10 seconds. Longer videos will be trimmed automatically",
            "default": "https://api.apify.com/v2/key-value-stores/G26rnWz2ZqrGaU2jx/records/ad_variant_1.mp4"
          },
          "voiceId": {
            "title": "Voice",
            "enum": [
              "EXAVITQu4vr4xnSDxMaL",
              "FGY2WhTYpPnrIDTdsKH5",
              "JBFqnCBsd6RMkjVDRZzb",
              "TX3LPaxmHKxFdv7VOQHJ",
              "nPczCjzI2devNBz1zQrb",
              "pNInz6obpgDQGcFmaJgB",
              "pqHfZKP75CvOlQylNhV4",
              "FLj50PrMa40MhGHappOt",
              "U0xH5XqH9N0NawL9bdEo",
              "lXyLz3Gu0YqdG8RfvIyZ",
              "tyepWYJJwJM9TTFIg5U7",
              "i2SoWWnAm3qCyr53Jenw",
              "JoNnTahh2J3R6An9iusA",
              "Q0Et7LOU7VpeoeCRQAVS",
              "cG2STrgPqih9Cw8EwnaA",
              "3HVqMrtg7gWyWkIQWUAC",
              "68RUZBDjLe2YBQvv8zFx",
              "LFd0JubQRIlhAUIf9mOH",
              "QvlD90AkjGTCqc9685Rq",
              "z3FNMrCvtM1IHj84qvbr",
              "9GVWvaD23xXLseHJlxy8",
              "kHUsi3JLpwDyttbfMAJ0",
              "6vIP9mPY4dr6w8krUg01",
              "UBZMF8M0D0idRqxTQDY7",
              "8r85BR6Y359RwfMPGrOJ",
              "TTY70JqFvDxeExufZ1za",
              "NQMJRVvPew6HsaebYnZj",
              "llNlEi50DSCIEuoOIaH7",
              "JPK83XoZRuGpWNvbKXTP",
              "zlatCM6nK59gyedHFFxn",
              "Z8EQ8njRgMwlt3sxHWT2",
              "ILP9IN5fT2Jr2fSfmoNh",
              "lGMJWfnL2SVUwU7i6zQ7",
              "9rh371MqHF5jaDZ7VPvk",
              "63YuA6Zb7ngBSpqrlTzT",
              "0MmmY3MXTyPRLNhYh5Wb",
              "hoSRtERLhFa8UfJ6P1JP",
              "KR1TkIhkSykEjI4B0DtH",
              "Dnd9VXpAjEGXiRGBf1O6",
              "IYaGrGtLEHXYgFyDpLCK",
              "xtw8E1CXDMtNKx4sgP7u",
              "VdlAJiY20k9brfuVL9hQ",
              "49TtX0KZLnuzDrAizTkN",
              "8zu9JdWzG7LvGSTz3uf7",
              "N7LzE1aKJlaTs6Brxx5J",
              "vgY2u4uMeJ27m87AxkPi",
              "TcrlBgVmqvmPFJi2o2AO",
              "jvV8uNVYXJa37GHVtjXf",
              "U9VgC8Xinl7nnNsyDd3J",
              "YVyp28LAMQfmx8iIH88U"
            ],
            "type": "string",
            "description": "Choose a voice for the Ad voiceover.",
            "default": "EXAVITQu4vr4xnSDxMaL"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}