How to Create Viral 3D Social Posts on Autopilot (n8n Tutorial)

THE SUMMARYAI-generated

Key Concepts

  • Naden: A no-code automation platform used to build the workflow.
  • Nano Banana Pro: An AI image generation model accessed through an API (file.ai in this case).
  • JSON Workflow: A file format used to store and share Naden workflows.
  • AI Agent: A component within the workflow responsible for generating the image prompt for Nano Banana Pro.
  • HTTP Request Node: A Naden node used to communicate with external APIs like file.ai.
  • Form Submission Trigger: The initial event that starts the workflow, collecting user input.
  • Schema: The data structure representing the information submitted through the form.
  • Weight Node: A Naden node used to introduce delays in the workflow execution.
  • File.ai: A third-party platform providing access to Nano Banana Pro via an API.

Building a Viral 3D Illusion Generator with Naden & Nano Banana Pro

This tutorial details the creation of an automated workflow using Naden to generate 3D frame break images, suitable for social media content. The process leverages user input via a Naden form, AI-powered prompt generation, and the Nano Banana Pro image generation model.

1. Workflow Overview & Demonstration

The core functionality involves uploading a photo, selecting a social media platform, and submitting the form. The workflow then automatically generates three 3D frame break images, mimicking the style of professional advertising. The presenter demonstrates a completed workflow, showcasing the output quality and speed. The generated image features the user’s photo appearing to break through a social media frame, styled according to the selected platform and clothing preference. The example output showcased was a LinkedIn-styled image with a “tech executive” clothing style.

2. Setting Up the Naden Workflow – Step-by-Step

The tutorial provides a detailed, step-by-step guide to building the workflow within Naden:

  • Importing the Blueprint: Users can download a pre-built JSON workflow ("blueprint") from the presenter’s community and import it into their Naden account. This provides a starting point for customization.
  • Form Creation (Trigger): The workflow begins with a Naden Form node, acting as the trigger. The form is configured with the following elements:
    • Photo Upload: A file upload field for the user’s image (accepts PNG). This field is required.
    • Social Media Platform: A dropdown list allowing users to select a platform (LinkedIn, Instagram, TikTok, Facebook, etc.). This field is required.
    • Display Name: A text field for the user’s name. This field is required.
    • Username/Handle: A text field for the user’s username. This field is required.
    • Tagline: A text field for a short description or tagline. This field is required.
    • Clothing Style: A dropdown list to select a clothing style (e.g., “tech executive” – structured overshirt, dark layers, leather sneakers).
  • Data Extraction (Schema): The form submission generates a schema containing all the user-provided data, which is then used in subsequent nodes.
  • Google Drive Integration (Optional): The workflow includes a Google Drive node to upload the generated image. This requires setting up credentials (Client ID and Client Secret) and ensuring the target folder in Google Drive has public accessibility. This step provides a publicly accessible URL for the image.
  • Image Analysis (OpenAI): An OpenAI Analyze Image node analyzes the uploaded photo to extract details about the subject’s appearance (gender, age, ethnicity, hair, facial expression, body type, etc.). This analysis is crucial for generating an accurate prompt. The prompt used for analysis is: "Analyze this reference photo from a person for the purpose of recreating them in an AI generated image. We want to provide a detailed analysis with the following fields: physical appearance, gender, approximate age, ethnicity, hair, facial expression, body type, expression, all of everything basically we could think of as far as what the photo is about or that person."
  • AI Agent (Prompt Generation): An AI Agent node generates a detailed prompt for Nano Banana Pro. This node utilizes a system prompt (provided in the tutorial) that instructs the AI to create a hyperrealistic 3D portrait prompt, incorporating details from the form submission and the image analysis. The prompt includes specifications for clothing, frame placement, description, pose, and platform UI.
  • HTTP Request (Nano Banana Pro): An HTTP Request node sends the generated prompt and image URL to the Nano Banana Pro API (accessed through file.ai). The request is a POST request with the prompt and image URL in the JSON body. The API key for file.ai is used for authentication.
  • HTTP Request (Image Retrieval): A second HTTP Request node retrieves the generated image from file.ai using the request ID returned by the initial API call. This request is a GET request.
  • Weight Node: A Weight node introduces a delay (40 seconds in the example) to ensure the image generation process completes before attempting to retrieve it.

3. Technical Details & API Integration

  • File.ai API: The workflow utilizes the file.ai API to access Nano Banana Pro. The API requires an API key for authentication.
  • HTTP Request Configuration: The HTTP Request nodes are configured with the appropriate method (POST for sending the prompt, GET for retrieving the image), URL, headers (including the API key), and body (for the POST request).
  • JSON Payload: The prompt and image URL are sent to the Nano Banana Pro API in a JSON format.
  • OpenAI API: The OpenAI API is used for image analysis, requiring an API key for authentication.

4. Key Arguments & Perspectives

The presenter emphasizes the automation and ease of use of the workflow, highlighting its potential for creating engaging social media content. The workflow’s ability to generate high-quality, visually appealing images with minimal effort is a central argument. The presenter also encourages users to customize the workflow and explore different prompts and settings to achieve desired results.

5. Notable Quotes

  • “This is absolutely incredible. Again, all of this is automated.” – Demonstrating the workflow’s efficiency.
  • “This is one of those posts that’ll definitely make people stop scrolling.” – Highlighting the potential for increased engagement.

6. Data & Statistics

  • The presenter mentions having $17 credit on their file.ai account.
  • The workflow generates images in 2K resolution (4K is possible but slower).

7. Logical Connections

The workflow follows a logical sequence: user input (form submission) -> data analysis (OpenAI) -> prompt generation (AI Agent) -> image generation (Nano Banana Pro) -> image retrieval -> potential further automation (e.g., social media posting). Each step builds upon the previous one, culminating in the creation of the final image.

8. Conclusion

This tutorial provides a comprehensive guide to building an automated workflow for generating viral 3D illusion images using Naden and Nano Banana Pro. The workflow leverages the power of AI to streamline the content creation process, enabling users to produce high-quality, engaging visuals with minimal effort. The presenter encourages customization and exploration, emphasizing the potential for creating unique and impactful social media content. Resources, including the workflow blueprint and additional tutorials, are available in the presenter’s community.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.