From 1e79ca762f1a34d656e5fb8a58d7091878d6853c Mon Sep 17 00:00:00 2001 From: AI Bot Date: Mon, 14 Sep 2026 22:30:03 +0530 Subject: [PATCH] fix: Revert to Meshy Image-To-3D V1 and update models to meshy-4/meshy-3 --- src/components/ImageTo3DModal.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ImageTo3DModal.tsx b/src/components/ImageTo3DModal.tsx index a8c50f6..0739b8c 100644 --- a/src/components/ImageTo3DModal.tsx +++ b/src/components/ImageTo3DModal.tsx @@ -306,7 +306,7 @@ export const ImageTo3DModal: React.FC = ({ isOpen, onClose, }; if (meshyModelType !== 'lowpoly') { - payload.ai_model = meshyAiModel === 'latest' ? 'meshy-6' : meshyAiModel; + payload.ai_model = meshyAiModel === 'latest' ? 'meshy-4' : meshyAiModel; payload.should_remesh = meshyShouldRemesh; if (meshyShouldRemesh) { payload.topology = meshyTopology; @@ -326,7 +326,7 @@ export const ImageTo3DModal: React.FC = ({ isOpen, onClose, } } - const taskRes = await fetch('https://api.meshy.ai/openapi/v2/image-to-3d', { + const taskRes = await fetch('https://api.meshy.ai/openapi/v1/image-to-3d', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -342,7 +342,7 @@ export const ImageTo3DModal: React.FC = ({ isOpen, onClose, let isDone = false; while (!isDone) { await new Promise(r => setTimeout(r, 2000)); - const pollRes = await fetch(`https://api.meshy.ai/openapi/v2/image-to-3d/${taskId}`, { + const pollRes = await fetch(`https://api.meshy.ai/openapi/v1/image-to-3d/${taskId}`, { headers: { 'Authorization': `Bearer ${meshyApiKey}` } @@ -494,9 +494,9 @@ export const ImageTo3DModal: React.FC = ({ isOpen, onClose,