image-to-relief-stlTurn a source image (or multi-color mask image) into a 3D-printable bas-relief STL by mapping colors (or grayscale) to heights. Use when you have an image from an image-gen skill (nano-banana-pro, etc.) and want a real, printable model (STL) via a deterministic pipeline.
Install via ClawdBot CLI:
clawdbot install ajmwagar/image-to-relief-stlGenerate a watertight, printable STL from an input image by mapping colors (or grayscale) to heights.
This is an orchestrator-friendly workflow:
Ask the image model for:
That makes segmentation reliable.
bash scripts/image_to_relief.sh input.png --out out.stl \
--mode palette \
--palette '#000000=3.0,#ffffff=0.0' \
--base 1.5 \
--pixel 0.4
bash scripts/image_to_relief.sh input.png --out out.stl \
--mode grayscale \
--min-height 0.0 \
--max-height 3.0 \
--base 1.5 \
--pixel 0.4
out.stl (ASCII STL)out-preview.svg (vector preview via potrace; best-effort)--pixel parameter controls resolution (smaller = higher detail, bigger STL).Generated Mar 1, 2026
Designers create flat-color images of logos or patterns using AI image generation, then convert them into bas-relief STL files for 3D printing pendants, rings, or charms. This enables rapid prototyping of intricate, personalized jewelry pieces without manual 3D modeling.
Architects and model makers generate simple color-coded diagrams representing building facades or landscapes, then transform them into textured relief panels for scale models. This adds realistic surface details to physical architectural presentations efficiently.
Educators produce images of maps, diagrams, or biological structures with distinct color regions, converting them into tactile STL models for visually impaired students or hands-on learning. It supports accessible STEM education through 3D-printed teaching tools.
Crafters and small businesses use AI to generate family crests, pet portraits, or geometric art in solid colors, then create bas-relief STLs for printing wall art, coasters, or ornaments. This streamlines custom decor production for Etsy shops or gifts.
Brand designers create mock-ups of logos or text elements as flat images, converting them into relief STLs to test embossed effects on packaging prototypes. It allows quick iteration on tactile branding elements before mass production.
Offer a web-based service where users upload images to generate STLs for free with basic features, then charge subscriptions for advanced options like higher resolution, batch processing, or custom palettes. Revenue comes from monthly plans targeting hobbyists and small businesses.
Partner with jewelry manufacturers, architectural firms, or schools to provide tailored image-to-STL conversion services, integrating with their existing design workflows. Revenue is generated through project-based contracts or annual licensing fees for enterprise use.
Sell pre-generated bas-relief STL files on platforms like Etsy or Cults3D, created from popular AI-generated images (e.g., fantasy art, geometric patterns). Revenue comes from direct sales or commissions, with options for custom requests at premium prices.
đŹ Integration Tip
Integrate this skill after using an image generation skill like nano-banana-pro to ensure input images have solid colors and clear edges, as specified in the constraints for reliable segmentation.
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Capture frames or clips from RTSP/ONVIF cameras.
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
äœżçšć çœź image_generate.py èæŹçæćŸç, ć〿ž æ°ć ·äœç `prompt`ă
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.