Skip to main content
Glama

bittensor_3d

Convert images to 3D assets using Bittensor subnet 29. Provide an image URL and description to generate downloadable GLB files.

Instructions

Image-to-3D asset generation via Bittensor subnet 29. Requires a source image URL. Async — polls until ready (up to 3 min). Returns a GLB file URL. Cost: $0.75 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the 3D asset
image_urlYesURL of the source image to convert to 3D

Implementation Reference

  • The handler logic for the 'bittensor_3d' tool, which submits a job to the gateway and polls for completion.
    case "bittensor_3d": {
      // For 3D, image_url is the actual input — pass as both prompt and image_url
      // Gateway uses image_url || prompt for fal async routes
      const job = (await callGateway({
        route: "bittensor-3d",
        prompt: a.image_url,
        image_url: a.image_url,
      })) as Record<string, unknown>;
      if (job.status === "pending" && typeof job.job_id === "string") {
        result = await pollJob(job.job_id);
      } else {
        result = job;
      }
      break;
    }
  • The tool schema definition for 'bittensor_3d'.
      name: "bittensor_3d",
      description:
        "Image-to-3D asset generation via Bittensor subnet 29. Requires a source image URL. Async — polls until ready (up to 3 min). Returns a GLB file URL. Cost: $0.75 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: { type: "string", description: "Description of the 3D asset" },
          image_url: {
            type: "string",
            description: "URL of the source image to convert to 3D",
          },
        },
        required: ["prompt", "image_url"],
      },
    },

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