---
title: "Generate meal ideas from a photo of ingredients"
method: POST
path: "/api/cookbook/meal-ideas-photo"
tags: ["Cookbook"]
---

# Generate meal ideas from a photo of ingredients

`POST /api/cookbook/meal-ideas-photo`

## 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-photo`
- Auth: HTTP bearer

## Headers

- `x-timezone` string, required

## Request body `multipart/form-data`

- LucilleActionDto
  - `source` string: Set to "lucille" when the call originates in the Lucille chat. The result is then persisted as a chat turn and returned as a `card`.
  - `sessionId` string: Current Lucille chat session id, if the client tracks one.
  - `clientTurnId` string: Client-generated id for the optimistic chat bubble. Echoed back inside `card` so the app can reconcile it.
  - `userMessage` string: What the user typed alongside the photo.

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
