Skip to main content

Automate 3D body model generation from images using SAM-3D & Google Sheets

Workflow preview

Workflow preview
100%
Automate 3D body model generation from images using SAM-3D & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates the process of generating 3D human body models (in format) from single image using SAM 3D model. It operates by connecting a Google Sheet as a data source with the external ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Automate 3D body model generation from images using SAM-3D & Google Sheets
Workflow name
Automate 3D body model generation from images using SAM-3D & Google Sheets

This workflow automates the process of generating 3D human body models (in .glb format) from single image using SAM-3D model. It operates by connecting a Google Sheet as a data source with the external AI processing API.

Start Result

Use Cases

1. ✅ Sports Analysis & Motion Optimization

3D models allow precise analysis of posture, angles, and technique. Possible applications:

  • Golf swing analysis Identify stance, rotation, shoulder/hip alignment, and follow-through.
  • Tennis serve biomechanics Optimize shoulder rotation, racket angle, leg push-off.
  • Running gait analysis Evaluate stride symmetry, foot strike, and body tilt.
  • Cycling posture optimization Reduce drag by analyzing torso angle and hand position.
  • Swimming technique evaluations Compare ideal vs. actual joint angles.
2. ✅ Fitness, Health & Physiotherapy

3D models can visually highlight imbalances or incorrect positions.

  • Posture correction assessments Identify spinal misalignment or uneven weight distribution.
  • Physical therapy progress tracking Compare poses over time to assess recovery.
  • Ergonomics and workplace safety Evaluate whether a worker’s posture is safe during lifting or repetitive tasks.
  • Home fitness coaching Automated feedback for yoga, pilates, stretching exercises.
3. ✅ Fashion, Apparel & Virtual Try-On

Photorealistic body reconstruction helps generate tailored outfits or evaluate fit.

  • Virtual try-on for clothing brands Produce accurate 3D avatars to test garments digitally.
  • Custom-made fashion Use 3D measurements for bespoke tailoring patterns.
  • Model pose simulation Test clothing fit in dynamic or unusual positions (e.g., dance, athletic poses).
4. ✅ Gaming, Animation & Digital Content Creation

Quick 3D reconstruction reduces production time for digital humans.

  • Character rigging from real people Generate 3D avatars ready for animation.
  • Motion capture alternatives Recreate specific poses without expensive mocap systems.
  • VR/AR content creation Deploy 3D characters into immersive environments.
  • Comics, illustration, and concept art Use 3D poses as reference models to speed up drawing.
5. ✅ Medical, Research & Educational Applications

Human-body 3D models provide insights in scientific or practical contexts.

  • Anthropometric measurements Estimate height, limb length, body proportions from images.
  • Posture and musculoskeletal studies Analyze joint angle distribution in different poses.
  • Rehabilitation robotics or exoskeleton design Fit devices to a patient’s real body shape.
  • Training materials for anatomy or movement science Generate accurate pose examples for students.
6.✅ Security, Forensics & Reconstruction

When allowed ethically and legally, 3D models can support investigations.

  • Reconstruction of accident scenes Understand how a person fell, collided, or moved.
  • Analysis of body posture in video frames Useful for determining gesture patterns or mobility constraints.
7. ✅ Art, Photography & Creative Industries

Artists often need unusual or complex human poses.

  • Pose reference creation For painting, 3D sculpting, illustration, or storyboarding.
  • Recreating dynamic action scenes Parkour, martial arts, ballet, expressive dance.
  • Virtual studio lighting tests Apply simulated lighting to a 3D model before shooting.

How It Works

This workflow automates the process of generating 3D human body models (in .glb format) from single images using the FAL.AI SAM-3D service. It operates by connecting a Google Sheet as a data source with the external AI processing API. Here is the operational flow:

  1. Trigger & Data Fetch: The workflow begins either manually (via "Test workflow") or on a schedule. It queries a designated Google Sheet to find rows where the "3D RESULT" column is empty, indicating a new image needs processing.
  2. API Request & Queuing: For each new image, it sends the image URL to the FAL.AI SAM-3D API endpoint (/fal-ai/sam-3/3d-body), which queues the job and returns a unique request_id.
  3. Status Polling & Waiting: The workflow enters a polling loop. It waits 60 seconds, then checks the job's status using the request_id. If the status is not "COMPLETED", it waits another 60 seconds and checks again.
  4. Result Retrieval & Storage: Once the status is "COMPLETED", the workflow fetches the final result, which contains the URL of the generated 3D model file (.glb). This file is then downloaded via an HTTP request.
  5. Sheet Update: Finally, the workflow updates the original Google Sheet row. It writes the URL of the generated 3D model into the "IMAGE RESULT" column for the corresponding row_number, thus marking the task as complete.

Set Up Steps

To configure this workflow in your n8n environment, follow these steps:

  1. Prepare the Google Sheet:

    • Clone the provided Google Sheet template.
    • Insert the URLs of the model images you want to convert into the "IMAGE MODEL" column.
    • Leave the "IMAGE RESULT" column empty; it will be populated automatically.
    • In n8n, set up a "Google Sheets OAuth2 API" credential and connect it to the Get new image and Update result nodes. Ensure the documentId points to your cloned sheet.
  2. Configure the FAL.AI API Connection:

    • Create an account at fal.ai and obtain your API key.
    • In n8n, create an "HTTP Header Auth" credential. Set the Header Name to Authorization and the Header Value to Key YOUR_API_KEY_HERE (replace with your actual key).
    • Apply this credential to the following nodes: Create 3D Image, Get status, and Get Url 3D image.
  3. Verify Workflow Logic (Key Nodes):

    • Get new image: Confirm the filtersUI is set to look for empty rows in the correct column (e.g., "3D RESULT" or "IMAGE RESULT").
    • Create 3D Image: Verify the JSON body correctly references the image URL from the previous node ({{ $json.image }}).
    • Completed? (If node): Ensure the condition checks for the string COMPLETED from {{ $json.status }}.
    • Update result: Double-check that the column mapping correctly uses row_number to match the row and updates the "IMAGE RESULT" column with the GLB URL
  4. Activate & Test:

    • Save the workflow.
    • Use the When clicking ‘Test workflow’ node for an initial manual test with one image URL in your sheet.
    • Once confirmed working, you can enable the Schedule Trigger node for automatic, periodic execution.

👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Wait 60 sec.

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 4 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 5 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Completed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Update result

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 9 - Set data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Get new image

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 12 - Create 3D Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Get Url 3D image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Get File 3D image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate 3D body model generation from images using SAM-3D & Google Sheets
Complexity advanced
Nodes 18
Categories Content Creation, Multimodal AI
Author Davide
Published 03 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11460/11460.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate 3D body model generation from images using SAM-3D & Google Sheets do?

This workflow automates the process of generating 3D human body models (in format) from single image using SAM 3D model. It operates by connecting a Google Sheet as a data source with the external ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.