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
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the 3D asset | |
| image_url | Yes | URL of the source image to convert to 3D |
Implementation Reference
- src/index.ts:309-323 (handler)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; } - src/index.ts:211-225 (schema)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"], }, },