Cookbook
AI-generate a recipe from description
post/api/cookbook/generate
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/cookbook/generate
- AuthHTTP bearer
Request body
Example request
{
"description": "High protein breakfast with eggs"
}Response
unknown required
Example response
{
"success": true,
"recipe": {
"title": "Lemon Herb Grilled Chicken",
"meal_type": "dinner",
"calories": 380,
"protein": 45,
"carbs": 8,
"fat": 16,
"ingredients": [
"chicken breast",
"lemon",
"rosemary",
"olive oil",
"garlic"
],
"instructions": [
"Marinate chicken...",
"Grill 6 min per side..."
]
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.