{
  "openapi": "3.1.0",
  "info": {
    "title": "Runware API - Meshy-6",
    "summary": "High-fidelity 3D generation with cleaner geometry, low-poly workflows, and production-ready mesh control",
    "description": "Meshy-6 is a 3D generation model for text-to-3D and image-to-3D workflows. It is built for cleaner geometry, sharper hard-surface detail, low-poly generation, configurable quad or triangle topology, polycount and symmetry control, A/T pose support, and textured outputs with optional PBR materials. It fits game asset creation, 3D printing, and production-oriented 3D pipelines.",
    "version": "1.0.0",
    "x-model-id": "meshy-6",
    "x-air-id": "meshy:meshy@6",
    "x-status": "coming-soon",
    "x-creator": {
      "id": "meshy",
      "name": "Meshy",
      "logo": "https://assets.runware.ai/acf9fed3-f93f-420c-bc88-ee4d419be72a.png"
    },
    "x-capabilities": [
      "text-to-3d",
      "image-to-3d"
    ],
    "x-released-at": "2026-01-18T00:00:00Z",
    "x-cover-image": "https://assets.runware.ai/c847e7a0-4003-4a94-a43d-8fb9498b9c25.jpg"
  },
  "servers": [
    {
      "url": "https://api.runware.ai/v1",
      "description": "Runware REST API"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Runware API Key (e.g., Bearer <your-key>)"
      }
    },
    "schemas": {
      "AuthenticationTask": {
        "title": "Authentication",
        "description": "Authenticates a connection using an API key. Can be sent as the first element of the request array as an alternative to using the Authorization header.",
        "type": "object",
        "x-response-schema": "https://schemas.runware.ai/responses/utilities/authentication.json",
        "properties": {
          "taskType": {
            "const": "authentication",
            "title": "Task Type",
            "description": "The type of task to perform."
          },
          "apiKey": {
            "title": "API Key",
            "description": "Your Runware API key.",
            "type": "string"
          },
          "connectionSessionUUID": {
            "title": "Connection Session UUID",
            "description": "Optional session UUID to resume a previous connection and receive any buffered results.",
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "taskType",
          "apiKey"
        ],
        "additionalProperties": false
      },
      "RequestBody": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "model": {
              "title": "Model",
              "description": "Identifier of the model to use for generation.",
              "type": "string",
              "const": "meshy:meshy@6"
            },
            "inputs": {
              "title": "Inputs",
              "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
              "type": "object",
              "properties": {
                "referenceImages": {
                  "title": "Reference Images",
                  "description": "List of reference images (UUID, URL, Data URI, or Base64). Used to guide the texturing process.",
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "title": "Image",
                    "description": "Image input (UUID, URL, Data URI, or Base64).",
                    "type": "string",
                    "anyOf": [
                      {
                        "format": "uuid"
                      },
                      {
                        "format": "uri"
                      },
                      {
                        "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                      },
                      {
                        "pattern": "^[a-zA-Z0-9+/=]+$"
                      }
                    ]
                  },
                  "maxItems": 1
                },
                "images": {
                  "title": "Images",
                  "description": "Array of image inputs (UUID, URL, Data URI, or Base64). For single image-to-3D, provide 1 image. For multi-image-to-3D, provide 2–4 images.",
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "title": "Image",
                    "description": "Image input (UUID, URL, Data URI, or Base64).",
                    "type": "string",
                    "anyOf": [
                      {
                        "format": "uuid"
                      },
                      {
                        "format": "uri"
                      },
                      {
                        "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                      },
                      {
                        "pattern": "^[a-zA-Z0-9+/=]+$"
                      }
                    ]
                  },
                  "maxItems": 4
                }
              },
              "additionalProperties": false
            },
            "positivePrompt": {
              "title": "Positive Prompt",
              "description": "Text prompt describing elements to include in the generated output.",
              "type": "string",
              "maxLength": 600
            },
            "settings": {
              "title": "Settings",
              "description": "Global inference settings.",
              "type": "object",
              "properties": {
                "autoSize": {
                  "type": "boolean",
                  "title": "Auto Size",
                  "description": "AI-based real-world height estimation to resize the model accordingly.",
                  "default": false
                },
                "decimation": {
                  "type": "integer",
                  "title": "Decimation",
                  "description": "Adaptive decimation level.",
                  "oneOf": [
                    {
                      "description": "Ultra polycount.",
                      "const": 1
                    },
                    {
                      "description": "High polycount.",
                      "const": 2
                    },
                    {
                      "description": "Medium polycount.",
                      "const": 3
                    },
                    {
                      "description": "Low polycount.",
                      "const": 4
                    }
                  ]
                },
                "hdTexture": {
                  "type": "boolean",
                  "title": "HD Texture",
                  "description": "Base colour texture at 4K (4096×4096) resolution. PBR maps are always generated at 2K regardless.",
                  "default": false
                },
                "imageEnhancement": {
                  "type": "boolean",
                  "title": "Image Enhancement",
                  "description": "Input image optimization for better generation results. Set to false to preserve the exact appearance of the input.",
                  "default": true
                },
                "meshType": {
                  "type": "string",
                  "title": "Mesh Type",
                  "description": "Mesh generation type for the output 3D model.",
                  "enum": [
                    "standard",
                    "lowpoly"
                  ],
                  "default": "standard"
                },
                "moderation": {
                  "type": "boolean",
                  "title": "Moderation",
                  "description": "Input content screening for potentially harmful material before generation proceeds.",
                  "default": false
                },
                "origin": {
                  "type": "string",
                  "title": "Origin",
                  "description": "Origin point position for the generated model.",
                  "enum": [
                    "bottom",
                    "center"
                  ],
                  "default": "bottom"
                },
                "pbr": {
                  "type": "boolean",
                  "title": "PBR",
                  "description": "PBR map generation (metallic, roughness, normal) in addition to base colour. Includes an emission map.",
                  "default": false
                },
                "polyCount": {
                  "type": "integer",
                  "title": "Poly Count",
                  "description": "Target polygon count. Actual count may deviate based on geometry complexity.",
                  "default": 30000,
                  "minimum": 100,
                  "maximum": 300000
                },
                "pose": {
                  "type": "string",
                  "title": "Pose",
                  "description": "Pose preset for the generated model.",
                  "enum": [
                    "none",
                    "a-pose",
                    "t-pose"
                  ],
                  "default": "none"
                },
                "remesh": {
                  "type": "boolean",
                  "title": "Remesh",
                  "description": "Remesh phase toggle. When false, returns the highest-precision triangular mesh without decimation.",
                  "default": false
                },
                "removeLighting": {
                  "type": "boolean",
                  "title": "Remove Lighting",
                  "description": "Highlight and shadow removal from the base colour texture, producing a cleaner result for custom lighting.",
                  "default": true
                },
                "symmetry": {
                  "type": "string",
                  "title": "Symmetry",
                  "description": "Symmetry behaviour during generation.",
                  "enum": [
                    "off",
                    "auto",
                    "on"
                  ],
                  "default": "auto"
                },
                "texture": {
                  "type": "boolean",
                  "title": "Texture",
                  "description": "Texture generation toggle. When false, returns a mesh only.",
                  "default": true
                },
                "texturePrompt": {
                  "type": "string",
                  "title": "Texture Prompt",
                  "description": "Additional text prompt to guide the texturing process.",
                  "maxLength": 600
                },
                "topology": {
                  "type": "string",
                  "title": "Topology",
                  "description": "Mesh topology for the output model.",
                  "enum": [
                    "triangle",
                    "quad"
                  ],
                  "default": "triangle"
                }
              },
              "additionalProperties": false
            },
            "taskType": {
              "title": "Task Type",
              "description": "Identifier for the type of task being performed",
              "type": "string",
              "const": "3dInference"
            },
            "taskUUID": {
              "title": "Task UUID",
              "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
              "type": "string",
              "format": "uuid"
            },
            "webhookURL": {
              "title": "Webhook URL",
              "description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
              "type": "string",
              "format": "uri"
            },
            "includeCost": {
              "title": "Include Cost",
              "description": "Include task cost in the response.",
              "type": "boolean",
              "default": false
            },
            "numberResults": {
              "title": "Number of Results",
              "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "maximum": 4
            },
            "uploadEndpoint": {
              "title": "Upload Endpoint",
              "description": "Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.\n\n**Common use cases:**\n\n- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.\n- **CDN integration**: Upload to content delivery networks for immediate distribution.\n\n```text\n// S3 presigned URL for secure upload\nhttps://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600\n\n// Google Cloud Storage presigned URL\nhttps://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789\n\n// Custom storage endpoint\nhttps://storage.example.com/uploads/generated-image.jpg\n```\n\nThe content data will be sent as the request body to the specified URL when generation is complete.\n\n[Read full documentation](https://runware.ai/docs/models/meshy-6#uploadEndpoint)",
              "type": "string",
              "format": "uri"
            },
            "ttl": {
              "title": "TTL",
              "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
              "type": "integer",
              "minimum": 60
            },
            "outputType": {
              "title": "Output Type",
              "description": "3D output type.",
              "type": "string",
              "enum": [
                "URL"
              ],
              "default": "URL"
            },
            "outputFormat": {
              "title": "Output Format",
              "description": "Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.\n\n- \\`JPG\\`: Best for photorealistic images with smaller file sizes (no transparency).\n- \\`PNG\\`: Lossless compression, supports high quality and transparency (alpha channel).\n- \\`WEBP\\`: Modern format providing superior compression and transparency support.\n- \\`MP4\\`: Widely supported video container (H.264), recommended for general use.\n- \\`WEBM\\`: Optimized for web delivery.\n- \\`MOV\\`: QuickTime format, common in professional workflows (Apple ecosystem).\n- \\`GIF\\`: Animated image format (no audio), suitable for short loops or previews.\n- \\`MP3\\`: Compressed audio, smaller file size.\n- \\`WAV\\`: Uncompressed, high-quality audio.\n- \\`FLAC\\`: Lossless compression.\n- \\`OGG\\`: Open-source compressed audio format (Vorbis codec).\n- \\`SVG\\`: Scalable Vector Graphics.\n- \\`TIFF\\`: High-quality output supporting layers.\n- \\`GLB\\`: Binary glTF format for 3D models, including geometry, textures, and PBR materials.\n\n> [!NOTE]\n> \\*\\*Transparency\\*\\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \\`PNG\\`, \\`WEBP\\`, \\`TIFF\\`). \\`JPG\\` does not support transparency.\n\n[Read full documentation](https://runware.ai/docs/models/meshy-6#outputFormat)",
              "type": "string",
              "enum": [
                "GLB"
              ],
              "default": "GLB"
            },
            "deliveryMethod": {
              "title": "Delivery Method",
              "description": "Determines how the API delivers task results.",
              "type": "string",
              "oneOf": [
                {
                  "const": "sync",
                  "description": "Returns complete results directly in the API response."
                },
                {
                  "const": "async",
                  "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
                }
              ],
              "default": "async"
            }
          },
          "allOf": [
            {
              "anyOf": [
                {
                  "required": [
                    "positivePrompt"
                  ]
                },
                {
                  "properties": {
                    "inputs": {
                      "properties": {
                        "images": {
                          "minItems": 1
                        }
                      },
                      "required": [
                        "images"
                      ]
                    }
                  },
                  "required": [
                    "inputs"
                  ]
                }
              ]
            },
            {
              "not": {
                "allOf": [
                  {
                    "properties": {
                      "settings": {
                        "required": [
                          "polyCount"
                        ]
                      }
                    },
                    "required": [
                      "settings"
                    ]
                  },
                  {
                    "properties": {
                      "settings": {
                        "required": [
                          "decimation"
                        ]
                      }
                    },
                    "required": [
                      "settings"
                    ]
                  }
                ]
              }
            },
            {
              "not": {
                "allOf": [
                  {
                    "properties": {
                      "settings": {
                        "required": [
                          "texturePrompt"
                        ]
                      }
                    },
                    "required": [
                      "settings"
                    ]
                  },
                  {
                    "properties": {
                      "inputs": {
                        "required": [
                          "referenceImages"
                        ]
                      }
                    },
                    "required": [
                      "inputs"
                    ]
                  }
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "properties": {
                      "meshType": {
                        "const": "lowpoly"
                      }
                    },
                    "required": [
                      "meshType"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "not": {
                  "anyOf": [
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "remesh"
                          ]
                        }
                      }
                    },
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "topology"
                          ]
                        }
                      }
                    },
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "polyCount"
                          ]
                        }
                      }
                    },
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "decimation"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "properties": {
                      "texture": {
                        "const": false
                      }
                    },
                    "required": [
                      "texture"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "not": {
                  "properties": {
                    "settings": {
                      "required": [
                        "pbr"
                      ]
                    }
                  },
                  "required": [
                    "settings"
                  ]
                }
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "required": [
                      "origin"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "properties": {
                  "settings": {
                    "properties": {
                      "autoSize": {
                        "const": true
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "anyOf": [
                      {
                        "required": [
                          "topology"
                        ]
                      },
                      {
                        "required": [
                          "polyCount"
                        ]
                      },
                      {
                        "required": [
                          "decimation"
                        ]
                      }
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "properties": {
                  "settings": {
                    "properties": {
                      "remesh": {
                        "const": true
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "required": [
                      "imageEnhancement"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "properties": {
                  "inputs": {
                    "required": [
                      "images"
                    ]
                  }
                },
                "required": [
                  "inputs"
                ]
              }
            }
          ],
          "additionalProperties": false,
          "required": [
            "taskType",
            "taskUUID",
            "model"
          ]
        },
        "description": "You must always POST an array of task objects."
      },
      "ResponseBody": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Unknown response structure"
            }
          }
        }
      },
      "ErrorResponse": {
        "title": "Error Response",
        "description": "Standard error response returned by the Runware API.",
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": true,
              "properties": {
                "code": {
                  "type": "string",
                  "description": "A short identifier for the error (e.g., invalidApiKey, timeoutProvider)."
                },
                "message": {
                  "type": "string",
                  "description": "A human-readable explanation of what went wrong."
                },
                "parameter": {
                  "type": "string",
                  "description": "The request parameter related to the error, if applicable."
                },
                "taskType": {
                  "type": "string",
                  "description": "The task type of the request that failed."
                },
                "taskUUID": {
                  "type": "string",
                  "description": "The unique identifier of the failed request."
                },
                "documentation": {
                  "type": "string",
                  "description": "A link to relevant documentation."
                }
              }
            }
          }
        },
        "required": [
          "errors"
        ],
        "additionalProperties": false
      }
    }
  },
  "paths": {
    "/": {
      "post": {
        "summary": "Run Meshy-6",
        "description": "Meshy-6 is a 3D generation model for text-to-3D and image-to-3D workflows. It is built for cleaner geometry, sharper hard-surface detail, low-poly generation, configurable quad or triangle topology, polycount and symmetry control, A/T pose support, and textured outputs with optional PBR materials. It fits game asset creation, 3D printing, and production-oriented 3D pipelines.",
        "operationId": "run_meshy_6",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseBody"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request — Missing or invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — No valid API key provided.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — Insufficient account balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — The API key lacks permissions for this request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests — Rate limit exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error — Something went wrong on Runware's end.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable — Temporarily unavailable (maintenance or capacity).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ]
}