curl --request POST \
--url https://api.example.com/api/generatePlatingGuidance \
--header 'Content-Type: application/json' \
--data '
{
"recipeTitle": "<string>",
"ingredients": [
{}
],
"instructions": [
{}
]
}
'{
"success": true,
"data": {
"platingNotes": "<string>",
"servingVessel": "<string>",
"servingTemp": "<string>",
"storageGuide": "<string>",
"shelfLife": {
"fridge": 123,
"freezer": {}
}
},
"error": "<string>",
"details": "<string>"
}Generate professional plating guidance, storage instructions, and serving recommendations using AI
curl --request POST \
--url https://api.example.com/api/generatePlatingGuidance \
--header 'Content-Type: application/json' \
--data '
{
"recipeTitle": "<string>",
"ingredients": [
{}
],
"instructions": [
{}
]
}
'{
"success": true,
"data": {
"platingNotes": "<string>",
"servingVessel": "<string>",
"servingTemp": "<string>",
"storageGuide": "<string>",
"shelfLife": {
"fridge": 123,
"freezer": {}
}
},
"error": "<string>",
"details": "<string>"
}/api/generatePlatingGuidance endpoint generates professional plating and serving guidance for a recipe. It analyzes the recipe context to provide:
"Gochujang Pasta", "Chocolate Lava Cake"Show Ingredients Array Structure
[
{
"groupName": "For the sauce",
"ingredients": [
{
"amount": "2",
"units": "tablespoons",
"ingredient": "gochujang"
}
]
}
]
["Heat butter in a pan", "Add gochujang and cream", "Toss with pasta"]true for successful responsesShow Guidance Data Structure
"shallow bowl", "dinner plate", "small ramekin", "wide pasta bowl""hot", "warm", "room temperature", "chilled", "cold"curl -X POST https://your-domain.com/api/generatePlatingGuidance \
-H "Content-Type: application/json" \
-d '{
"recipeTitle": "Gochujang Pasta",
"ingredients": [
{
"groupName": "For the sauce",
"ingredients": [
{"amount": "2", "units": "tablespoons", "ingredient": "gochujang"},
{"amount": "1/2", "units": "cup", "ingredient": "heavy cream"},
{"amount": "2", "units": "tablespoons", "ingredient": "butter"}
]
},
{
"groupName": "Main ingredients",
"ingredients": [
{"amount": "8", "units": "ounces", "ingredient": "pasta"}
]
}
],
"instructions": [
"Cook pasta according to package directions.",
"Heat butter in a pan, add gochujang and cream.",
"Toss pasta with sauce and serve."
]
}'
{
"success": true,
"data": {
"platingNotes": "Twirl pasta into a nest in the center of the bowl. Drizzle extra sauce around the edges and garnish with sliced green onions and a sprinkle of sesame seeds for visual contrast. A light dusting of grated parmesan adds richness.",
"servingVessel": "shallow pasta bowl",
"servingTemp": "hot",
"storageGuide": "Store in an airtight container in the refrigerator for up to 3 days. The sauce may thicken when cold. Reheat gently on the stovetop with a splash of water or cream to restore the creamy consistency. Not recommended for freezing as cream-based sauces can separate when thawed.",
"shelfLife": {
"fridge": 3,
"freezer": null
}
}
}
{
"error": "Recipe title is required"
}
llama-3.3-70b-versatile model via Groq with:
GROQ_API_KEY in your environment variables.recipeTitle is required, providing full recipe context (ingredients and instructions) results in much more accurate and helpful plating guidance, storage instructions, and shelf life estimates.