Remix image
remix_imageEdit an image that already exists, instead of making a new one: keep its composition and change what prompt describes ("make the jacket red"), or re-stage the same product in a different scene. Point at the source with job_id (an image this connector made earlier), image_url (a direct image URL), or product_url (a product page Masonry will pull the real photo from). Returns the edited image in the conversation, usually in 10-40 seconds; if a slow model is still rendering when the wait ends, the reply carries a job_id for check_generation. Spends the workspace's Masonry credits — see list_models for per-model prices. Call list_skills and pass skill_slug when the request matches a Masonry skill. Use read_skill for guidance; write prompt from the user's request. Omit model to reuse the source image's model.
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": "remix_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional image model that supports editing/reference images (image_mix). Defaults to the reference's source model, else the workspace default. | |
| job_id | No | job_id of a previous generate_image/remix_image/check_generation whose image to use as the reference. Provide this, image_url, or product_url. | |
| prompt | Yes | How to modify or re-stage the reference image, e.g. 'make the jacket red', 'put this product in a bright kitchen scene', 'turn it into a watercolor'. | |
| image_url | No | Direct public https URL (or masonry:// reference) of a reference image to remix. Provide this, job_id, or product_url. | |
| skill_slug | No | Optional Masonry skill slug from list_skills. Uses the selected skill for provenance and model routing only; skill text is guidance, and the prompt describes the user's request. | |
| num_outputs | No | Takes of the same edit prompt (1-4); every output follows the one prompt, so a prompt that describes several images does not make them. Default 1. Different looks come from generate_image with prompts, one complete description per image, and the same reference. | |
| product_url | No | Https product/page URL. Masonry extracts a real product image from the page and uses those pixels as the reference. Provide this, job_id, or image_url. | |
| aspect_ratio | No | Optional output aspect ratio. Any ratio the chosen model supports (list_models shows each model's ratios), e.g. 4:5, 16:9, 9:16, or an exact WIDTHxHEIGHT on models that accept custom sizes. An unsupported ratio is refused with the model's supported list; nothing is silently substituted. Omit to use the model's default size: models whose default is auto (follow the input) keep the reference's shape, others use their preset default. |