meshy/meshy-7.1, served by Comfy Router from Meshy.
Input: Text · Output: 3D
Quick start
Create a key in your Comfy workspace and export it asCOMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk and npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP.
Model ID: meshy/meshy-7.1
Endpoint: POST https://api.comfy.org/v2/models/meshy/meshy-7.1
- Wait for the result
- Queue and collect later
The same body, sent to
POST https://api.comfy.org/v2/models/meshy/meshy-7.1/requests. Router answers 201 with a request_id as soon as the run is admitted, and the result is collected once it is ready, from this process or another one. Queued delivery walks through status, cancellation and collection.Schema
Input
preview variant
The Meshy model to run. On the Comfy Router route this is supplied by the path (
/v2/models/meshy/{model}) and may be omitted or sent as null; Router writes the path’s model here after validation. On the v1 /proxy route see MeshyTextTo3DPreviewRequest, which constrains it to MeshyAiModel.Describe your desired art style of the object.Possible values:
realistic, sculptureGeometry resolution of the generated mesh. 2k and 4k run the Ultra pass for finer surface detail. 2k and 4k require ai_model meshy-7.1 or latest.Possible values:
standard, 2k, 4kDeprecated. Use pose_mode instead. Whether to generate the model in an A/T pose.
This field should be set to “preview” when creating a preview task.Possible values:
previewControls whether to enable the remesh phase. When false, returns highest-precision triangular mesh. Defaults to true for Meshy 5 and false for Meshy 6 and 7.
Controls symmetry behavior during model generation.Possible values:
off, auto, onSpecify the target number of polygons in the generated model. Valid range is 100 to 300,000.Range:
100 to 300000Specify the topology of the generated model.Possible values:
quad, triangleDeprecated. Use geometry_resolution instead; true is equivalent to geometry_resolution 2k. Only supported when ai_model is meshy-7, meshy-7.1 or latest. The exception is meshy-7: geometry_resolution 2k requires meshy-7.1 or latest, so on meshy-7 ultra_mode true is the way to request the Ultra pass.
refine variant
The Meshy model to run. On the Comfy Router route this is supplied by the path (
/v2/models/meshy/{model}) and may be omitted or sent as null; Router writes the path’s model here after validation. On the v1 /proxy route see MeshyTextTo3DRefineRequest, which constrains it to MeshyAiModel.Generate PBR Maps (metallic, roughness, normal) in addition to the base color. Note that enable_pbr should be set to false when using Sculpture style.
This field should be set to “refine” when creating a refine task.Possible values:
refineThe corresponding preview task id. The status of the given preview task must be SUCCEEDED.
Provide a 2d image to guide the texturing process. Supports .jpg, .jpeg, .png formats or base64-encoded data URI.
Texture resolution of the generated textures. One of 2k, 4k or 8k. 4k and 8k require ai_model meshy-6, meshy-7, meshy-7.1 or latest.Possible values:
2k, 4k, 8kGET /v2/models/meshy/meshy-7.1/openapi.json, the same document it validates a call against before the request reaches the provider.
Output
Examples
Input
Output
Before you ship
The SDKs create anIdempotency-Key and reuse it for automatic retries. For manual retries, reuse the original key. Router can hold the connection for up to 10 minutes.
When a request fails, Router sends an X-Comfy-Error-Type response header explaining why. A 422 means Router rejected the input before calling the provider, and a 413 means the request body was larger than Router accepts. Download generated assets promptly because result URLs can expire.
Any size limit named in a field description above is the provider’s own bound on that field, quoted from the provider’s specification. Router applies a separate cap to the whole request body, which base64-encoded media counts against: see request body size.
This page documents one partner model called through Comfy Router. The same comfy-sdk / @comfyorg/sdk package also ships a second client, for running a whole ComfyUI workflow graph on Comfy Cloud: Comfy(api_key=...) / new Comfy({ apiKey }), with client.workflows, client.assets and client.jobs. See Comfy SDKs.
Headers
Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.
Using the Router API
Model discovery, validation errors, retries, and billing.
Limitations
What Router does not do today, and what to use instead.