workflows.fit
Back to n8n workflows
n8n templateFreeBy Sk developer

Generate and store AI images with Sora GPT, Google Drive and Sheets

Automation Flow: Image to Image Using GPT Sora This flow automates the process of generating images using a provided prompt and reference image via the Sora GPT Image API from [RapidAPI](https://rapidapi.com/skdevelop...

Data & StorageProductivityDevelopmentCore NodesForm TriggerHttp RequestGoogle SheetsGoogle Drive
Loading interactive preview...

Template notes

Automation Flow: Image to Image Using GPT Sora

This flow automates the process of generating images using a provided prompt and reference image via the Sora GPT Image API from [RapidAPI](https://rapidapi.com/skdeveloper/api/sora-gpt-image). The generated images are stored in Google Drive, and details are logged in Google Sheets.

Nodes Overview

1. On Form Submission - Type: n8n-nodes-base.formTrigger - Description: This node triggers when a user submits the form containing the prompt and image URL. It ensures the form fields are filled in and ready for processing. - Form Fields: - Prompt: A text description of the desired image. - Image URL: The URL of the reference image to be used. - Webhook ID: Unique identifier for form submission.

---

2. HTTP Request to Sora GPT Image API - Type: n8n-nodes-base.httpRequest - Description: Sends the prompt and image URL to the Sora GPT Image API to generate a new image based on the provided inputs. - API Endpoint: [Sora GPT Image API](https://sora-gpt-image.p.rapidapi.com/ai-img/img-to-img.php) (via RapidAPI) - Method: POST - Body Parameters: - Prompt: User-provided text. - Image URL: The reference image URL. - Width & Height: Image size is set to 1024x1024.

---

3. Code (Base64 Conversion) - Type: n8n-nodes-base.code - Description: This node processes the base64-encoded image data returned from the API. It decodes and formats the image to be uploaded to Google Drive. - Output: Converts the base64 string into a binary JPEG file.