fal-3d
fal-3d
Generate 3D models (GLB/OBJ/PLY) from text descriptions or images using fal.ai.
Scripts
| Script | Purpose |
|---|---|
generate-3d.sh |
Generate a 3D model from text or image |
Usage
Image to 3D
./scripts/generate-3d.sh --image-url "https://example.com/object.jpg" --model fal-ai/hunyuan3d-v3/image-to-3d
Text to 3D
./scripts/generate-3d.sh --prompt "A medieval sword with ornate handle" --model fal-ai/meshy/v6/text-to-3d
Arguments
| Argument | Description | Required |
|---|---|---|
--image-url |
URL of image to convert to 3D | Yes (or --prompt) |
--prompt / -p |
Text description for text-to-3D | Yes (or --image-url) |
--model / -m |
Model endpoint | No (default: fal-ai/hunyuan3d-v3/image-to-3d) |
--param |
Extra param as key=value (repeatable) | No |
Finding Models
To discover the best and latest 3D generation models, use the search API:
# Search for image-to-3D models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --category "image-to-3d"
# Search for text-to-3D models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "text to 3d"
Or use the search_models MCP tool with relevant keywords like "3d", "mesh", "image-to-3d".
Tips
- For best results from images: use a clear photo with a single object on a plain background
- Remove background first if needed (use fal-image-edit or fal-generate with birefnet)
- Simple, well-defined objects work best — complex scenes don't reconstruct well yet
- 3D generation takes 1-5 minutes — jobs use the queue API
Output Format
{
"mesh": {
"url": "https://fal.media/files/.../model.glb",
"content_type": "model/gltf-binary",
"file_name": "model.glb"
}
}
More from fal-ai-community/skills
fal-image-edit
Edit images using AI on fal.ai. Style transfer, object removal, background changes, and more. Use when the user requests "Edit image", "Remove object", "Change background", "Apply style", or similar image editing tasks.
859fal-generate
Generate images and videos using fal.ai AI models with queue support. Use when the user requests "Generate image", "Create video", "Make a picture of...", "Text to image", "Image to video", "Search models", or similar generation tasks.
316fal-audio
Text-to-speech and speech-to-text using fal.ai audio models. Use when the user requests "Convert text to speech", "Transcribe audio", "Generate voice", "Speech to text", "TTS", "STT", or similar audio tasks.
269fal-upscale
Upscale and enhance image resolution using AI. Use when the user requests "Upscale image", "Enhance resolution", "Make image bigger", "Increase quality", or similar upscaling tasks.
243fal-platform
fal.ai Platform APIs for model management, pricing, usage tracking, and cost estimation. Use when user asks "show pricing", "check usage", "estimate cost", "setup fal", "add API key", or platform management tasks.
187fal-workflow
Generate production-ready fal.ai workflow JSON files. Use when user requests "create workflow", "chain models", "multi-step generation", "image to video pipeline", or complex AI generation pipelines.
181