{
  "openapi": "3.0.1",
  "info": {
    "title": "Microsoft Text to Speech",
    "description": "💫 Use Microsoft Edge TTS service to convert texts into speech",
    "version": "0.1",
    "x-build-id": "ikvD2JQxvWTTci92d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jupri~microsoft-tts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jupri-microsoft-tts",
        "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/jupri~microsoft-tts/runs": {
      "post": {
        "operationId": "runs-sync-jupri-microsoft-tts",
        "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/jupri~microsoft-tts/run-sync": {
      "post": {
        "operationId": "run-sync-jupri-microsoft-tts",
        "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": {
          "query": {
            "title": "Query",
            "type": "string",
            "description": "💡 Text to translate"
          },
          "split_lines": {
            "title": "Split Lines",
            "type": "boolean",
            "description": "💡 Separatate results by line breaks"
          },
          "voice": {
            "title": "Voice",
            "enum": [
              "af-ZA-AdriNeural",
              "af-ZA-WillemNeural",
              "sq-AL-AnilaNeural",
              "sq-AL-IlirNeural",
              "am-ET-AmehaNeural",
              "am-ET-MekdesNeural",
              "ar-DZ-AminaNeural",
              "ar-DZ-IsmaelNeural",
              "ar-BH-AliNeural",
              "ar-BH-LailaNeural",
              "ar-EG-SalmaNeural",
              "ar-EG-ShakirNeural",
              "ar-IQ-BasselNeural",
              "ar-IQ-RanaNeural",
              "ar-JO-SanaNeural",
              "ar-JO-TaimNeural",
              "ar-KW-FahedNeural",
              "ar-KW-NouraNeural",
              "ar-LB-LaylaNeural",
              "ar-LB-RamiNeural",
              "ar-LY-ImanNeural",
              "ar-LY-OmarNeural",
              "ar-MA-JamalNeural",
              "ar-MA-MounaNeural",
              "ar-OM-AbdullahNeural",
              "ar-OM-AyshaNeural",
              "ar-QA-AmalNeural",
              "ar-QA-MoazNeural",
              "ar-SA-HamedNeural",
              "ar-SA-ZariyahNeural",
              "ar-SY-AmanyNeural",
              "ar-SY-LaithNeural",
              "ar-TN-HediNeural",
              "ar-TN-ReemNeural",
              "ar-AE-FatimaNeural",
              "ar-AE-HamdanNeural",
              "ar-YE-MaryamNeural",
              "ar-YE-SalehNeural",
              "az-AZ-BabekNeural",
              "az-AZ-BanuNeural",
              "bn-BD-NabanitaNeural",
              "bn-BD-PradeepNeural",
              "bn-IN-BashkarNeural",
              "bn-IN-TanishaaNeural",
              "bs-BA-GoranNeural",
              "bs-BA-VesnaNeural",
              "bg-BG-BorislavNeural",
              "bg-BG-KalinaNeural",
              "my-MM-NilarNeural",
              "my-MM-ThihaNeural",
              "ca-ES-EnricNeural",
              "ca-ES-JoanaNeural",
              "zh-HK-HiuGaaiNeural",
              "zh-HK-HiuMaanNeural",
              "zh-HK-WanLungNeural",
              "zh-CN-XiaoxiaoNeural",
              "zh-CN-XiaoyiNeural",
              "zh-CN-YunjianNeural",
              "zh-CN-YunxiNeural",
              "zh-CN-YunxiaNeural",
              "zh-CN-YunyangNeural",
              "zh-CN-liaoning-XiaobeiNeural",
              "zh-TW-HsiaoChenNeural",
              "zh-TW-YunJheNeural",
              "zh-TW-HsiaoYuNeural",
              "zh-CN-shaanxi-XiaoniNeural",
              "hr-HR-GabrijelaNeural",
              "hr-HR-SreckoNeural",
              "cs-CZ-AntoninNeural",
              "cs-CZ-VlastaNeural",
              "da-DK-ChristelNeural",
              "da-DK-JeppeNeural",
              "nl-BE-ArnaudNeural",
              "nl-BE-DenaNeural",
              "nl-NL-ColetteNeural",
              "nl-NL-FennaNeural",
              "nl-NL-MaartenNeural",
              "en-AU-NatashaNeural",
              "en-AU-WilliamNeural",
              "en-CA-ClaraNeural",
              "en-CA-LiamNeural",
              "en-HK-SamNeural",
              "en-HK-YanNeural",
              "en-IN-NeerjaExpressiveNeural",
              "en-IN-NeerjaNeural",
              "en-IN-PrabhatNeural",
              "en-IE-ConnorNeural",
              "en-IE-EmilyNeural",
              "en-KE-AsiliaNeural",
              "en-KE-ChilembaNeural",
              "en-NZ-MitchellNeural",
              "en-NZ-MollyNeural",
              "en-NG-AbeoNeural",
              "en-NG-EzinneNeural",
              "en-PH-JamesNeural",
              "en-US-AvaNeural",
              "en-US-AndrewNeural",
              "en-US-EmmaNeural",
              "en-US-BrianNeural",
              "en-PH-RosaNeural",
              "en-SG-LunaNeural",
              "en-SG-WayneNeural",
              "en-ZA-LeahNeural",
              "en-ZA-LukeNeural",
              "en-TZ-ElimuNeural",
              "en-TZ-ImaniNeural",
              "en-GB-LibbyNeural",
              "en-GB-MaisieNeural",
              "en-GB-RyanNeural",
              "en-GB-SoniaNeural",
              "en-GB-ThomasNeural",
              "en-US-AnaNeural",
              "en-US-AriaNeural",
              "en-US-ChristopherNeural",
              "en-US-EricNeural",
              "en-US-GuyNeural",
              "en-US-JennyNeural",
              "en-US-MichelleNeural",
              "en-US-RogerNeural",
              "en-US-SteffanNeural",
              "et-EE-AnuNeural",
              "et-EE-KertNeural",
              "fil-PH-AngeloNeural",
              "fil-PH-BlessicaNeural",
              "fi-FI-HarriNeural",
              "fi-FI-NooraNeural",
              "fr-BE-CharlineNeural",
              "fr-BE-GerardNeural",
              "fr-CA-ThierryNeural",
              "fr-CA-AntoineNeural",
              "fr-CA-JeanNeural",
              "fr-CA-SylvieNeural",
              "fr-FR-VivienneMultilingualNeural",
              "fr-FR-RemyMultilingualNeural",
              "fr-FR-DeniseNeural",
              "fr-FR-EloiseNeural",
              "fr-FR-HenriNeural",
              "fr-CH-ArianeNeural",
              "fr-CH-FabriceNeural",
              "gl-ES-RoiNeural",
              "gl-ES-SabelaNeural",
              "ka-GE-EkaNeural",
              "ka-GE-GiorgiNeural",
              "de-AT-IngridNeural",
              "de-AT-JonasNeural",
              "de-DE-SeraphinaMultilingualNeural",
              "de-DE-FlorianMultilingualNeural",
              "de-DE-AmalaNeural",
              "de-DE-ConradNeural",
              "de-DE-KatjaNeural",
              "de-DE-KillianNeural",
              "de-CH-JanNeural",
              "de-CH-LeniNeural",
              "el-GR-AthinaNeural",
              "el-GR-NestorasNeural",
              "gu-IN-DhwaniNeural",
              "gu-IN-NiranjanNeural",
              "he-IL-AvriNeural",
              "he-IL-HilaNeural",
              "hi-IN-MadhurNeural",
              "hi-IN-SwaraNeural",
              "hu-HU-NoemiNeural",
              "hu-HU-TamasNeural",
              "is-IS-GudrunNeural",
              "is-IS-GunnarNeural",
              "id-ID-ArdiNeural",
              "id-ID-GadisNeural",
              "ga-IE-ColmNeural",
              "ga-IE-OrlaNeural",
              "it-IT-GiuseppeNeural",
              "it-IT-DiegoNeural",
              "it-IT-ElsaNeural",
              "it-IT-IsabellaNeural",
              "ja-JP-KeitaNeural",
              "ja-JP-NanamiNeural",
              "jv-ID-DimasNeural",
              "jv-ID-SitiNeural",
              "kn-IN-GaganNeural",
              "kn-IN-SapnaNeural",
              "kk-KZ-AigulNeural",
              "kk-KZ-DauletNeural",
              "km-KH-PisethNeural",
              "km-KH-SreymomNeural",
              "ko-KR-HyunsuNeural",
              "ko-KR-InJoonNeural",
              "ko-KR-SunHiNeural",
              "lo-LA-ChanthavongNeural",
              "lo-LA-KeomanyNeural",
              "lv-LV-EveritaNeural",
              "lv-LV-NilsNeural",
              "lt-LT-LeonasNeural",
              "lt-LT-OnaNeural",
              "mk-MK-AleksandarNeural",
              "mk-MK-MarijaNeural",
              "ms-MY-OsmanNeural",
              "ms-MY-YasminNeural",
              "ml-IN-MidhunNeural",
              "ml-IN-SobhanaNeural",
              "mt-MT-GraceNeural",
              "mt-MT-JosephNeural",
              "mr-IN-AarohiNeural",
              "mr-IN-ManoharNeural",
              "mn-MN-BataaNeural",
              "mn-MN-YesuiNeural",
              "ne-NP-HemkalaNeural",
              "ne-NP-SagarNeural",
              "nb-NO-FinnNeural",
              "nb-NO-PernilleNeural",
              "ps-AF-GulNawazNeural",
              "ps-AF-LatifaNeural",
              "fa-IR-DilaraNeural",
              "fa-IR-FaridNeural",
              "pl-PL-MarekNeural",
              "pl-PL-ZofiaNeural",
              "pt-BR-ThalitaNeural",
              "pt-BR-AntonioNeural",
              "pt-BR-FranciscaNeural",
              "pt-PT-DuarteNeural",
              "pt-PT-RaquelNeural",
              "ro-RO-AlinaNeural",
              "ro-RO-EmilNeural",
              "ru-RU-DmitryNeural",
              "ru-RU-SvetlanaNeural",
              "sr-RS-NicholasNeural",
              "sr-RS-SophieNeural",
              "si-LK-SameeraNeural",
              "si-LK-ThiliniNeural",
              "sk-SK-LukasNeural",
              "sk-SK-ViktoriaNeural",
              "sl-SI-PetraNeural",
              "sl-SI-RokNeural",
              "so-SO-MuuseNeural",
              "so-SO-UbaxNeural",
              "es-AR-ElenaNeural",
              "es-AR-TomasNeural",
              "es-BO-MarceloNeural",
              "es-BO-SofiaNeural",
              "es-CL-CatalinaNeural",
              "es-CL-LorenzoNeural",
              "es-ES-XimenaNeural",
              "es-CO-GonzaloNeural",
              "es-CO-SalomeNeural",
              "es-CR-JuanNeural",
              "es-CR-MariaNeural",
              "es-CU-BelkysNeural",
              "es-CU-ManuelNeural",
              "es-DO-EmilioNeural",
              "es-DO-RamonaNeural",
              "es-EC-AndreaNeural",
              "es-EC-LuisNeural",
              "es-SV-LorenaNeural",
              "es-SV-RodrigoNeural",
              "es-GQ-JavierNeural",
              "es-GQ-TeresaNeural",
              "es-GT-AndresNeural",
              "es-GT-MartaNeural",
              "es-HN-CarlosNeural",
              "es-HN-KarlaNeural",
              "es-MX-DaliaNeural",
              "es-MX-JorgeNeural",
              "es-NI-FedericoNeural",
              "es-NI-YolandaNeural",
              "es-PA-MargaritaNeural",
              "es-PA-RobertoNeural",
              "es-PY-MarioNeural",
              "es-PY-TaniaNeural",
              "es-PE-AlexNeural",
              "es-PE-CamilaNeural",
              "es-PR-KarinaNeural",
              "es-PR-VictorNeural",
              "es-ES-AlvaroNeural",
              "es-ES-ElviraNeural",
              "es-US-AlonsoNeural",
              "es-US-PalomaNeural",
              "es-UY-MateoNeural",
              "es-UY-ValentinaNeural",
              "es-VE-PaolaNeural",
              "es-VE-SebastianNeural",
              "su-ID-JajangNeural",
              "su-ID-TutiNeural",
              "sw-KE-RafikiNeural",
              "sw-KE-ZuriNeural",
              "sw-TZ-DaudiNeural",
              "sw-TZ-RehemaNeural",
              "sv-SE-MattiasNeural",
              "sv-SE-SofieNeural",
              "ta-IN-PallaviNeural",
              "ta-IN-ValluvarNeural",
              "ta-MY-KaniNeural",
              "ta-MY-SuryaNeural",
              "ta-SG-AnbuNeural",
              "ta-SG-VenbaNeural",
              "ta-LK-KumarNeural",
              "ta-LK-SaranyaNeural",
              "te-IN-MohanNeural",
              "te-IN-ShrutiNeural",
              "th-TH-NiwatNeural",
              "th-TH-PremwadeeNeural",
              "tr-TR-AhmetNeural",
              "tr-TR-EmelNeural",
              "uk-UA-OstapNeural",
              "uk-UA-PolinaNeural",
              "ur-IN-GulNeural",
              "ur-IN-SalmanNeural",
              "ur-PK-AsadNeural",
              "ur-PK-UzmaNeural",
              "uz-UZ-MadinaNeural",
              "uz-UZ-SardorNeural",
              "vi-VN-HoaiMyNeural",
              "vi-VN-NamMinhNeural",
              "cy-GB-AledNeural",
              "cy-GB-NiaNeural",
              "zu-ZA-ThandoNeural",
              "zu-ZA-ThembaNeural"
            ],
            "type": "string",
            "description": "",
            "default": "en-US-AriaNeural"
          },
          "volume": {
            "title": "Volume",
            "type": "integer",
            "description": "💡 Sound Volume: [+/-]% (percent)"
          },
          "rate": {
            "title": "Rate",
            "type": "integer",
            "description": "💡 Sound Speed: [+/-]% (percent)"
          },
          "pitch": {
            "title": "Pitch",
            "type": "integer",
            "description": "💡 Sound Pitch: [+/-]Hz (Hertz)"
          },
          "sentence_boundary": {
            "title": "Sentence Boundary",
            "type": "boolean",
            "description": "💡 Include Sentence Boundaries Metadata"
          },
          "word_boundary": {
            "title": "Word Boundary",
            "type": "boolean",
            "description": "💡 Include Word Boundaries Metadata"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}