What can I cook with these ingredients? Pantry photos, constraints, and a real dinner

Published: 2026-08-25 · Updated: 2026-08-25 · 6 min read

The question is usually asked at 6:20 p.m. with the fridge door open. Cook EZ answers it by treating the shelf as an inventory: identify what is there, drop what is unsafe, then generate a method that fits your equipment and minutes. This guide is the pantry path, plus the food-safety line between "use it up" and "throw it out."

Photograph the shelf, or type the honest list

A fridge photo should include the main perishables: proteins, cooked leftovers in clear containers, wilting produce, open jars. A pantry photo should include the cans, grains, and oils you are willing to open. Two photos beat one heroic wide shot of a dark fridge. Identification will miss the tofu behind the ketchup. Pull the tofu forward. The model cannot cook what it cannot see.

Typing is often faster if you already know the leftovers. "300 g cooked farro, half a cabbage, eggs, gochujang, scallions, 20 minutes." That sentence is a better generate prompt than a murky shelf. Use the camera when you do not remember what you bought. Use the keyboard when you do.

Exclude the compost candidates in the note if the photo still shows them. A bag of slime lettuce in the frame will tempt a salad generate. You will not wash slime lettuce. Be cruel in the prompt. "Ignore the lettuce. Use the cabbage."

Open jars of sauce that you cannot date are a judgment call. If the jar smelled fine last month and sat in the fridge door, look for mold and the manufacturer's refrigerated life after opening. When unsure, skip the jar and generate around onion, egg, and rice. USDA Keep Food Safe will not certify a mystery marinara.

Safety filter before creativity

USDA Keep Food Safe and FSIS leftover pages are the filter. Perishable food left in the danger zone (roughly 40 °F to 140 °F) for more than 2 hours (1 hour above 90 °F) is not a puzzle ingredient. Cooked leftovers older than 3 to 4 days in the refrigerator are not a soup night. Reheat keepers to 165 °F. If you cannot remember when the chicken was cooked, do not generate a chicken recipe around it. Generate a canned-bean recipe instead.

Raw meat that has sat on the counter while you "thought about dinner" has a clock. Put it back in the fridge and cook it hot, or discard it. The generator does not know your counter time. You do. Smell is not a complete test for bacterial toxins. Follow the time and temperature rules.

Opened sauces still need labels. A pantry generate that says "use the soy sauce" does not certify that bottle as gluten-free. If wheat is an allergy, read the bottle every time. AI can miss wheat in sauces, and a pantry photo will not OCR a tiny allergen statement reliably. Your eyes on the FDA-style label (or the ingredients list) are the check.

Taste Profile still wins

The pantry path does not get to ignore allergies, diet, or equipment. If you are vegan, leftover chicken in the photo should be ignored, not "optional." If you own one skillet, the method should not require a steamer basket and a wok. If the time cap is 25 minutes, a dried-bean soak is a different night. The generator should reach for canned beans, eggs, tofu, leftover grains, and frozen vegetables.

Servings matter. Two people and a mountain of cabbage is a slaw plus a stir-fry, or a soup you will eat twice. Scale with the recipe scaler if the first card is for four and you are two. Leftover soup is a gift if you chill it on the FSIS clock. It is a burden if you leave it in the pot.

Skill changes the move. A beginner pantry dinner is omelet plus toast plus a bag salad. An intermediate pantry dinner is a fried-rice with leftover grain, a proper fond, and a folded egg. Both are valid. The generate should match the skill chip. If it writes "deglaze and mount with butter" for a beginner who listed no butter, regenerate.

Classic moves the generator should know

Grain plus egg plus allium plus sauce: fried rice, fried farro, fried quinoa. High heat, leftover grain cold from the fridge (drier, less glue), egg first or last depending on the school you follow, sauce off heat so sugar does not scorch. Maillard on the grain needs space. Crowding makes steam. The card should say "work in batches" if you have more than a skillet's worth.

Canned tomato plus onion plus garlic plus beans or chickpeas: a 20-minute stew. Bloom spices in oil. Add tomato. Simmer. Finish with acid. FoodData Central will tell you the stew is a different protein density depending on the bean. Chickpeas and black beans are not interchangeable if you are chasing a protein number, though both make a dinner.

Soup from bones or from boxed stock plus leftover vegetables: chop small, simmer 15 minutes, blend or do not. Carryover cooking is irrelevant here. The FSIS reheat to 165 °F is relevant if the stock started as yesterday's chicken. Bring it to a simmer that is actually hot, not warm.

The one missing ingredient

A good pantry generate names the gap. "This works if you pick up limes" is a useful sentence. A generate that quietly assumes fish sauce you do not have will stall at 6:40 p.m. Taste Profile cannot store every bottle. If the card needs one fresh item, decide whether you will shop or regenerate without it. Lemon can stand in for lime. Water plus salt cannot stand in for fish sauce. Know which swaps are real.

Unit converter time: a can is 400 g in some countries and 15 oz in others. The card should use the unit system from your profile. If it does not, convert before you open the third can "to be safe." Extra tomato is soup. Extra oil is a diary problem.

If you are also logging, barcode the cans you open. Open Food Facts will attach a product name. The diary will then match the pantry generate's "1 can chickpeas" to a real drained weight if you adjust grams. Drained chickpeas are not the can's total weight. Pour-off matters.

Cook Mode when the kitchen is already messy

Pantry nights are messy because you did not mise en place at 4 p.m. Cook Mode still helps. Put the phone where you can see the next step with wet hands. Run the rice timer. Check off the chopping. The keep-awake setting exists because a dark screen in a skillet moment is how you burn garlic.

Order of operations: start the longest heat first (oven, rice, boiling water), then chop, then sear. A generate that tells you to chop for ten minutes before putting on the kettle is a bad generate. Edit the step order. Cook EZ lets you edit steps on the card. Use that. The model is a sous-chef with no clock on the wall.

When dinner is done, photograph the plate for the journal if you want the streak grid to show real food. Log servings. Chill leftovers within 2 hours. The pantry path often produces extra. That extra is tomorrow's typed list.

What not to ask the pantry generator

Do not ask it to use five proteins at once. Pick one. Do not ask it to empty the fridge into a single casserole. That casserole will taste like a drawer. Do not ask it to honor a keto constraint and a leftover bun in the same card without saying which wins. State the winner.

Do not treat a restaurant doggy bag of unknown age as a listed ingredient. If it has been in the danger zone, it is not inventory. USDA Keep Food Safe does not make exceptions for expensive takeout.

Do not skip the allergy pass because "it is just leftovers." Leftover fried rice made with regular soy sauce is still wheat. If someone at the table cannot eat wheat, this is not their dinner unless you cooked a separate pan with a labeled bottle.

Pull the leftover rice, the eggs, and the scallions onto the board. Put the slime lettuce in the compost. Generate once with that list and a 20-minute cap. Heat the skillet until a drop of water skitters, then add the cold rice. You want crackle, not steam.

Questions

Should I photograph the fridge or type the leftovers?

Type if you know the weights and the ages. Photograph if you forgot what you bought. Two tight photos beat one dark wide shot.

What if the leftover chicken is four days old?

FSIS window for cooked leftovers is 3 to 4 days. If you are past that, do not generate around the chicken. Use shelf-stable proteins.

Will the recipe use only what I have?

It will try, then name gaps. Confirm the ingredient list before you cook. Remove anything you will not open.

Can I scale a pantry recipe down?

Yes. Use the recipe scaler, then remember that a smaller skillet still needs heat and space for browning, not a steamed pile.

Sources

Cook it in Cook EZ

Photograph the dish or type the name. The app writes the recipe for your allergies, equipment, and time, then logs the plate if you want the calories.