swap_targetsarray<object>RequiredOne entry per head you want replaced; heads you leave out are not touched. object_index is the position in the analysis, image_urls is one to three photos of the replacement. Up to 10 entries per request.
- Default
- Not specified
- Constraints
- minItems:1maxItems:10
swap_targets[].image_urlsarray<string>Required within objectOne to three reference images of the replacement. Use the same person in all of them.
- Default
- Not specified
- Constraints
- minItems:1maxItems:3
swap_targets[].object_indexintegerRequired within objectZero-based position of the target in the analyze result: 0 is the first preview image that task returned.
- Default
- Not specified
- Constraints
- minimum:0
