Skip to main content
Glama

bittensor_video

Generate videos from text prompts using Bittensor's decentralized AI network. This tool creates MP4 files by describing your desired video content.

Instructions

Text-to-video generation via Bittensor subnet 18. Async — polls until ready (up to 3 min). Returns an MP4 URL. Cost: $2.00 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesVideo description to generate

Implementation Reference

  • The handler for bittensor_video tool, which initiates an async job and polls for the result.
    case "bittensor_video": {
      const job = (await callGateway({ route: "bittensor-video", prompt: a.prompt })) as Record<string, unknown>;
      if (job.status === "pending" && typeof job.job_id === "string") {
        result = await pollJob(job.job_id);
      } else {
        result = job;
      }
      break;
    }
  • The MCP tool definition for bittensor_video including its schema.
    {
      name: "bittensor_video",
      description:
        "Text-to-video generation via Bittensor subnet 18. Async — polls until ready (up to 3 min). Returns an MP4 URL. Cost: $2.00 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: { type: "string", description: "Video description to generate" },
        },
        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