Change Image
change_imageReplace a post's image entirely. Pass imageUrl to swap in an existing image (instant), or prompt to generate a brand-new AI image (async ~1-2 min, applied automatically; check with get_task_status). When the new image shows the user or a named person, call use_character_reference first and pass its referenceImageUrls, or the image shows a stranger.
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": {
"postId": "<postId>"
},
"name": "change_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The post whose image to replace | |
| prompt | No | Description of a new image to AI-generate instead | |
| imageUrl | No | Public URL of the replacement image | |
| referenceImageUrls | No | With prompt: identity photos of the person to show, from use_character_reference or supplied by the user |