WorkflowChatGPTOpen

n8n GPT image 1 generator form workflow

This n8n workflow generates an image with OpenAI's GPT-Image-1 model from a prompt typed into a form, then lets you download it. It is for anyone who wants a simple internal image tool without writing code or giving staff direct API access.

What it does

The form asks for the image prompt and size, an HTTP request calls the OpenAI image API, the result is converted to a file, and the form shows it for download.

How to use it

Add your OpenAI API access to the HTTP request and share the form URL with the people who will use it.

Requirements and limits

Needs OpenAI API access with the image model enabled.

More in ChatGPT and the n8n workflow library.

Full text

Front matter
name: Simple OpenAI Image Generator
description: Triggered manually or by an app event. Connects Convert To File, Form, HTTP request. # Welcome to my Simple OpenAI Image Generator Workflow! This workflow creates an image with the new OpenAI image model "GPT-Image-1" based on a form input. ## This workflow has the following sequence: 1. Form trigger (image prompt and image size input) 2. Generate the Image via OpenAI API. 3. Return the image to the input form for download. ## The following accesses are required for the workflow: - OpenAI API access: [Documentation]({{ $env.WEBHOOK_URL }} You can contact me via LinkedIn, if
category: Automation
kind: Workflow
software: Convert To File|Form|HTTP request

Simple OpenAI Image Generator

Triggered manually or by an app event. Connects Convert To File, Form, HTTP request. # Welcome to my Simple OpenAI Image Generator Workflow!

This workflow creates an image with the new OpenAI image model "GPT-Image-1" based on a form input.

This workflow has the following sequence:

  1. Form trigger (image prompt and image size input)
  2. Generate the Image via OpenAI API.
  3. Return the image to the input form for download.

The following accesses are required for the workflow:

  • OpenAI API access: [Documentation]({{ $env.WEBHOOK_URL }}

You can contact me via LinkedIn, if

Steps

  • Convert to File (convertToFile)
  • Prompt and options (formTrigger)
  • OpenAI Image Generation (httpRequest)
  • Return to form (form)
  • Sticky Note (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Form/1316_Form_Stickynote_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.