generate_3d_model
Generate a textured 3D GLB model from EITHER a photo OR a text prompt (provide exactly one, not both). Uses Tencent Hunyuan3D — high-fidelity geometry and PBR materials. Async — returns requestId, poll with check_job_status. 1600 sats per model. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_3d_model'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paymentId": "<paymentId>"
},
"name": "generate_3d_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Text description for text-to-3D (max 1024 chars). Provide EITHER this OR imageBase64, not both. | |
| modelId | No | Optional. Omit for default model. | |
| paymentId | Yes | Valid payment ID (must be paid) | |
| imageBase64 | No | Base64 encoded image (PNG, JPEG, or WEBP) for image-to-3D. Provide EITHER this OR prompt, not both. |