Generate dossier image
generate_dossier_imageDraw a new image with gpt-image-2.5 and put it straight into a dossier's Mappe, returning the Markdown to paste into a document. This is the project's own image generator — it replaces the detour through innov-ai-tive's generate_asset_image, and the spend lands on this tenant's own OpenAI key. Two models: "flare" (default, fast, for everyday work) and "sunburst" (slower, holds a reference image more faithfully — use it for anything a customer will see). Quality runs low|medium|high|xhigh|max; each step costs render time and output tokens, so start at high. Size must be a multiple of 16 per edge, between 1:3 and 3:1, no edge over 3840 — the server checks before it spends anything. Give reference_image_ids to redraw or restyle images already in this Mappe (up to 16); without them the prompt alone decides. The image is stored like any other Mappe image and is marked origin_kind=generated with origin_is_ai=true, so nobody has to guess later whether a screen in the offer was a real draft. It is NOT free: one call, one image.
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": {
"prompt": "<prompt>"
},
"name": "generate_dossier_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Default flare. | |
| width | No | Multiple of 16. Default 1536. | |
| height | No | Multiple of 16. Default 1024. | |
| prompt | Yes | What to draw. Say where copy sits so the model leaves that area quiet. Avoid asking for lettering — generated words come out subtly wrong. | |
| quality | No | Default high. | |
| alt_text | No | ||
| filename | No | ||
| grant_id | No | ||
| tender_id | No | ||
| dossier_id | No | ||
| transparent | No | Transparent background. PNG only. | |
| reference_image_ids | No | Image ids from THIS dossier to use as references (max 16). With references the call goes to the edit endpoint and the model keeps their content. |