Skip to main content

Transform your selfies into 3D figurines with Nano Banana AI

Workflow preview

Workflow preview
100%
Transform your selfies into 3D figurines with Nano Banana AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Transform Your Selfies into 3D Figurines with Nano Banana AI Overview This workflow utilizes the Defapi API with Google's Nano Banana AI model to transform your selfies into stunning 3D figurines ,...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.formtrigger, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Transform your selfies into 3D figurines with Nano Banana AI
Workflow name
Transform your selfies into 3D figurines with Nano Banana AI

Transform Your Selfies into 3D Figurines with Nano Banana AI

Overview

This workflow utilizes the Defapi API with Google's Nano Banana AI model to transform your selfies into stunning 3D figurines, action figures, and collectible merchandise designs. Simply upload a selfie photo, provide a creative prompt describing your desired 3D figurine or action figure design, and watch as AI generates professional-quality product visualizations.

Input: Your selfie photo + creative prompt + API key
Output: AI-generated 3D figurine and action figure designs perfect for collectibles, merchandise, and product visualization

Users can interact through a simple form, providing a text prompt describing the desired creative scene, a product image URL, and their API key. The system automatically submits the request to the Defapi API, monitors the generation status in real time, and retrieves the final creative image output. This solution is ideal for marketers, product designers, e-commerce businesses, and content creators who want to quickly generate compelling product advertisements and creative visuals with minimal setup. Perfect for creating 3D figurines and collectible merchandise designs.

Prerequisites

  • A Defapi account and API key: Sign up at Defapi.org to obtain your API key.

  • An active n8n instance (cloud or self-hosted) with HTTP Request and form submission capabilities.

  • Basic knowledge of AI prompts for product creative generation to achieve optimal results, especially for 3D figurines and collectible designs.

    • Example prompt: Create a 1/7 scale commercialized 3D figurine of the characters in the picture, in a realistic style, in a real environment. The figurine is placed on a computer desk. The figurine has a round transparent acrylic base, with no text on the base. The content on the computer screen is the Zbrush modeling process of this figurine. Next to the computer screen is a packaging box with rounded corner design and a transparent front window, the figure inside is clearly visible.
  • A product image for creative generation.

  • Important Note: Avoid using dark photos as input, as the generated 3D figurine will also appear dark.

Setup Instructions

  1. Obtain API Key: Register at Defapi.org and generate your API key. Store it securely—do not share it publicly.
  2. Configure the Form: In the "Upload Image" form trigger node, ensure the following fields are set up: Image (file upload), API Key (text field), and Prompt (text field).
  3. Test the Workflow:
    • Click "Execute Workflow" in n8n.
    • Access the generated form URL, upload your product image, enter your prompt, and provide your API key.
    • The workflow will process the image through the "Convert to JSON" node, then send the request to the Defapi API.
    • The system will wait 10 seconds and then poll the API status until the image generation is complete.
  4. Handle Outputs: The final "Format and Display Image Results" node formats and displays the generated creative image URL for download or embedding.

Workflow Structure

The workflow consists of the following nodes:

  1. Upload Image (Form Trigger) - Collects user input: image file, API key, and prompt
  2. Convert to JSON (Code Node) - Converts uploaded image to base64 and formats data
  3. Send Image Generation Request to Defapi.org API (HTTP Request) - Submits generation request
  4. Wait for Image Processing Completion (Wait Node) - Waits 10 seconds before checking status
  5. Obtain the generated status (HTTP Request) - Polls API for completion status
  6. Check if Image Generation is Complete (IF Node) - Checks if status equals 'success'
  7. Format and Display Image Results (Set Node) - Formats final image URL output

Technical Details

  • API Endpoint: https://api.defapi.org/api/image/gen (POST request)
  • Model Used: google/nano-banana (Nano Banana AI)
  • Status Check Endpoint: https://api.defapi.org/api/task/query (GET request)
  • Wait Time: 10 seconds between status checks
  • Image Processing: Uploaded images are converted to base64 format for API submission
  • Authentication: Bearer token authentication using the provided API key
  • Specialized For: 3D figurines, collectible merchandise, and product visualization

Customization Tips

  • Enhance Prompts: Include specifics like scene setting, lighting, style (e.g., realistic, artistic, cinematic), product placement, and visual elements to improve AI creative image quality. For 3D figurines, specify scale, materials, and display context.
  • Form Fields: The form accepts image files (image/*), API key (text), and prompt (text) as required fields.
  • Error Handling: The workflow includes conditional logic to check for successful completion before displaying results.
  • Best Practices for Nano Banana AI: Use detailed descriptions for figurine designs, specify lighting conditions, and include environmental context for realistic 3D figurine generation.
  • Photo Quality Tips: Use well-lit photos for best results. Avoid dark images as they will make the generated 3D figurine appear dark too.

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 - Sticky Note3

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

Block 2 - Obtain the generated status

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

Block 3 - Send Image Generation Request to Defapi.org API

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

Block 4 - Wait for Image Processing Completion

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

Block 5 - Check if Image Generation is Complete

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

Block 6 - Format and Display Image Results

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

Block 7 - Sticky Note2

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

Block 8 - Sticky Note4

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

Block 9 - Upload Image

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 10 - Convert to JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Sticky Note

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

3. Summary Table

Workflow Transform your selfies into 3D figurines with Nano Banana AI
Complexity intermediate
Nodes 11
Categories Content Creation, Multimodal AI
Author panyanyany
Published 14 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8571/8571.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 Transform your selfies into 3D figurines with Nano Banana AI do?

Transform Your Selfies into 3D Figurines with Nano Banana AI Overview This workflow utilizes the Defapi API with Google's Nano Banana AI model to transform your selfies into stunning 3D figurines ,...

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.