Skip to content

Vto#216

Open
viniciusventura29 wants to merge 2 commits intomainfrom
VTO
Open

Vto#216
viniciusventura29 wants to merge 2 commits intomainfrom
VTO

Conversation

@viniciusventura29
Copy link
Collaborator

@viniciusventura29 viniciusventura29 commented Feb 6, 2026

Summary by cubic

Adds a new Virtual Try-On MCP that combines a person photo with garment images and delegates image generation to a configured generator MCP. Provides a single VIRTUAL_TRY_ON tool with simple configuration options.

  • New Features

    • New virtual-try-on workspace with an MCP server and VIRTUAL_TRY_ON tool.
    • Two config modes: direct generatorMcpUrl (+ optional token) or generatorConnectionId via CONNECTION binding.
    • Sends person + garment image URLs with options (instruction, aspectRatio, model); builds a clear VTO prompt.
    • Defaults: tool GENERATE_IMAGE and model gemini-2.5-flash-image-preview; both overrideable.
  • Refactors

    • Updated createPrivateTool import to @decocms/runtime/tools in shared/tools/user.ts.
    • Registered the virtual-try-on workspace and dependencies in package.json and bun.lock.

Written for commit 006616f. Summary will update on new commits.

…nd tools

- Introduced the Virtual Try-On MCP, allowing users to generate images by combining person photos with garment images.
- Added configuration options for direct generator URLs and Deco Mesh connection bindings.
- Implemented input validation and tool execution logic for the virtual try-on functionality.
- Updated package.json and bun.lock to include the new MCP and its dependencies.
- Created README and TypeScript configuration files for the new MCP.
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🚀 Preview Deployments Ready!

Your changes have been deployed to preview environments:

📦 apify

🔗 View Preview

📦 blog-post-generator

🔗 View Preview

📦 content-scraper

🔗 View Preview

📦 data-for-seo

🔗 View Preview

📦 deco-llm

🔗 View Preview

📦 deco-news-weekly-digest

🔗 View Preview

📦 discord-read

🔗 View Preview

📦 github

🔗 View Preview

📦 google-apps-script

🔗 View Preview

📦 google-big-query

🔗 View Preview

📦 google-calendar

🔗 View Preview

📦 google-drive

🔗 View Preview

📦 google-forms

🔗 View Preview

📦 google-meet

🔗 View Preview

📦 google-sheets

🔗 View Preview

📦 google-slides

🔗 View Preview

📦 google-tag-manager

🔗 View Preview

📦 grain

🔗 View Preview

📦 hyperdx

🔗 View Preview

📦 mcp-studio

🔗 View Preview

📦 meta-ads

🔗 View Preview

📦 openrouter

🔗 View Preview

📦 perplexity

🔗 View Preview

📦 registry

🔗 View Preview

📦 slack-mcp

🔗 View Preview

📦 tiktok-ads

🔗 View Preview

📦 vtex-docs

🔗 View Preview

These previews will be automatically updated with new commits to this PR.


Deployed from commit: 6b44b0d

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 9 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="virtual-try-on/server/main.ts">

<violation number="1" location="virtual-try-on/server/main.ts:56">
P0: The default model `gemini-2.5-flash-image-preview` is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release `gemini-2.5-flash-image` instead.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

),
defaultModel: z
.string()
.default("gemini-2.5-flash-image-preview")
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0: The default model gemini-2.5-flash-image-preview is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release gemini-2.5-flash-image instead.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At virtual-try-on/server/main.ts, line 56:

<comment>The default model `gemini-2.5-flash-image-preview` is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release `gemini-2.5-flash-image` instead.</comment>

<file context>
@@ -0,0 +1,75 @@
+    ),
+  defaultModel: z
+    .string()
+    .default("gemini-2.5-flash-image-preview")
+    .describe(
+      "Default model to send to the generator (used when the generator tool requires a model field).",
</file context>
Fix with Cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant