Start an AI 3D generation (uses credits)
generate_3d_modelStep 2 of AI 3D generation. Starts the job priced by prepare_3d_generation on the user's connected PrintPal account and spends the quoted credits. Call only after the user has agreed to the cost shown by prepare_3d_generation, passing its quote_token and the approved credit amount. Pass a stable idempotency_key and reuse it when retrying after a timeout: a retry returns the original job and is never charged twice. A new generation needs a new quote. Returns a generation_uid; the model is not finished yet, so poll check_3d_generation.
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": {
"quote_token": "<quote_token>",
"approved_credits": "<approved_credits>"
},
"name": "generate_3d_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Optional; must match the quote. | |
| prompt | No | Optional; must match the quote. | |
| quality | No | Optional; must match the quote. | |
| quote_token | Yes | quote_token from prepare_3d_generation. | |
| idempotency_key | No | Unique id for this generation request, reused on retries. Defaults to one derived from the quote. | |
| approved_credits | Yes | The credit cost the user approved. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | No | ||
| prompt | No | ||
| status | Yes | ||
| credits | No | ||
| download | No | ||
| replayed | No | ||
| settings | No | ||
| next_step | Yes | ||
| created_at | No | ||
| completed_at | No | ||
| billing_policy | No | ||
| download_error | No | ||
| generation_uid | No | ||
| elapsed_seconds | No | ||
| poll_after_seconds | No | ||
| reference_image_url | No | ||
| estimated_time_seconds | No |