Book a free call

How to Add Image Generation to ChatGPT: Build a Custom GPT

ChatGPT plugins are gone, but custom GPTs now carry image generation. Here is how to build one that makes images from your prompts, step by step.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How to Add Image Generation to ChatGPT: Build a Custom GPT
On this page

Short answer

ChatGPT plugins were retired in 2024, so the way to add image generation to ChatGPT now is a custom GPT: a ChatGPT with your own instructions, built-in image generation and files it can use. You build it in the GPT builder, write instructions for the image style you want, add reference images, then test and share it. For apps that need images at scale, the API is the better route.

What happened to ChatGPT plugins?

ChatGPT plugins were add-ons that let ChatGPT call outside services, including image generators. OpenAI retired plugins in 2024 and replaced them with custom GPTs, which are versions of ChatGPT with their own instructions, knowledge and built-in abilities. The plugin store is closed, and new plugin development is no longer possible.

The change matters because old plugin tutorials still rank in search results. Following one today leads to a dead end: the menu it describes no longer exists. The working replacement is a custom GPT, which does not need code for most image work, because ChatGPT already includes image generation.

A custom GPT is a better fit for image generation than a plugin was. A plugin needed a server, an API and an approval process. A custom GPT needs instructions and examples, and it can be built in an afternoon. The trade-off is control: a GPT cannot run arbitrary code the way a plugin server could, but for making images from prompts it is enough.

RouteStatusCode neededBest for
ChatGPT pluginRetired in 2024YesNo longer an option
Custom GPTAvailable nowNoPeople making images in chat
Image APIAvailable nowYesApps generating images at scale

The rest of this article covers the custom GPT route, and the last section explains when the API is the better choice instead.

What is a custom GPT, and how does it make images?

A custom GPT is a version of ChatGPT with instructions you write, files it can read, and abilities you switch on. When you ask it for an image, it uses ChatGPT's built-in image generation to create one from your description, in the style your instructions define.

The image generation itself works from text prompts. You describe the subject, the style, the colours and the composition, and the model produces an image. Your GPT's instructions can set defaults for all of these, so users do not need to repeat them. For example, an instruction can say that every image should use a flat vector style with a dark background, and the GPT will apply that to each request.

The GPT can also use files you upload. A reference image, a brand guide or a set of example images can be attached, and the GPT will follow them when it creates new images. That is what makes a custom GPT useful for a team: the style is baked in, not left to each person's prompting skill. The broader picture is covered in how to build ChatGPT-powered applications.

How do you build an image-generation GPT?

You build an image-generation GPT in the GPT builder, which walks through the setup in plain language. No code is needed for the basic version.

  1. Open the GPT builder. In ChatGPT, choose to create a new GPT and give it a name that says what it makes.
  2. Write the instructions. Describe the image style, the subjects, the colours and what the GPT should never do. Be specific: a vague style produces vague images.
  3. Add reference files. Upload example images or a brand guide so the GPT has something concrete to follow.
  4. Add conversation starters. Write four or five example prompts users can click, such as a product shot or a social image.
  5. Test it hard. Ask for images in different styles and subjects, and fix the instructions where the results drift.
  6. Share the link. Publish the GPT to your team or, if the content suits it, to the GPT store.

Testing is the step most people rush. A GPT that makes good images for one prompt can fail on the next, so test with the real prompts your users will type, not only with easy ones. What ChatGPT is explains the base product the GPT is built on.

How do you write instructions that produce good images?

Good image instructions name four things: subject, style, composition and limits. A prompt that says only what to draw leaves the rest to chance, and the results will vary from one image to the next.

Subject means what is in the image and what it is doing. Style means the look: flat vector, watercolour, photograph, 3D render, or line drawing. Composition means the framing: a centred product shot, a wide scene, or a close-up. Limits mean what to avoid: no text in the image, no extra fingers, no bright background.

Put the defaults in the GPT instructions and the variables in the user's prompt. The instructions might say every image uses a flat vector style on a dark background, while the user only supplies the subject. That split keeps results consistent without making the user write a long prompt each time. It also makes the GPT easier to fix: when images drift, the fault is usually in the instructions, not in the user's words.

What can the GPT do besides generate images?

An image-generation GPT can do more than make pictures. It can explain its choices, suggest variations, and help users refine a prompt before generating. That matters because the first image is rarely the right one, and the conversation around it is where the result improves.

Useful abilities include asking the user questions before generating, so the GPT does not guess at missing details. It can offer three variations of an image and ask which direction to take. It can also read a file the user uploads, such as a sketch or a photo, and produce a finished version in the house style.

The GPT can also store knowledge. A brand guide, a list of approved colours, or a set of example images can be attached, and the GPT will consult them when it works. That turns the GPT from a one-off image tool into a repeatable part of a team's workflow. For connecting ChatGPT to your own systems, how to integrate ChatGPT into your app covers the app-side options.

Example (hypothetical): a small team builds a product-image GPT

Example (hypothetical): a small online shop sells 40 products a month and needs a clean image for each one. A designer used to spend about 2 hours on each image, or 80 hours a month, drawing product shots from photos.

The team builds a custom GPT with instructions for a flat, bright product style on a white background, and uploads ten example images. The GPT drafts each image in about 10 minutes, so 40 images take 400 minutes, or about 7 hours. A designer then reviews and fixes each one, taking about 30 minutes per image, or 20 hours for the month.

The total is about 27 hours a month, against 80 hours before, a saving of about 53 hours. The designer still checks every image, because the GPT sometimes adds extra details or gets a product shape wrong. The point is not that the GPT replaces the designer. It is that the designer now spends time on judgement and fixes, not on drawing the same kind of image forty times.

What are the common mistakes?

The most common image-GPT mistakes are vague instructions, skipping testing, and expecting the first image to be final.

  • Vague instructions. A style described in one word produces random results; name the subject, style, composition and limits.
  • No reference files. Without examples, the GPT invents its own style, and it changes from one image to the next.
  • Skipping the test. A GPT that works for one prompt can fail on the next; test with real user prompts.
  • Trusting the first image. Generated images often have small errors; always review before publishing.
  • Ignoring rights. Check that the images you generate and the references you upload are yours to use.
  • No sharing plan. A GPT nobody can find helps nobody; share the link and explain what it is for.

Fix the instructions first when results drift. Most bad images come from bad instructions, not from a bad model. Generative AI development covers building image features into products rather than into a GPT.

When should you use the API instead of a custom GPT?

You should use the API instead of a custom GPT when images need to be generated inside your own product, at volume, or with programmatic control. A GPT is a chat interface; the API is a building block for software.

The API fits when a website needs to generate an image for each user automatically, when thousands of images are needed a month, or when the image must feed into another system, such as a product catalogue or a design pipeline. It also fits when you need to control cost per image and log every request.

A custom GPT fits when people need images in a conversation: a marketing team drafting social images, a teacher making diagrams, or a small shop making product shots. The choice is about where the images are used. If the user is a person chatting, use a GPT. If the user is your software, use the API. Many teams use both: a GPT for drafting and the API for production.

Key takeaways

  • ChatGPT plugins were retired in 2024; custom GPTs are the replacement
  • A GPT's instructions set the style so users only supply the subject
  • Reference files and conversation starters make the GPT repeatable
  • Test with real user prompts, not only easy ones
  • Use the API when images must be generated inside your own product

Frequently asked questions

Can I still build a ChatGPT plugin for image generation?

No. OpenAI retired ChatGPT plugins in 2024 and closed the plugin store, so new plugin development is no longer possible. The current way to add image generation to ChatGPT is a custom GPT, which includes built-in image generation and needs no code for most uses.

Do I need to code to build an image-generation GPT?

No. The GPT builder walks through setup in plain language: you write instructions, upload reference files and add conversation starters. Code is only needed if you want the GPT to call your own service, which most image work does not require.

How good are the images a custom GPT makes?

Good enough for drafts, social images and product shots, with review. The model handles style and composition well but can add small errors, such as extra details or wrong shapes. Always review images before publishing, and keep a designer in the loop for final work.

Can a custom GPT follow my brand style?

Yes, if you give it the material. Upload a brand guide and example images, and write instructions that name the style, colours and composition. Without reference files, the GPT invents its own style, and it will change from one image to the next.

How much does it cost to use a custom GPT?

Creating a GPT needs a paid ChatGPT plan, and image generation counts against that plan's usage. Exact limits and prices change, so check the current plan page before committing. For high volumes, the API usually works out cheaper per image.

When should I use the API instead of a GPT?

Use the API when images must be generated inside your own product, at volume, or with programmatic control, such as generating an image per user or per catalogue item. Use a GPT when a person needs images in a conversation, such as drafting social images or product shots.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a ChatGPT app that makes images? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Generative AI Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call