image-element-remove

Two-image face/head swap compositing: replaces the face on a target scene image with a source face. Semantic rule: apply face B onto image A, where B is the source face and A is the target scene.

meitu image-face-swap

Usage Examples

# Scenario 1: Basic face swap (required parameters only)
meitu image-face-swap \
  --head_image_url ./face.jpg \
  --sence_image_url ./scene.jpg \
  --prompt "Face swap" \
  --json

# Scenario 2: Full parameters + download results
meitu image-face-swap \
  --head_image_url ./face.jpg \
  --sence_image_url ./scene.jpg \
  --prompt "Natural face swap blending" \
  --json \
  --download-dir ./output

Parameter Reference

ParameterRequiredDescription
--head_image_urlYesAliases: --head_url
--sence_image_urlYesAliases: --scene_image_url
--promptYesType: string
--download-dirNoType: string
--outputNoType: string[]
--jsonNoOutput results in JSON format for easy script or agent parsing