PatchDesign.AI
v1.0.1Design custom embroidered, woven, chenille, printed and PVC patches, price them, and link to order.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
quote_patch Price a custom patch
Price a custom patch from the live PatchDesign.AI production price table: type, size and quantity in, the per-patch and total price in USD out, with the next quantity breaks and what the price already includes (artwork, a pre-production sample, worldwide shipping). The price returned is the customer's price, not a starting figure. No quote is needed unless they choose a backing or border with no set price; then that price is confirmed within 2 business hours. There is no minimum: quantity 1 returns the sample prices, and by default quote the price breaks. Use it when the user asks about a pric…
| Parameter | Type | Description |
|---|---|---|
heightIn | number | Height in inches, 1 to 12.5. Default 3. |
patchType | string | Patch type: embroidered (default), woven, chenille, printed, pvc-2d or pvc-3d. Iron-on, velcro and sew-on are backings on an embroidered patch, so use embroidered for those. |
quantity | integer | How many patches. Default 100. Use 1 for a single patch. |
widthIn | number | Width in inches, 1 to 12.5. Default 3. |
design_patch Design a custom patch
Generate a production-ready custom patch design from a description (and optionally a reference image URL). Takes about 15 to 30 seconds and returns the design as an image plus a design id for edits and an order link. Previews carry a light PatchDesign.AI watermark; the clean file comes with an order. Say what the patch shows and any text on it, spelled exactly. To change a design already made in this chat, use edit_patch with its id. A chat gets 10 free designs, then the user signs in with the link from sign_in_link. If the result says the service was busy, call it once more with the same inpu…
| Parameter | Type | Description |
|---|---|---|
description * | string | What the patch should show: subject, colors, mood, and any lettering spelled exactly as it should appear. 3 to 1500 characters. |
heightIn | number | Height in inches, 1 to 12.5. Default 3. |
patchType | string | Patch type: embroidered (default), woven, chenille, printed, pvc-2d or pvc-3d. Iron-on, velcro and sew-on are backings on an embroidered patch, so use embroidered for those. |
referenceImageUrl | string | Optional https URL of a logo, sketch or photo to base the patch on. With a reference, the description is guidance about how to adapt it. |
widthIn | number | Width in inches, 1 to 12.5. Default 3. |
edit_patch Change a design
Make a change to a design from this chat: pass its design id (d_...) and the change in plain words ("make the border gold", "change TROOP 42 to TROOP 24"). Use it for a change the user asks for later in the chat too, so the original artwork is kept. Returns a new design with its own id; the original stays. Counts as one design.
| Parameter | Type | Description |
|---|---|---|
designId * | string | The design id from the design_patch or edit_patch result for that design, e.g. d_1a2b3c4d5e6f7a8b, not its D- number. It works in any later turn of the chat. |
instruction * | string | The change, in plain words. 2 to 800 characters. |
order_link Order a design
The link where the user orders a design from this chat, with the type, size and quantity set, plus the price for that quantity. Nothing is ordered or charged by this call; the user reviews and pays on patchdesign.ai. Use it when the user wants to buy, get a quote by email, or adjust size and quantity on the site.
| Parameter | Type | Description |
|---|---|---|
designId * | string | The design id (d_...) from the result of that design, not its D- number. |
quantity | integer | How many patches they want. There is no minimum order. Default: the first price break for the type. |
sign_in_link Sign in to PatchDesign.AI
A link that connects this chat to the user's PatchDesign.AI account (free), lifting the 10-design limit to the account allowance of 50 designs a day and 250 a month, and saving the designs to their account. The link expires in 15 minutes. Give it to the user, then continue once they say they have connected.