Repository navigation
feat(cli): meshy-t2.5 Smart Topology model on image-to-3d and text-to-3d [ENG-4166] - #14
Merged
Merged
Conversation
…and text-to-3d - --ai-model meshy-t2|meshy-t2.5 on image-to-3d and text-to-3d preview, with --model-type smart-topology only; omitted, the API picks meshy-t2. - target_polycount checked per model on the merged payload: meshy-t2 100-15000, meshy-t2.5 100-30000. meshy-t2 keeps the CLI default 10000; meshy-t2.5 leaves it to the API (15000), D-078. - Smart Topology ai_model without smart-topology, and topology quad with smart-topology, are refused before the request. - Docs: usage, SKILL.md, decisions D-078, migration notes for 0.4.3, endpoint contracts, capability matrix. Version 0.4.3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Arlieeee
marked this pull request as ready for review
October 13, 2026 10:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Meshy T2.5 (
ai_model: "meshy-t2.5"), a Smart Topology model, toimage-to-3dandtext-to-3dpreview. Without--ai-model, smart topology behaves as before: noai_modelis sent and the API picks meshy-t2.Added
--ai-model meshy-t2|meshy-t2.5onimage-to-3d createandtext-to-3d create(preview), valid with--model-type smart-topologyonly. Standard mode keeps no model flag.multi-image-to-3dgets none because the API has no Smart Topology there.--target-polycountis checked per model before the request: meshy-t2 100–15,000, meshy-t2.5 100–30,000.image-to-3dhad no local range check before.--datagets the same rules. A Smart Topologyai_modelwithoutmodel_type: "smart-topology"fails with exit 2, and so doestopology: "quad"with smart topology (the output is triangle-only).docs/usage.md,skills/meshy-cli/SKILL.md(one line), decisions D-078, migration notes "Changes in 0.4.3", endpoint contracts (smart_topology) and the capability matrix. Credits are the same as meshy-t2: 5 for a mesh only, and for image-to-3d 15 with 2K/4K textures or 20 with 8K. A text-to-3d refine of a meshy-t2.5 preview works the same as one of a meshy-t2 preview.Verification
pnpm typecheck && pnpm test: 639/639 pass. New loopback tests check that t2.5 is accepted with smart topology on image-to-3d and text-to-3d preview and that the request body carriesai_model: "meshy-t2.5". They also check that 30,000 is accepted for t2.5 and refused for t2, that t2.5 leaves the default polycount to the API while t2 still sends 10,000, and that each refusal (without smart topology, with quad, on refine, on multi-image, an unknown model) exits 2 before any request.node dist/index.js --versionprints0.4.3. Compared withmain, the command/flag tree only addsimage-to-3d create --ai-modelandtext-to-3d create --ai-model. Nothing was removed.Release notes (draft)
Highlights
image-to-3dandtext-to-3dpreview accept--model-type smart-topology --ai-model meshy-t2.5, with--target-polycountup to 30,000 (default 15,000). Without--ai-model, smart topology runs meshy-t2 as before (100–15,000, default 10,000). Credits are the same as meshy-t2.image-to-3d, a smart-topology--target-polycountoutside the model's range now fails before the request (exit 2) instead of being refused by the API.ai_modelwithout--model-type smart-topology, ortopology: "quad"with smart topology (sent through--data), now fails before the request (exit 2).🤖 Generated with Claude Code