generate-3d-model
Installation
SKILL.md
Generate 3D Model Skill
Purpose
Convert 2D images to 3D GLB models using Fal.ai's sam-3/3d-objects model. This skill handles image validation, upload, 3D generation, and provides React Three Fiber integration examples through a standalone executable script.
Inputs
imagePath(required): Absolute path to the source imagedescription(required): Original text description - used as segmentation prompt for Fal.aiprompt(optional): Additional guidance for 3D generation (defaults to description)
Important: The description is used to guide SAM's auto-segmentation. It should clearly describe
the object in the image (e.g., "blue cube", "red donut", "sports car"). This tells SAM what to extract
from the image. Without a clear prompt, segmentation will fail.
Invocation
Run the standalone script with JSON arguments: