Home / Servers / OpenAI API / create_voice

Create voice

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Create voice Creates a voice from a text prompt or from a consent recording and an audio sample. For prompt-based creation, send type: "prompt" with a name and prompt as JSON or multipart form data. For creation… [POST /audio/voices]

Name on the gateway: openai_api__create_voice · may change things.

Parameters

NameTypeDescription
type requiredpromptSet to prompt to create a voice from a text description.
name requiredstringThe name of the new voice.
prompt requiredstringA description of the desired voice. Must not contain only whitespace.
script_hintstringOptional text for the voice to speak during creation. If omitted, a script is…
modelstringThe voice creation model to use. Defaults to auto.

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:

call_tool arguments
{
  "name": "openai_api__create_voice",
  "arguments": {
    "type": "…",
    "name": "…",
    "prompt": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create voice tool with type set to ….

More from OpenAI API