/meltflex:meltflex-embedfrom meltflex
Embeds the MeltFlex AI room design tool on a website via iframe. Covers setup in HTML, React/Next.js, Vue, Shopify, WordPress, and Webflow, including product page integration and troubleshooting blank frames.
Ships in meltflex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A website embed is one <iframe> that puts a MeltFlex design tool on the user's own site, with their logo, colour and language. Visitors upload a photo of their room and get a design on that page. They need no account; each design costs the site owner 10 credits.

Usually the user builds the embed once in the browser, and your job is to put the code in the right place and check that it loads. If they have an API key (any paid plan) you can also build it for them and load their products: see section 1b.
| Embed for | What visitors do |
|---|---|
| Furniture brands and e-shops | Pick the shop's own products and see them in a photo of their room |
| Design studios, real estate | Restyle a room, or furnish an empty listing, from a photo |
To generate designs from code instead (your own UI, batch jobs), use /meltflex:design and /meltflex:furniture.
Send the user to https://www.meltflexai.com/embed-builder → New embed. The steps:
yourshop.com (subdomains included, up to 10). For local development they must also add localhost.Building and copying the code is free with any account, and the account's embeds make 10 designs for free. After that visitors see a popup that the site needs an Enterprise plan (https://www.meltflexai.com/enterprise); on Enterprise each design uses 10 credits and an empty balance shows a popup to add credits. Ask the user to paste the copied code, or just the https://widget.meltflexai.com/... address in it. Never invent an embed ID.
When the user has many products and no feed, or wants you to do the setup, use https://www.meltflexai.com/api/v1/embeds with Authorization: Bearer mf_sk_.... Same fields as the builder:
curl -X POST https://www.meltflexai.com/api/v1/embeds \
-H "Authorization: Bearer $MELTFLEX_API_KEY" -H "Content-Type: application/json" \
-d '{
"tool": "retailer",
"allowedDomains": ["yourshop.com"],
"language": "en",
"accentColor": "#1f2937",
"logoUrl": "https://yourshop.com/logo.png",
"productFeedUrl": "https://yourshop.com/feed.xml",
"manualProducts": [
{ "name": "Oak sofa", "price": 1299, "currency": "EUR",
"link": "https://yourshop.com/products/oak-sofa",
"image": "https://yourshop.com/img/oak-sofa.jpg", "category": "Sofas" }
]
}'
GET lists embeds; PATCH with id + fields changes one (manualProducts replaces the whole list; enabled: false pauses); DELETE with id.tool: retailer, interior, staging, kitchen. language: en, es, de, fr, pt. Up to 10 domains, up to 60 manualProducts (use a feed for more)."productFilter": { "hidden": ["<id>"], "hiddenCategories": ["Sofas"] } (id = the feed's item_group_id, else its id; hand-added ones are manual:<id>). A hidden category also hides products the feed adds to it later. Send the whole filter on each change.422 with the reason: fix it and retry.link.token is the embed ID for https://widget.meltflexai.com/<token>. Every account gets it. locked: true means no Enterprise yet: the embed runs on the free designs (freeDesignsLeft on GET), then needs Enterprise.The code from the builder:
<iframe
src="https://widget.meltflexai.com/YOUR_EMBED_ID"
title="AI Interior Design by MeltFlex"
width="100%"
height="720"
style="border:0;border-radius:12px;max-width:100%;"
allow="clipboard-write"
loading="lazy"
></iframe>
Rules that keep it working:
src exactly as copied. Settings (logo, colour, language, products, domains, pause) are changed in the builder and show up without touching the code.height is free to change; 720 px is a good default.sandbox attribute, and keep allow="clipboard-write".https (or from localhost when that is on the website list).const MELTFLEX_EMBED_URL = 'https://widget.meltflexai.com/YOUR_EMBED_ID';
export function MeltFlexDesigner({ productUrl }: { productUrl?: string }) {
const src = productUrl
? `${MELTFLEX_EMBED_URL}?product=${encodeURIComponent(productUrl)}`
: MELTFLEX_EMBED_URL;
return (
<iframe
src={src}
title="AI Interior Design by MeltFlex"
width="100%"
height={720}
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
allow="clipboard-write"
loading="lazy"
/>
);
}
<template>
<iframe
:src="src"
title="AI Interior Design by MeltFlex"
width="100%"
height="720"
style="border:0;border-radius:12px;max-width:100%;"
allow="clipboard-write"
loading="lazy"
/>
</template>
<script setup>
import { computed } from 'vue';
const props = defineProps({ productUrl: String });
const base = 'https://widget.meltflexai.com/YOUR_EMBED_ID';
const src = computed(() =>
props.productUrl ? `${base}?product=${encodeURIComponent(props.productUrl)}` : base
);
</script>
| Platform | Where the code goes |
|---|---|
| WordPress | Edit the page → add a Custom HTML block → paste → Update |
| Shopify | Theme editor → add a Custom Liquid section (or the page's HTML editor) → paste → Save |
| Webflow | Drag an Embed element onto the page → paste → Publish |
| Wix | Not supported: Wix serves custom code from a different domain than the site, so the domain lock blocks it |
Add ?product= with the product page's address and the tool opens with that product ready to place:
https://widget.meltflexai.com/YOUR_EMBED_ID?product=https://yourshop.com/products/oak-sofa
link field). A product that is not in the catalog is ignored and the tool opens normally.http:// or https://. URL-encode it when you build the address in code.?product={{ shop.url }}{{ product.url }}?product=<?php echo rawurlencode( get_permalink() ); ?>curl -sI "https://widget.meltflexai.com/YOUR_EMBED_ID" | grep -iE "^HTTP|content-security-policy"
HTTP 200 and a content-security-policy: frame-ancestors ... line listing the user's domains → the embed exists; the listed domains are the only sites it loads on.HTTP 404 → the embed ID is wrong or the embed was deleted. Ask the user to copy the code again.Then open the page in a browser, upload a photo and make one design (10 credits from the owner's account).
| What you see | Cause | Fix |
|---|---|---|
Blank frame; console says Refused to frame ... frame-ancestors | The page's domain is not on the embed's website list, or the page is served over http | Builder → edit the embed → Website: add the domain (no https://, subdomains are covered). Use https. For local work add localhost |
Blank frame; console says the page's own Content-Security-Policy blocked the frame | The site's CSP has a frame-src / child-src / default-src that does not include the widget | Add frame-src https://widget.meltflexai.com to the site's CSP |
| "Sorry, this service is not available right now" | The owner is out of credits, the Enterprise plan ended, or the embed is paused | The owner tops up, renews or un-pauses it in the builder. Nothing is spent meanwhile |
| A visitor is told they reached the limit | Each visitor gets 10 designs per 24 h; the embed also has a daily limit for all visitors together (default 100) | Builder → raise the daily limit or choose No limit |
| Desktop shows the phone layout | The iframe's container is narrower than about 1000 px | Move it to a full-width section |
?product= opens no product | The address is not the product's link in the feed, or is not URL-encoded | Compare it with the feed; encode it |
| Products are missing or old | The feed is read once an hour, up to 3,000 products | Wait for the refresh, or check the feed link in the builder |
next.config.js, vercel.json, _headers, nginx), add frame-src https://widget.meltflexai.com.localhost) to the embed's website list.Full guide: https://www.meltflexai.com/api#embed
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/meltflex-3dProduce 3D assets with MeltFlex AI. Use when the user wants a downloadable 3D model (GLB) of a furniture piece from one photo; a 3D model or a rendered 3D picture from a 2D floorplan; or an explorable 3D world (Gaussian splat, .spz plus a hosted viewer link) from a room photo or render. Covers polling long builds (HTTP 202) and refreshing expired world links. Works directly against the MeltFlex REST API — no extra install required. Companion to /meltflex:design./meltflex-designGenerate photorealistic interior and exterior redesigns from a photo using MeltFlex AI. Use when the user wants to restyle, redesign, declutter, virtually stage, or re-theme a room, facade, or garden; swap a floor, wall finish, staircase, doors or windows; redesign a kitchen or bathroom; turn a 3D draft into a photo; or preview a space in a different style, material, or season. Can also produce a cinematic video walkthrough; for 3D models and 3D worlds see the companion skill meltflex-3d. Works directly against the MeltFlex REST API — no extra install required./meltflex-furniturePlace specific real furniture or decor products into a room photo using MeltFlex AI. Use when the user wants exact items (a particular sofa, bed, table, lamp) staged into a room while matching their real colors, materials, and proportions. Companion to /meltflex:design.Generated from the plugin's indexed repository (meltflexdevs/skills) — no native marketplace selected
npx claudepluginhub p/meltflexdevs-meltflexOther plugins' skills for the same job