Home / Servers / DigitalOcean API / inference_create_speech
Generate speech from text
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Generate speech from text Convert text input to speech audio. The response may be raw audio bytes (audio/mpeg, audio/wav, and similar) or a JSON envelope with base64-encoded audio in data[].b64_json. [POST /v1/audio/speech]
Name on the gateway: digitalocean_api__inference_create_speech · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
model required | string | The text-to-speech model to use. |
input required | string | The text to convert to speech. |
voice | string | The voice to use for synthesis. |
response_format | string | The audio format to return. Supported values include mp3 and wav. The API may… |
instructions | string | Optional style or delivery instructions for the synthesizer. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__inference_create_speech",
"arguments": {
"model": "…",
"input": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the generate speech from text tool with model set to ….