Creatives: edit the picture
creative_image_editChange the PICTURE of a ready creative by an instruction — «заміни фон на море», «інше фото з кавою». A picture WITHOUT a real person: FLUX Kontext edits it, 10 AI credits per variant. A REAL person's photo (kit photo creatives, brand / uploaded photos with people) is never sent to an image model: the words become parameter edits (texts, frame / zoom, colours, layout, format — 0 credits) or a NEW background behind the cut-out person (kit creatives, 10 credits, the person keeps the original pixels); asking to change the person (younger, smile, other face, remove him) is refused with an explanation — relay it. The confirmation shows the route and the price; a failed edit is refunded and the previous picture stays. Plain texts / colours / brighter / darker: creative_edit (free). CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"order_id": "<order_id>",
"variant": "<variant>",
"instruction": "<instruction>"
},
"name": "creative_image_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Only this format of the variant (square, portrait, story, …). Default: every format of the variant. | |
| variant | Yes | Variant number (1-based) as in creative_get. | |
| order_id | Yes | order_id from creative_order / creative_list. | |
| instruction | Yes | What to change in the picture, in the person's words. |