Cookbook

Generate AI meal ideas from text input

post/api/cookbook/meal-ideas

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/cookbook/meal-ideas
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Request body

userInputstring required

Example request

{
  "userInput": "I want something high-protein for dinner"
}

Response

unknown required

Example response

{
  "success": true,
  "ideas": [
    {
      "title": "Grilled Salmon Bowl",
      "description": "Salmon over quinoa with roasted veggies",
      "calories": 480,
      "protein": 42
    },
    {
      "title": "Turkey Lettuce Wraps",
      "description": "Ground turkey in butter lettuce with avocado",
      "calories": 320,
      "protein": 36
    }
  ]
}

Changes

No recorded changes to this operation across all 34 revisions of this API.