face_change_gender
Swap facial gender in portraits by providing an image URL and target gender for each face.
Instructions
Swap perceived facial gender characteristics in a portrait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | URL of the portrait whose facial gender should be swapped. | |
| gender_infos | Yes | Target gender information for each face, optionally including face_rect. Example: [{'gender': 1, 'face_rect': {'x': 0, 'y': 0, 'width': 100, 'height': 100}}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |