{
  "openapi": "3.0.1",
  "info": {
    "title": "ElevenLabs Text to Speech - v4, v3, Multilingual v2 MP3",
    "description": "Turn text into natural MP3 speech with ElevenLabs v4, v3, Multilingual v2 and Flash models. 40+ voices or any voice ID, many languages, bulk texts.",
    "version": "1.0",
    "x-build-id": "QhiJGAMPbCJMMJSdT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seemuapps~text-to-speech-elevenlabs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seemuapps-text-to-speech-elevenlabs",
        "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/seemuapps~text-to-speech-elevenlabs/runs": {
      "post": {
        "operationId": "runs-sync-seemuapps-text-to-speech-elevenlabs",
        "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/seemuapps~text-to-speech-elevenlabs/run-sync": {
      "post": {
        "operationId": "run-sync-seemuapps-text-to-speech-elevenlabs",
        "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": {
          "text": {
            "title": "Text",
            "type": "string",
            "description": "The text to turn into speech. Any language the model supports is detected automatically. Eleven v4 and v3 understand audio tags such as [warmly], [whispers] or [laughs]."
          },
          "texts": {
            "title": "More texts",
            "type": "array",
            "description": "Optional extra texts. Each one becomes its own MP3 file and dataset row.",
            "items": {
              "type": "string"
            }
          },
          "voice": {
            "title": "Voice",
            "enum": [
              "Alicia",
              "Aria",
              "Roger",
              "Sarah",
              "Laura",
              "Charlie",
              "George",
              "Callum",
              "River",
              "Liam",
              "Charlotte",
              "Alice",
              "Matilda",
              "Will",
              "Jessica",
              "Eric",
              "Chris",
              "Brian",
              "Daniel",
              "Lily",
              "Bill",
              "Adam",
              "Bella",
              "Harry",
              "Wyatt",
              "Sawyer",
              "Baxter",
              "Caleb",
              "Finley",
              "Eldrin",
              "Kaelen",
              "Jade",
              "Elara",
              "Lawrence",
              "Florence",
              "Maisie",
              "Elowen",
              "Darian",
              "Talia",
              "Warren",
              "Eddie"
            ],
            "type": "string",
            "description": "Pick a built-in voice. To use any other voice, paste its ID into 'Custom voice ID' below.",
            "default": "Alicia"
          },
          "voiceId": {
            "title": "Custom voice ID",
            "type": "string",
            "description": "Optional. A voice ID from the ElevenLabs Voice Library (e.g. JBFqnCBsd6RMkjVDRZzb). Overrides the Voice picker when set."
          },
          "model": {
            "title": "Model",
            "enum": [
              "eleven_v4",
              "eleven_v4_turbo",
              "eleven_v3",
              "eleven_multilingual_v2",
              "eleven_flash_v2_5",
              "eleven_turbo_v2_5"
            ],
            "type": "string",
            "description": "Speech model. Price per 1,000 characters depends on the model (see the Pricing tab).",
            "default": "eleven_v4"
          },
          "stability": {
            "title": "Stability",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "0 to 1. Higher values give a steadier, more consistent delivery; lower values are more expressive. Leave empty for the model default (0.5)."
          },
          "similarity": {
            "title": "Similarity",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "0 to 1. How closely the output matches the original voice. Very high values can add artifacts. Ignored by Eleven v3. Leave empty for the model default."
          },
          "speakerBoost": {
            "title": "Speaker boost",
            "type": "boolean",
            "description": "Boosts similarity to the original speaker. Only used by Multilingual v2, Flash v2.5 and Turbo v2.5. Leave unset for the model default (on)."
          },
          "maxCharactersPerText": {
            "title": "Max characters per text",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Texts longer than this are skipped (and not charged). Hard limit is 10,000 characters per text (5,000 for Eleven v3).",
            "default": 5000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}