generate-3d-printable-models
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…
от rondoflow★ 37 звёзд на GitHub
Установить generate-3d-printable-models в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
PrintPal 3D Model Generator
Generate 3D models from images or text prompts for 3D printing.
Quick Start
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"
Installation
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
Workflow
Get the image:
- 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
Generate 3D model:
- Use PrintPal API with
superquality (768 cubed) - Default output format: STL
- Save to
printpal-output/directory in workspace
- Use PrintPal API with
Provide downloads:
- Start file server if needed
- Return clickable URLs
Default Settings
| Setting | Default | Options |
|---|---|---|
| Quality | super | default, high, ultra, super, super_texture, superplus, superplus_texture |
| Format | stl | stl, glb, obj, ply, fbx |
Scripts
generate_3d.py
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
serve_files.py
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 Levels
| 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 |
Output Formats
| Format | Best For |
|---|---|
| STL | 3D printing (default) |
| GLB | Web/games |
| OBJ | Universal compatibility |
| PLY | Point clouds |
| FBX | Autodesk software |
API Keys
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)
Output Directory
Default output is printpal-output/ in the skill's workspace. Override with:
- Environment variable:
PRINTPAL_OUTPUT_DIR=/path/to/output - Command option:
--output-dir /path/to/output
Security Notes
- File server: The serve_files.py script defaults to localhost (127.0.0.1) for security. Use
--publicflag to expose to network. - Third-party packages: Scripts import
printpal,wavespeed, andrequestspackages. Review these packages before installing. - Downloaded content: The skill downloads images from user-supplied URLs. Treat as untrusted input.
Error Handling
| 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 |
SEO Product Listing Generator
Generate SEO-optimized metadata and product photos for selling 3D models/prints on marketplaces like Etsy, TikTok Shop, etc.
Quick Start
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"
Workflow
- Input: User provides an image of their 3D model/print + description, purpose, and target audience
- SEO Generation: OpenRouter MiniMax generates optimized title, description, tags
- Photo Generation: WaveSpeed nano-banana/edit creates 5 polished product photos
- Output: ZIP file with metadata + photos, served via local
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл generate-3d-printable-models?
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_KE…
Как установить скилл generate-3d-printable-models?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate-3d-printable-models запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…