返回顶部
m

mixtiles-it

Send a photo to Mixtiles for ordering wall tiles. Use when a user forwards/sends a photo and wants to order it as a Mixtile, add it to their Mixtiles cart, or says "mixtile this", "make this a tile", or similar. Also handles image URLs.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
548
下载量
0
收藏
概述
安装方式
版本历史

mixtiles-it

# Mixtiles It Turn any photo into a Mixtiles order link. User sends a photo (or image URL) → get back a ready-to-order Mixtiles cart link. ## How It Works 1. User sends/forwards a photo or image URL 2. Run the upload script to get a public URL and Mixtiles cart link 3. Send the cart link back — user taps it to customize and order ## Usage ```bash # Single photo python3 scripts/mixtiles-cart.py <local-file-or-url> [--size SIZE] # Multiple photos (one cart link with all photos) python3 scripts/mixtiles-cart.py --batch <image1> <image2> ... [--size SIZE] ``` The script handles: - **Local files**: Uploads to Cloudinary (the only host Mixtiles can display from) - **URLs**: Downloads first, then uploads to Cloudinary - **Batch mode**: Uploads all images and builds a single multi-photo cart URL - **Output**: Prints the Mixtiles cart URL to stdout ### Size Options Default is `RECTANGLE_12X16`. Other known sizes from Mixtiles: - `SQUARE_8X8` — Classic square - `RECTANGLE_12X16` — Portrait rectangle (default) - `RECTANGLE_16X12` — Landscape rectangle ### Environment Variables (optional) - `CLOUDINARY_CLOUD` — Cloudinary cloud name (default: `demo`) - `CLOUDINARY_PRESET` — Cloudinary unsigned upload preset (default: `unsigned`) - `MIXTILES_UPLOAD_URL` — Override the upload API endpoint (Railway fallback) - `MIXTILES_UPLOAD_KEY` — Override the upload API key (Railway fallback) ## Workflow When a user sends a photo with intent to mixtile it: 1. Identify the image file path (from media attachment) or URL 2. Run: `python3 <skill-dir>/scripts/mixtiles-cart.py <path-or-url>` 3. Send the resulting URL to the user with a brief message like "Here's your Mixtiles link! 🖼️ Tap to customize size, frame, and order." If multiple photos are sent, use `--batch` to create a single cart link with all photos: `python3 <skill-dir>/scripts/mixtiles-cart.py --batch <path1> <path2> ...`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mixtiles-it-1776420085 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mixtiles-it-1776420085 技能

通过命令行安装

skillhub install mixtiles-it-1776420085

下载 Zip 包

⬇ 下载 mixtiles-it v1.1.0

文件大小: 4.64 KB | 发布时间: 2026-4-17 19:55

v1.1.0 最新 2026-4-17 19:55
Add --batch flag for multi-photo cart URLs

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部