Generate 3D models for 3D printing from images or text prompts using PrintPal API, plus SEO product listing generation. Supports text-to-image via WaveSpeed...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install printpal-3d或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install printpal-3d⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/printpal-3d/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: printpal-3d description: Generate 3D models for 3D printing from images or text prompts using PrintPal API. Use when the user wants to create 3D printable models, convert images to STL/GLB/OBJ files, or generate 3D assets from text descriptions. Supports text-to-image via WaveSpeed when WAVESPEED_API_KEY is configured. Works with file paths, URLs, or images pasted directly into chat. credentials: - name: PRINTPAL_API_KEY required: true description: API key for PrintPal 3D generation (get from https://printpal.io/api-keys) - name: WAVESPEED_API_KEY required: false description: API key for text-to-image and product photo generation (get from https://wavespeed.ai/accesskey) - name: OPENROUTER_API_KEY required: false description: API key for SEO metadata generation (get from https://openrouter.ai/keys) ---
Generate 3D models from images or text prompts for 3D printing.
From an image path or URL:
python3 {baseDir}/scripts/generate_3d.py --image /path/to/image.png
From text prompt:
python3 {baseDir}/scripts/generate_3d.py --prompt "a cute robot toy"
Required Python packages:
pip install printpal requests
For text-to-image and SEO features:
pip install wavespeed
Configure API keys in your OpenClaw settings (~/.openclaw/openclaw.json under env):
PRINTPAL_API_KEY - required for 3D generationWAVESPEED_API_KEY - for text-to-image and product photosOPENROUTER_API_KEY - for SEO metadata generation- If user provides a file path → use it directly - If user provides a URL → download it - If user pastes an image → use it directly (it will be available as a file path or URL in context) - If user provides text → generate image via WaveSpeed first
- Use PrintPal API with super quality (768 cubed) - Default output format: STL - Save to printpal-output/ directory in workspace
- Start file server if needed - Return clickable URLs
| Setting | Default | Options | |---------|---------|---------| | Quality | super | default, high, ultra, super, super_texture, superplus, superplus_texture | | Format | stl | stl, glb, obj, ply, fbx |
Main script for generating 3D models.
python3 scripts/generate_3d.py [OPTIONS]
Options:
-i, --image PATH Input image file path or URL
-p, --prompt TEXT Text prompt (uses WaveSpeed to generate image first)
-q, --quality TEXT Quality level (default: super)
-f, --format TEXT Output format (default: stl)
-o, --output-dir DIR Output directory
--json Output results as JSON
Start HTTP server for file downloads.
python3 scripts/serve_files.py [OPTIONS]
Options:
-d, --directory DIR Directory to serve (default: printpal-output/)
-p, --port PORT Port number (default: 8765)
--host HOST Host to bind to (default: 127.0.0.1)
--public Bind to 0.0.0.0 to allow network access
--url-only Just print URL without starting server
| Quality | Resolution | Credits | Est. Time | |---------|-----------|---------|-----------| | default | 256³ | 4 | 20 sec | | high | 384³ | 6 | 30 sec | | ultra | 512³ | 8 | 60 sec | | super | 768³ | 20 | 3 min | | superplus | 1024³ | 30 | 4 min |
| Format | Best For | |--------|----------| | STL | 3D printing (default) | | GLB | Web/games | | OBJ | Universal compatibility | | PLY | Point clouds | | FBX | Autodesk software |
Required environment variables (configure in ~/.openclaw/openclaw.json under env):
PRINTPAL_API_KEY - Get from https://printpal.io/api-keys (required for 3D generation)WAVESPEED_API_KEY - Get from https://wavespeed.ai/accesskey (optional, for text-to-image)OPENROUTER_API_KEY - Get from https://openrouter.ai/keys (optional, for SEO generation)Default output is printpal-output/ in the skill's workspace. Override with:
PRINTPAL_OUTPUT_DIR=/path/to/output--output-dir /path/to/output--public flag to expose to network.printpal, wavespeed, and requests packages. Review these packages before installing.| Error | Solution | |-------|----------| | WAVESPEED_API_KEY not set | Provide image directly or configure API key | | PRINTPAL_API_KEY not set | Configure in OpenClaw settings | | Insufficient credits | Purchase at printpal.io/buy-credits | | Package not installed | Run pip install printpal wavespeed |
---
Generate SEO-optimized metadata and product photos for selling 3D models/prints on marketplaces like Etsy, TikTok Shop, etc.
python3 scripts/seo_product_photos.py \
--image /path/to/model_photo.jpg \
--description "A cute dragon figurine" \
--purpose "Collectible toy for fantasy fans" \
--audience "Fantasy enthusiasts, collectors, parents buying for kids"
# OpenRouter (for SEO generation)
OPENROUTER_API_KEY=your_openrouter_key
# WaveSpeed (for product photos)
WAVESPEED_API_KEY=your_wavespeed_key
Get OpenRouter key: https://openrouter.ai/keys Get WaveSpeed key: https://wavespeed.ai/accesskey
| Option | Short | Description | Default | |--------|-------|-------------|---------| | --image | -i | Path or URL to input image | (required) | | --description | -d | Description of the 3D model/print | (required) | | --purpose | -p | What the item is for/its use | (required) | | --audience | -a | Target audience/customers | (required) | | --num-photos | -n | Number of photos to generate | 5 | | --port | - | Download server port | 8766 | | --json | - | Output results as JSON | false |
The script generates:
seo_metadata.txt - Full metadata (title, description, tags, features, etc.)product_photo_01.png through product_photo_05.png - Generated product photosseo_product_listing.zip - All files packaged for downloadDownload URL is provided at the end (e.g., http://hostname:8766/seo_product_listing.zip)
The generated metadata includes:
python3 scripts/seo_product_photos.py \
--image /workspace/my_mug_holder.jpg \
--description "A custom 3D printed mug holder with dragon design" \
--purpose "Keeps mugs organized on desk or kitchen, great gift" \
--audience "Office workers, coffee lovers, home office enthusiasts"
...
安装 PrintPal 3D Generation 后,可以对 AI 说这些话来触发它
Help me get started with PrintPal 3D Generation
Explains what PrintPal 3D Generation does, walks through the setup, and runs a quick demo based on your current project
Use PrintPal 3D Generation to generate 3D models for 3D printing from images or text prompts usin...
Invokes PrintPal 3D Generation with the right parameters and returns the result directly in the conversation
What can I do with PrintPal 3D Generation in my documents & notes workflow?
Lists the top use cases for PrintPal 3D Generation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/printpal-3d/ 目录(个人级,所有项目可用),或 .claude/skills/printpal-3d/(项目级)。重启 AI 客户端后,用 /printpal-3d 主动调用,或让 AI 根据上下文自动发现并使用。
PrintPal 3D Generation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
PrintPal 3D Generation 可免费安装使用。请查阅仓库了解许可证信息。
Generate 3D models for 3D printing from images or text prompts using PrintPal API, plus SEO product listing generation. Supports text-to-image via WaveSpeed...
PrintPal 3D Generation 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using PrintPal 3D Generation
Identifies repetitive steps in your workflow and sets up PrintPal 3D Generation to handle them automatically