For platform n8n, this manual-triggered workflow automates image generation and editing using OpenAI's API. It creates a high-quality PNG file from a prompt, allowing users to generate unique visuals like a cute red panda superhero and edit them with specific modifications. Ideal for designers and marketers, it streamlines the creative process, saving time and enhancing productivity. Each image generation costs between $0.020 and $0.190, depending on the resolution.
/v1/images/generations
endpoint with a specified prompt, generating an initial image./v1/images/edits
endpoint for further editing based on a new prompt.Create image call
and Edit Image (OpenAI)
nodes to generate and edit images tailored to their specific needs.size
parameter in both API calls to generate images in different resolutions, depending on the requirements.