image-style-transfer
Applies style transfer to an existing image. Style keywords such as anime, oil painting, watercolor, chibi, cartoon, 3D, pixel art, and sticker are all supported. Supports both single-image stylization and dual-image reference style transfer. Preset effects include chibi, emoji, Snoopy, Molly, Animal Crossing, and more.
meitu image-style-transfer
Usage Examples
# Scenario 1: Single-image stylization (required parameters only)
meitu image-style-transfer \
--image_url ./sample.jpg \
--prompt "Watercolor style" \
--json
# Scenario 2: Dual-image reference style transfer
meitu image-style-transfer \
--image_url ./original.jpg \
--image_url ./style_ref.jpg \
--prompt "Apply the style of the second image" \
--json
# Scenario 3: Preset effect + download results
meitu image-style-transfer \
--image_url ./sample.jpg \
--prompt "Chibi style" \
--json \
--download-dir ./outputParameter Reference
| Parameter | Required | Description |
|---|---|---|
--image_url | Yes | Aliases: --image |
--style_image_url | No | Type: string |
--prompt | Yes | Type: string |
--download-dir | No | Type: string |
--output | No | Type: string[] |
--json | No | Output results in JSON format for easy script or agent parsing |