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 ./output

Parameter Reference

ParameterRequiredDescription
--image_urlYesAliases: --image
--style_image_urlNoType: string
--promptYesType: string
--download-dirNoType: string
--outputNoType: string[]
--jsonNoOutput results in JSON format for easy script or agent parsing