Change Textures
change_texturesRetexture masked surfaces in an image while keeping the original geometry intact. White mask areas are changed, black are preserved, using either a text prompt or a reference image.
Instructions
Retexture masked surfaces while preserving geometry. Mask white = change, black = keep. Provide exactly one of referenceImage or prompt. Image inputs accept public HTTPS URLs or image data URIs. Charges the API account; cost and balance are in USD.
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": {
"image": "<image>",
"mask": "<mask>"
},
"name": "change_textures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | Yes | Mask URL or base64 image: white marks surfaces to change; black preserves them. | |
| image | Yes | URL of the source image — a sketch, line drawing, 3D/CAD model screenshot, or photo. Either a public HTTPS URL reachable by MyArchitectAI, or an inline data:image/<mime>;base64,<payload> URI for a local file. | |
| prompt | No | Desired texture; provide exactly one of prompt or referenceImage. | |
| outputFormat | No | Output image format. Defaults to webp if omitted. | |
| referenceImage | No | URL of the style reference image whose look is transferred onto the source — a public HTTPS URL reachable by MyArchitectAI, or an inline data:image/<mime>;base64,<payload> URI for a local file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| output | No | URLs of generated images, or a video URL for animate. | |
| balance | No | ||
| requestId | No |