OpenAI Image Generation and Editing
detail.loadingPreview
Generate and edit images using OpenAI's powerful AI models.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow demonstrates how to leverage OpenAI's image generation and editing APIs (specifically the gpt-image-1 model) to create and modify images based on textual prompts. It showcases the process of generating an initial image and then further refining it with an editing request, including the use of masks.
Key Features
- Image generation from text prompts using
gpt-image-1. - Image editing with detailed prompts and optional masks.
- Conversion of base64 encoded image data to binary files.
- Workflow designed for manual triggering and testing.
- Includes cost warnings and suggested node expansions.
How To Use
- Ensure you have an OpenAI API key and have configured it as a credential in n8n (named 'OpenAi AIFB account' or adjust the workflow).
- Trigger the workflow manually by clicking 'Test workflow'.
- The workflow will first generate an image based on a prompt and then attempt to edit it. The edited image will be converted to a binary file.
Apps Used
Workflow JSON
{
"id": "e7e550b4-8dc3-402b-8b34-b0c19988a572",
"name": "OpenAI Image Generation and Editing",
"nodes": 0,
"category": "Image Generation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: e7e550b4-8dc3...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
OpenAI Image Generation Workflow (Community Contributed)
Generates images using OpenAI's API based on user-defined prompts and parameters.
Style Copy with Imagen 3.0
Generate images by copying the style of a source image using Imagen 3.0.
Flux Dev Image Generation
Generates images using Fal Flux API and saves them to Google Drive.
Image Generation API (Unverified)
Generates images based on a prompt provided via a webhook.
3D Figurine Orthographic Views with Midjourney and GPT-4o-Image
Generates a turnaround sheet of a 3D figurine with front, side, and back views using Midjourney and GPT-4o-Image API.
Generate Image Workflow
Generates an image based on provided text and formatting parameters.