vendor_fabric.meshy.jobs¶
High-level job orchestration for 3D asset generation.
This module provides AssetGenerator for batch workflows with asset downloading and manifest generation.
Module Contents¶
Classes¶
Metadata for generated asset. |
|
Orchestrates 3D asset generation workflows. |
Functions¶
Example character asset specification. |
|
Example prop asset specification. |
|
Example environment asset specification. |
Data¶
API¶
- vendor_fabric.meshy.jobs.logger = 'getLogger(...)'¶
- class vendor_fabric.meshy.jobs.AssetManifest¶
Metadata for generated asset.
- asset_id: str = None¶
- intent: str = None¶
- description: str = None¶
- art_style: str = None¶
- model_path: str | None = None¶
- texture_paths: dict[str, str] | None = None¶
- thumbnail_path: str | None = None¶
- task_id: str = <Multiline-String>¶
- polycount_target: int | None = None¶
- polycount_estimate: int | None = None¶
- metadata: dict[str, Any] | None = None¶
- to_dict() extended_data.containers.ExtendedDict¶
Return an extended manifest payload.
- class vendor_fabric.meshy.jobs.AssetGenerator(output_root: str = 'client/public')¶
Orchestrates 3D asset generation workflows.
Initialization
- generate_model(spec: vendor_fabric.meshy.models.AssetSpec, wait: bool = True, poll_interval: float = 5.0) extended_data.containers.ExtendedDict¶
Generate 3D model from spec and return an extended manifest payload.
- batch_generate(specs: list[vendor_fabric.meshy.models.AssetSpec]) extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict]¶
Generate multiple assets and return extended manifest payloads.
Generation runs sequentially; failures are logged at debug level and the batch continues. Failed specs are omitted from the returned list.
- vendor_fabric.meshy.jobs.example_character_spec() vendor_fabric.meshy.models.AssetSpec¶
Example character asset specification.
- vendor_fabric.meshy.jobs.example_prop_spec() vendor_fabric.meshy.models.AssetSpec¶
Example prop asset specification.
- vendor_fabric.meshy.jobs.example_environment_spec() vendor_fabric.meshy.models.AssetSpec¶
Example environment asset specification.