Style Transfer
style_transferTransfers a reference image's visual style onto an architectural image, with optional prompt, negative prompt, and strength control to guide the restyle.
Instructions
Transfer a reference image style onto an architectural image, with optional prompt, negativePrompt and styleTransferStrength (0–1). 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>",
"referenceImage": "<referenceImage>",
"outputFormat": "<outputFormat>"
},
"name": "style_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | URL of the source architectural image to restyle — a public HTTPS URL reachable by MyArchitectAI, or an inline data:image/<mime>;base64,<payload> URI for a local file. | |
| prompt | No | Optional prompt to further guide the style transfer. | |
| outputFormat | Yes | Output image format: webp, jpg, png, or avif. | |
| negativePrompt | No | Optional text describing elements to exclude from the output. | |
| referenceImage | Yes | 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. | |
| styleTransferStrength | No | How strongly to apply the reference style: 0 = no effect, 1 = full transfer. |
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 |