Skip to content

vendor_connectors.meshy.connector

Meshy AI Connector - HTTP client for Meshy AI 3D generation API.

This connector provides Python access to Meshy AI’s 3D asset generation API, following the patterns established in the jbcom ecosystem.

MeshyConnectorMeshy AI 3D generation connector.

class vendor_connectors.meshy.connector.MeshyConnector(api_key: str | None = None, base_url: str | None = None, timeout: float = 300.0, **kwargs)

Section titled “class vendor_connectors.meshy.connector.MeshyConnector(api_key: str | None = None, base_url: str | None = None, timeout: float = 300.0, **kwargs)”

Bases: vendor_connectors.base.VendorConnectorBase

Meshy AI 3D generation connector.

Provides access to text-to-3D, image-to-3D, rigging, animation, and retexturing.

Initialize the connector.

Args: api_key: API key (overrides environment variable) base_url: Base URL (overrides class default) timeout: HTTP timeout in seconds logger: Logger instance **kwargs: Passed to DirectedInputsClass

‘MESHY_API_KEY’

https://api.meshy.ai’

text3d_generate(prompt: str, art_style: str = ‘realistic’, negative_prompt: str = ”, target_polycount: int = 30000, enable_pbr: bool = True, wait: bool = True) → Any

Section titled “text3d_generate(prompt: str, art_style: str = ‘realistic’, negative_prompt: str = ”, target_polycount: int = 30000, enable_pbr: bool = True, wait: bool = True) → Any”

Generate a 3D model from text description.

image3d_generate(image_url: str, topology: str = ‘triangle’, target_polycount: int = 15000, enable_pbr: bool = True, wait: bool = True) → Any

Section titled “image3d_generate(image_url: str, topology: str = ‘triangle’, target_polycount: int = 15000, enable_pbr: bool = True, wait: bool = True) → Any”

Generate a 3D model from an image.

Add skeleton/rig to a static 3D model.

Apply animation to a rigged model.

Apply new textures to an existing model.