Set recipe image
set_recipe_imageReplace a recipe's cover image by providing the recipe ID and a base64-encoded image. Specify the image format to update the recipe's main photo.
Instructions
Replaces a recipe's cover image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Image format, used for the upload filename, extension field and content type | |
| recipe | Yes | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
| image_base64 | Yes | The image, base64-encoded, without a data: URI prefix |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes | ||
| truncated | No | Present only when entries were dropped to fit the budget. | |
| image_version | Yes |