Skip to main content
Glama

bittensor_tts

Convert text to speech using Bittensor's decentralized AI network, generating base64 MP3 audio output for integration with AI assistants.

Instructions

Text-to-speech via Bittensor subnet 16. Returns audio as base64 MP3. Cost: $0.025 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText to convert to speech

Implementation Reference

  • The handler for bittensor_tts uses the callGateway helper to send the prompt to the Bittensor TTS route.
    case "bittensor_tts":
      result = await callGateway({ route: "bittensor-tts", prompt: a.prompt });
      break;
  • Definition and input schema for the bittensor_tts tool.
      name: "bittensor_tts",
      description:
        "Text-to-speech via Bittensor subnet 16. Returns audio as base64 MP3. Cost: $0.025 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: { type: "string", description: "Text to convert to speech" },
        },
        required: ["prompt"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wizerai1111/swarmrails-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server