Use this powerful n8n workflow to generate 'Image to Image' AI art via the Sora GPT API, automatically convert base64 output, store files in Google Drive, and log all generation activity in Google Sheets. Perfect for scaling content creation.
Download this n8n workflow template and start using it instantly.
Managing AI-generated content often requires multiple manual steps: creation, file handling, storage, and logging. This sophisticated n8n workflow solves these problems by providing an end-to-end automation solution. It starts with a simple form submission and leverages a powerful GPT AI service to generate images based on a combination of a text prompt and a reference image URL. The n8n node configuration ensures the API output (often a base64 string) is correctly converted into a usable file. The final steps integrate seamlessly with Google services, storing the image in Google Drive for accessibility and recording metadata in Google Sheets for auditing. This n8n template significantly reduces manual effort and streamlines your creative pipeline.
The entire process is initiated by an n8n trigger and flows through several highly specialized n8n node components:
To deploy this n8n workflow, follow these steps:
This n8n workflow leverages several key n8n node components:
On form submission (n8n-nodes-base.formTrigger): The primary n8n trigger. It listens for submissions containing 'Prompt' (textarea) and 'Image url' (text), both set as required fields. It provides the initial data payload for the entire n8n workflow.
HTTP Request (n8n-nodes-base.httpRequest): Sends a POST request to the Sora GPT API. Function: Triggers the AI image generation process. Key Configuration: Uses expressions to dynamically pass the Prompt (={{ $json.Prompt }}) and Image URL (={{ $json['Image url'] }}) from the trigger. Requires x-rapidapi-host and x-rapidapi-key in headers.
Code (n8n-nodes-base.code): A custom n8n node for data processing. Function: Converts the base64 encoded image data returned by the API into a usable binary image file (JPEG). Key Configuration: Custom JavaScript logic utilizing Buffer.from(cleanedBase64, 'base64') to create the binary data object.
Google Drive (n8n-nodes-base.googleDrive): A core cloud storage n8n node. Function: Uploads the generated binary image file to a specified Google Drive folder. Key Configuration: File name is dynamically set using an expression (={{ $binary.data.fileName }}).
Use this comprehensive n8n workflow to automate AI image generation via OpenAI (DALL-E) and seamlessly manage the resulting files in Azure Blob Storage. Perfect for learning n8n templates.

Generate sample data records using the n8n Code node (JS/Python) and split them into individual items using the n8n Split Out node. Essential for testing complex n8n workflows and prototyping logic.

Use this comprehensive n8n workflow to generate professional, formatted PDFs from AI-driven Markdown content using Google Docs, archive the result in Google Drive, and instantly share it on Slack. This n8n workflow eliminates external libraries.

Create a seamless, real-time Text-to-Speech API endpoint using n8n. This n8n workflow utilizes a webhook n8n trigger to send text to the OpenAI n8n node, returning binary audio instantly.

Automate AI video generation using Google Veo, driven by scripts in Google Sheets. This n8n workflow creates snippet videos, uploads them to Google Drive, and updates your sheet with links.









































