How to Use ChatGPT to Cook Dinner from What's in Your Fridge (Free Prompt)

The two lines that stop ChatGPT suggesting ingredients you don't have, and the free prompt for dinner in 30 minutes.

By Vanessa T ·

Worth your time if: it's 7pm, the fridge is half full and the delivery app is already open.

Last checked: November 2026 · Applies to: ChatGPT on the free and paid plans, with a phone photo of your fridge or cupboard.

An open fridge with eggs, half an onion, milk, spinach, cheddar, cherry tomatoes, yoghurt and a container of rice

Nothing for dinner? It's 7pm, you open the fridge and stare at half an onion, three eggs and a bag of spinach, as if they'll arrange themselves into a meal. Then you close it and open a delivery app.

Show ChatGPT instead. Take a photo of the fridge, and it spots what's there and suggests what to cook. But ask "what can I make?" and the first recipe needs cream, fresh basil and a lime you don't have.

Here's how to use ChatGPT to cook dinner from what's in your fridge: one photo, one prompt with two rules, and dinner on the table in about 30 minutes.

The hour-back challenge · Part 5 of 5. Five everyday jobs, each timed the old way and the snap way. So far: 48 minutes back, 12 to go. This last one decides whether you make the hour. See all five parts.

How do I get dinner ideas from a photo of my fridge?

Take one or two photos of your fridge and add them to ChatGPT with the prompt below. It lists what it can see, then suggests three dinners that use mostly those things, plus basics like oil and salt. Correct its list before you pick one.

  1. Snap and send (1 minute). One photo of the fridge, one of the cupboard if you like.
  2. Pick and cook (30 minutes). Fix the list, choose a dinner, get the recipe.

Step 1: Snap and send (1 minute)

Open the door wide and move whatever is hiding the back shelf. Add a photo of the cupboard or veg drawer too, if that's where things live. On your phone, tap + and add the photos.

Copy this prompt:

Here's a photo of my fridge [and cupboard]. Suggest dinner for [number] people tonight. 1. First, list the ingredients you can see. Put a question mark after anything you're unsure about. 2. Then give me 3 dinner ideas I can make in under [30] minutes, using mostly what's in the photo, plus basics like oil, salt, pepper and spices. 3. For each idea: the name, what it uses from my fridge, anything extra I'd need (1 item at most) and the cooking time 4. Use up whatever looks like it needs eating first Don't suggest anything with [foods I avoid or am allergic to]. I have [equipment, e.g. a hob and a microwave, no oven].

Listing what it sees first matters most. ChatGPT might read a tub of yoghurt as sour cream, and you'd rather know before the pan is hot.

"1 item at most" matters too. Without it, the best recipe always needs a shopping trip.

Plan: Free in ChatGPT. Free accounts have lower limits on image uploads than paid plans.

Step 2: Pick and cook (30 minutes)

Correct the list in one line ("that's yoghurt, and there are only 2 eggs"), pick an idea, then ask:

Follow-up 1, the recipe:

Give me the full recipe for number [1], step by step, with quantities for [number] people. Keep it simple.

Follow-up 2, the leftovers:

What can I make tomorrow with what's left?

The first turns an idea into steps you can follow with a pan in one hand. The second turns tonight's half-used ingredients into tomorrow's lunch, not next week's bin.

Plan: Free in ChatGPT.

What does the answer look like?

Here's a shortened sample for a fridge photo, dinner for two in under 20 minutes, with a hob and no oven. Yours will be worded differently.

Illustration of a chat: a fridge photo, then a reply listing the ingredients it can see and three dinners with what they use, one extra item and the cooking time

Illustration of a sample reply, shortened. Notice the question mark on the rice: ChatGPT can't tell what's in the container, or how long it's been there.

That last part is your call.

Did you get the hour back?

Yes: 61 minutes, across five jobs you'd have done anyway. Dinner alone saves 13.

PartJobOld waySnap waySaved
1Whiteboard to notes25 min5 min20 min
2Error message15 min6 min9 min
3Chart10 min4 min6 min
4Letter or bill20 min7 min13 min
5Dinner decision15 min2 min13 min
Total85 min24 min61 min

Hour-back tally: 61 of 60 minutes ▰▰▰▰▰▰

Times are rough estimates for a typical case of each. Yours will vary, so time a few and see what you get back.

The Snap checklist

Five rules, one for each part. Together they're everything you need to show ChatGPT a picture and trust what comes back.

  1. Shoot it straight. Square on, fill the frame, no glare.
  2. Show the whole window. The app, the file and what you were doing, not just the error box.
  3. Make it say what it read first. Then check two numbers before you trust the rest.
  4. Cover what's private. Account numbers, names and addresses, before you take the photo.
  5. Correct it before you act. Fix its list, then cook, send or sign.

The idea behind all five: ChatGPT can see, so show it instead of typing. Then check what it saw.

What does ChatGPT get wrong about your fridge?

Mostly what it can't see. OpenAI says ChatGPT may give approximate counts and can describe images incorrectly (OpenAI Help Center). Three to watch for:

  • Lookalikes. Yoghurt and sour cream, or two sauces in similar jars. Fix the list before you cook.
  • How much you have. It may see "eggs" when there's one left. Add quantities for anything a recipe depends on.
  • Whether food is still good. It can't smell the milk or read the use-by date on the back. Check those yourself.

And if anyone you're cooking for has an allergy, treat the recipe as a starting point, not a safety check. ChatGPT can't see what's inside a jar, so read the labels.

How do I make ChatGPT plan my dinners automatically?

LevelWhat you getPlan
1. PromptYou paste it with each photo (steps above)Free
2. Scheduled taskA Sunday reminder to snap the fridge, then the week's dinners and a shopping listFree, up to 3 tasks
3. Open-source toolMealie turns your dinners into a meal plan and shopping listFree; needs Docker setup
4. ProjectYour household's tastes, allergies and favourite dinners savedFree

Level 1: Start with the prompt as above

Start with the prompt. When it works, add one level at a time, and stop when it's enough.

Level 2: Plan the week's dinners every Sunday

In a new chat, paste this once:

Every Sunday afternoon, remind me to send you a photo of my fridge and cupboard. When I reply, list what you can see, then plan 5 weeknight dinners for [number] people that use it up, each under [30] minutes. Use up whatever needs eating first, and add a short shopping list for anything missing.

Reply to the reminder with your photos, in that same chat. Add allergies in your reply, not in the task: OpenAI advises against putting health information in a task, because anyone with a shared task link can read it (OpenAI Help Center). Turn on alerts in Settings > Notifications, and find the task under Scheduled.

Plan: Free, with up to 3 active tasks that run at most once a day. Free tasks arrive in a flexible window, such as afternoon. Paid plans can pick the exact time (OpenAI Help Center).

Level 3: Keep your dinners in an open-source recipe app

The fridge-photo apps on GitHub are mostly small demos, so this level picks up after the photo. Mealie is a recipe manager with about 13,700 stars on GitHub. Save the dinners ChatGPT gave you, drop them into the week's meal planner, and Mealie puts the ingredients on a shopping list, sorted by supermarket section.

Mealie's recipe home page shown on a desktop, laptop, tablet and phone

Mealie on desktop, tablet and phone. Screenshot from the Mealie project on GitHub.

Add a recipe by pasting its web link, or type in ChatGPT's version with the editor. Try the public demo first, then run your own copy with Docker.

Plan: Free and open source. Needs Docker to run your own. Not up for setup? Skip to level 4.

Level 4: Keep your kitchen in a Project

A Project remembers your household, so the photo is all you send.

Create one called Dinners, open the ••• menu, select Project settings and paste the prompt from step 1 into the instructions, with the brackets filled in: how many people, foods you avoid and your equipment. Add a line on dinners you love, so ChatGPT suggests more like them. Then start a new chat in the project each time you cook. How Projects work.

Plan: Free in ChatGPT. Projects need you to be signed in.

Try it today

Tonight, before you open the delivery app, open the fridge and take a photo. Paste it in with the prompt and pick one of the three. That half onion finally gets used.

Missed a part? Part 1: whiteboard to notes · Part 2: fix an error message · Part 3: explain a chart · Part 4: decode a letter or bill · All five, with the checklist

Planning your whole week, not just dinner? Plan your week in five minutes.

FAQ

Can ChatGPT see what's in my fridge?

Yes, from a photo. It can miss things hidden at the back and mix up lookalikes, so correct its list before you cook.

Is it free to get recipes from a fridge photo with ChatGPT?

Yes. Image uploads work on the free plan, with lower limits than paid plans.

Can ChatGPT plan meals for the whole week?

Yes. Ask for 5 dinners and a shopping list, or set up the Sunday reminder in level 2.

Can it work around allergies or foods I avoid?

It can leave out foods you name. For allergies, still read the labels yourself.

Does it work with a photo of my shopping?

Yes. Lay it out on the counter and use the same prompt.


Sources: OpenAI Help Center: ChatGPT Image Inputs FAQ · OpenAI Help Center: ChatGPT Free Tier FAQ · OpenAI Help Center: Scheduled tasks in ChatGPT · OpenAI Help Center: Projects in ChatGPT · GitHub: mealie-recipes/mealie

From the prompt library.

Ready-made prompts for what this article covers. Copy, paste, done.

One email every Monday. Worth opening.

New prompts and skills, each for one job. Copy, paste, done.