style_transfer
Applies the artistic style of a reference image to new or existing images while preserving the content structure. Use it to transform photos, unify visual aesthetics, or blend multiple style references.
Instructions
Apply artistic style from a reference image to new or existing content while preserving the content structure.
Use this when:
Applying artistic styles to new image generations
Transforming existing images with a reference style
Creating consistent visual aesthetics across multiple images
Blending multiple style references together
Analyzing style characteristics before generation
NOT for:
Character consistency across poses (use generate_character_set instead)
Simple image editing (use edit_image instead)
Generating images from scratch without style reference (use generate_image instead)
Chain with: If user requests specific pixel dimensions for styled images, chain with resize_image after generation.
Example: "style_transfer referenceStyleImage='./van-gogh.jpg' contentDescription='mountain landscape at sunset' styleStrength=0.8"
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": {
"styleStrength": "<styleStrength>",
"outputFormat": "<outputFormat>",
"quality": "<quality>",
"aspectRatio": "<aspectRatio>",
"size": "<size>",
"analyzeStyleOnly": "<analyzeStyleOnly>"
},
"name": "style_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | 2k | |
| quality | Yes | ||
| aspectRatio | Yes | 1:1 | |
| contentImage | No | ||
| outputFormat | Yes | png | |
| styleAspects | No | ||
| styleStrength | Yes | ||
| outputFilename | No | ||
| analyzeStyleOnly | Yes | ||
| preserveElements | No | ||
| contentDescription | No | ||
| referenceStyleImage | No | ||
| referenceStyleImages | No |