vendor_connectors.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
Section titled “Module Contents”Classes
Section titled “Classes”AssetManifest | Metadata for generated asset. |
|---|---|
AssetGenerator | Orchestrates 3D asset generation workflows. |
Functions
Section titled “Functions”example_character_spec | Example character asset specification. |
|---|---|
example_prop_spec | Example prop asset specification. |
example_environment_spec | Example environment asset specification. |
class vendor_connectors.meshy.jobs.AssetManifest
Section titled “class vendor_connectors.meshy.jobs.AssetManifest”Metadata for generated asset.
asset_id : str
Section titled “asset_id : str”None
intent : str
Section titled “intent : str”None
description : str
Section titled “description : str”None
art_style : str
Section titled “art_style : str”None
model_path : str | None
Section titled “model_path : str | None”None
texture_paths : dict[str, str] | None
Section titled “texture_paths : dict[str, str] | None”None
thumbnail_path : str | None
Section titled “thumbnail_path : str | None”None
task_id : str =
Section titled “task_id : str = ”polycount_target : int | None
Section titled “polycount_target : int | None”None
polycount_estimate : int | None
Section titled “polycount_estimate : int | None”None
metadata : dict[str, Any]
Section titled “metadata : dict[str, Any]”None
to_dict() → dict[str, Any]
Section titled “to_dict() → dict[str, Any]”class vendor_connectors.meshy.jobs.AssetGenerator(output_root: str = ‘client/public’)
Section titled “class vendor_connectors.meshy.jobs.AssetGenerator(output_root: str = ‘client/public’)”Orchestrates 3D asset generation workflows.
Initialization
Section titled “Initialization”_generate_asset_id(spec: vendor_connectors.meshy.models.AssetSpec) → str
Section titled “_generate_asset_id(spec: vendor_connectors.meshy.models.AssetSpec) → str”Generate unique asset ID from spec.
generate_model(spec: vendor_connectors.meshy.models.AssetSpec, wait: bool = True, poll_interval: float = 5.0) → vendor_connectors.meshy.jobs.AssetManifest
Section titled “generate_model(spec: vendor_connectors.meshy.models.AssetSpec, wait: bool = True, poll_interval: float = 5.0) → vendor_connectors.meshy.jobs.AssetManifest”Generate 3D model from spec.
batch_generate(specs: list[vendor_connectors.meshy.models.AssetSpec], max_concurrent: int = 3) → list[vendor_connectors.meshy.jobs.AssetManifest]
Section titled “batch_generate(specs: list[vendor_connectors.meshy.models.AssetSpec], max_concurrent: int = 3) → list[vendor_connectors.meshy.jobs.AssetManifest]”Generate multiple assets (respecting rate limits).
vendor_connectors.meshy.jobs.example_character_spec() → vendor_connectors.meshy.models.AssetSpec
Section titled “vendor_connectors.meshy.jobs.example_character_spec() → vendor_connectors.meshy.models.AssetSpec”Example character asset specification.
vendor_connectors.meshy.jobs.example_prop_spec() → vendor_connectors.meshy.models.AssetSpec
Section titled “vendor_connectors.meshy.jobs.example_prop_spec() → vendor_connectors.meshy.models.AssetSpec”Example prop asset specification.
vendor_connectors.meshy.jobs.example_environment_spec() → vendor_connectors.meshy.models.AssetSpec
Section titled “vendor_connectors.meshy.jobs.example_environment_spec() → vendor_connectors.meshy.models.AssetSpec”Example environment asset specification.