website/docs/reference/tools/asset_gen/generate_model.md
generate_modelAuto-generated from the Python tool registry. Do not hand-edit outside
<!-- examples:start --><!-- examples:end -->blocks — the generator (tools/generate_docs_reference.py) will overwrite them.
Group: asset_gen · Module: services.tools.generate_model
Generate 3D models with AI providers (Tripo, Meshy) and import them into the Unity project. Bring-your-own-key: provider keys live in the editor's secure store and never cross the bridge.
ACTIONS:
| Name | Type | Required | Description |
|---|---|---|---|
action | Literal['generate', 'status', 'cancel', 'list_providers'] | yes | Action to perform. |
provider | str | None | — | Provider id (tripo, meshy). |
mode | str | None | — | Generation mode: text or image. |
prompt | str | None | — | Text prompt for text->3D. |
image_path | str | None | — | Path to a source image for image->3D. |
image_url | str | None | — | URL of a source image for image->3D. |
format | str | None | — | Output model format: glb, fbx, obj, or usdz. |
target_size | float | None | — | Normalize the largest dimension to this size (meters). |
texture | bool | None | — | Whether to generate textures for the model. |
tier | str | None | — | Provider quality/cost tier. |
name | str | None | — | Base name for the imported asset. |
output_folder | str | None | — | Destination folder under Assets/ for the import. |
job_id | str | None | — | Job id for status/cancel. |
A dict containing the Unity response. The exact shape depends on the action.
No examples yet. Add usage examples here — they will be preserved across regenerations.
<!-- examples:end -->