usama_kashif
/cookthis / use case

AI Recipe Generator for Pakistani and Desi Home Cooking

See a real CookThis chicken biryani recipe generated from one photo, plus how local ingredient names, halal settings, and Pakistani substitutions work.

By Usama Kashif, founder and lead engineer. Read the full CookThis project context for the product decisions behind this work.

#Pakistani recipes#Desi cooking#Local ingredient substitutions

CookThis can turn a photo of a Pakistani dish into a home recipe that uses ingredients you can buy locally, with familiar names like dahi and haldi. It does the same for international dishes, translating them into a desi kitchen. Here is a real example first, then how to get the most out of it.

Real Example: Chicken Biryani From One Photo

I gave CookThis a photo of a plate of chicken biryani, with my profile set to Pakistan, halal, Beginner, and one portion, and Quick mode selected. It rated the identification a “Good match” and returned an 11-ingredient, five-step home recipe. These are the actual screens, cropped only to remove the phone’s status bar.

CookThis result for Chicken Biryani marked as a simple home version: 65 min, Beginner, 1 portion, Quick mode, an estimated 650 calories, 35g protein, 60g carbs and 30g fat, and a halal tag

65 min, Beginner, 1 portion, Quick mode, halal. Estimated 650 cal, 35g protein, 60g carbs, 30g fat.

CookThis cooking mode step 1 of 5 for Chicken Biryani: combine chicken pieces with yogurt, ginger-garlic paste, biryani masala powder and salt and marinate for at least 15 minutes

Step 1 of 5: marinate the chicken.

CookThis cooking mode step 2 of 5: heat oil, saute sliced onions until golden brown, then cook chopped tomatoes until softened, with a 10-minute timer

Step 2: onions and tomatoes. 10:00 timer.

CookThis cooking mode step 3 of 5: add the marinated chicken and cook 8 to 10 minutes until partially cooked, with a 10-minute timer

Step 3: cook the chicken masala. 10:00 timer.

CookThis cooking mode step 4 of 5: spread chicken masala in a pot or rice cooker, layer drained soaked rice on top, add green chilies and about 1.5 cups water

Step 4: layer rice over the masala, in a pot or rice cooker.

CookThis cooking mode step 5 of 5: cover tightly and steam on low heat or in a rice cooker for 20 to 25 minutes, then rest 5 minutes, with a 25-minute timer

Step 5: steam (dum) for 20–25 minutes. 25:00 timer.

CookThis completion screen reading Enjoy your meal, you cooked Chicken Biryani, with Send recipe and Done buttons

Done: send the recipe or finish.

What the recipe contained:

Part of the recipeWhat CookThis returned
Main ingredients1 cup basmati rice, 250g chicken pieces, 2 tbsp yogurt, 1 tbsp ginger-garlic paste, 1.5 tbsp biryani masala powder, 1 medium onion, 1 small tomato, 2 tbsp oil, green chilies, salt
Step 1Marinate the chicken in yogurt, ginger-garlic paste, biryani masala and salt for at least 15 minutes
Steps 2–3Fry onions golden, soften tomatoes, then cook the chicken in the masala for 8–10 minutes
Step 4Layer the drained, soaked rice over the chicken masala, add green chilies and about 1.5 cups of water
Step 5Cover tightly and steam on low heat, or in a rice cooker, for 20–25 minutes, then rest 5 minutes
Total time65 minutes, which matches the sum of the steps

This is a practical one-pot home biryani rather than a shop degh method. It uses packaged biryani masala, which most Pakistani kitchens keep, and a rice-cooker option for people without a heavy-bottomed pot.

Read the step text, not just the timer. Step 1 says to marinate for at least 15 minutes, but its timer is set to 5:00. Go with the text, and longer is better if you have time. Times and quantities in any generated recipe are estimates.

International Dishes, Localized

Region also changes recipes from other cuisines. When I generated a beef bulgogi recipe with the same profile, sesame oil appeared as til ka tel, spring onions as hara pyaz, and sesame seeds as til. No mirin or rice wine was used, because of the halal and no-alcohol settings.

This helps most when a food photo or international recipe assumes imported cheese, a specialty sauce, an unfamiliar cut of meat, or an appliance that is uncommon in Pakistani kitchens.

Add Pakistan and Your Real Constraints

Do not rely on the dish image alone. Add the context that changes what a practical recipe looks like:

  • Pakistan and, when relevant, your city
  • ingredients already in the kitchen
  • ingredients that are unavailable or too expensive
  • halal, vegetarian, vegan, or other preferences
  • servings and budget expectations
  • available equipment
  • grams and millilitres instead of unfamiliar units

A request such as “make a home version for two in Karachi, use ingredients from a normal supermarket, stovetop only” is more actionable than “make this recipe local.”

Local Substitution Is More Than Swapping a Name

An ingredient often performs a specific job: providing fat, acidity, structure, sweetness, salt, aroma, or texture. A useful substitution needs to preserve that job closely enough for the method to work.

These examples show the kind of adaptation a recipe may need. They are starting points rather than universal one-to-one replacements.

Ingredient in the original ideaPossible local directionWhat must be reviewed
Sour creamPlain yogurt, sometimes adjusted with creamAcidity, water content, and splitting under heat
ButtermilkMilk combined with an appropriate acidResting time, thickness, and the role in the recipe
Monterey JackA suitable blend of mild cheddar and mozzarellaSalt, melting behavior, and moisture
Arborio riceAn available short-grain riceStarch, liquid absorption, and final texture
Canned chipotle in adoboChili, a smoky element, tomato, and acidHeat, sweetness, smokiness, and consistency
Heavy creamA locally available dairy or whipping creamFat percentage, stability, and reduction time

CookThis should adapt quantities and instructions around the replacement. Simply substituting yogurt for sour cream without changing heat or moisture, for example, may produce a poor result.

Use Familiar Measurements and Package Sizes

Ask for metric quantities when that makes shopping and cooking clearer:

  • grams and kilograms for solids
  • millilitres and litres for liquids
  • approximate package quantities when a common product size matters
  • level measuring teaspoons and tablespoons for smaller amounts

Do not assume an ordinary tea cup, mug, or household spoon equals a standardized measuring cup or spoon. For baking and other ratio-sensitive recipes, weight measurements are usually easier to reproduce.

Availability Still Requires Human Judgment

No generator has perfect knowledge of every shop in Karachi, Lahore, Islamabad, or a smaller city. Stock changes by neighborhood, retailer, season, and budget.

Before cooking:

  1. Confirm that the suggested products are genuinely available to you.
  2. Check packaged ingredients for allergens, dietary suitability, and halal requirements.
  3. Review whether the substitution changes cooking time or method.
  4. Treat generated nutrition information as an estimate.
  5. Follow trusted food-safety guidance and safe cooking temperatures.

For strict dietary requirements, local product labels and qualified professional guidance matter more than an AI assumption.

Combine Region With Other CookThis Preferences

Region works best when combined with the rest of the cooking context. You can generate a recipe from ingredients you already have, constrain it to limited kitchen equipment, or use the halal-aware food-photo workflow.

CookThis is free to download on Android, with 3 free credits to try it and a weekly or monthly subscription after that.

Get CookThis on Google Play or view the complete CookThis project.

frequently asked questions

Can CookThis make a biryani recipe from a photo?
Yes. From one photo of chicken biryani, CookThis returned a one-portion home recipe with 11 ingredients, including basmati rice, chicken, yogurt, ginger-garlic paste and biryani masala, and five steps: marinate, fry onions and tomatoes, cook the chicken masala, layer the rice, and steam it on the stove or in a rice cooker.
Can CookThis create recipes with ingredients available in Pakistan?
CookThis can use region and available ingredients as context when generating a recipe. Add Pakistan and your city when useful, then review every suggested product or substitution because availability varies by shop, season, and location.
Can CookThis substitute an imported ingredient?
Yes. Tell CookThis which ingredient is difficult to find and what alternatives are available. A substitution may change flavor, texture, quantities, or technique, so the complete recipe should adapt rather than only swapping a name.
Can I use metric measurements?
Ask for grams, kilograms, millilitres, and litres when those measurements are more practical. Check small spoon and cup measurements carefully because household utensils are not always standardized.
Are local substitutions always equivalent to the original ingredient?
No. Many substitutions are approximations. Review the purpose of the original ingredient and expect some difference in taste, texture, appearance, or cooking behavior.
keep exploring
project context

CookThis: See it. Snap it. Cook your version.

CookThis turns restaurant photos, screenshots, and ingredients into practical home recipes on Android. Free to download with 3 free credits to try it.

view project