Skip to main content
Use meshy/meshy-7 with the Comfy Router API. Meshy provides the model; Router gives it the shared authentication and request route below.

Quick start

Create a key at platform.comfy.org/profile/api-keys and export it as COMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk, npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP. Model ID: meshy/meshy-7 Endpoint: POST https://api.comfy.org/v2/models/meshy/meshy-7

Schema

Input

The schema declares no fixed fields: any JSON object is accepted. Generated from the schema Router serves at GET /v2/models/meshy/meshy-7/openapi.json, the same document it validates a call against before the request reaches the provider.

Output

string
The unmodified art_style that was used to create the preview task.
integer
Timestamp of when the task was created, in milliseconds.Format: int64
integer
Timestamp of when the task was finished, in milliseconds. 0 if not finished.Format: int64
string
required
Unique identifier for the task.
object
Downloadable URLs to the textured 3D model files generated by Meshy.
string
Downloadable URL to the FBX file.
string
Downloadable URL to the GLB file.
string
Downloadable URL to the MTL file.
string
Downloadable URL to the OBJ file.
string
Downloadable URL to the USDZ file.
string
Deprecated field maintained for backward compatibility.
integer
The count of preceding tasks. Only meaningful when status is PENDING.
integer
Progress of the task. 0 if not started, 100 when succeeded.Range: 0 to 100
string
The unmodified prompt that was used to create the task.
integer
Timestamp of when the task was started, in milliseconds. 0 if not started.Format: int64
string
required
Possible values: SUCCEEDED
object
Error object that contains the error message if the task failed.
string
Detailed error message.
string
Downloadable URL to the texture image that was used to guide the texturing process.
string
Additional text prompt provided to guide the texturing process during the refine stage.
string
Deprecated field maintained for backward compatibility.
object[]
An array of texture URL objects that are generated from the task.
string
Downloadable URL to the base color map image.
string
Downloadable URL to the metallic map image.
string
Downloadable URL to the normal map image.
string
Downloadable URL to the roughness map image.
string
Downloadable URL to the thumbnail image of the model file.
string
Type of the Text to 3D task.Possible values: text-to-3d-preview, text-to-3d-refine
string
Deprecated field returning the downloadable URL to the preview video.

Examples

Input

Output

Before you ship

Save one Idempotency-Key for each call and reuse it for retries. Router can hold the connection for up to 10 minutes. The SDKs handle authentication; raw HTTP clients send the headers themselves. Use X-Comfy-Error-Type to classify a failure. A 422 means Router rejected the input before calling the provider. Download generated assets promptly because result URLs can expire.

Headers

Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.

Using the Router API

Find models, inspect schemas, and retry safely.

Limitations

What Router does not do today, and what to use instead.