Generate recipe image
generate_recipe_imageRequest RecipeBee image generation for an existing private recipe. Generation may reserve existing RecipeBee image credits or consume a free-tier image allowance. When the client declares form-elicitation support, the server requires an accepted signed confirmation form bound to this recipe and these image options; image_generation_confirmed is ignored. When the client does not declare form-elicitation support, omit image_generation_confirmed until the user explicitly accepts, then set it to true on one retry. This tool never purchases credits or starts checkout; if the existing entitlement is unavailable, report the failure without directing the user to a purchase flow. Do not use for an image already generated or uploaded in this conversation. mode=add retains the current primary image. mode=replace changes which retained image is primary but does not delete the previous image; use it only after the user explicitly requests replacement.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recipe_id": "<recipe_id>"
},
"name": "generate_recipe_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add | |
| seed | No | ||
| style | No | ||
| aspect | No | ||
| recipe_id | Yes | ||
| custom_prompt | No | ||
| image_generation_confirmed | No | For clients that do not declare form-elicitation support: set to true only after explaining possible credit or free-allowance use and receiving the user's explicit acceptance. Clients that declare form support collect consent in a signed form and ignore this value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| recipe | No | ||
| is_public | Yes | ||
| persisted | Yes | ||
| recipe_id | Yes |