Apply Backdrop
apply_backdropRemove or replace an image background through Uwear's canonical free backdrop generation path. Provide exactly one foreground source: generation_result_id, clothing_item_asset_id, or a public HTTPS image_url. Use backdrop_mode transparent, solid with color_hex, or image with background_image_url. Returns generation_id; poll get_generation_status, then fetch get_generation_results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color_hex | No | Required for solid mode, for example #FFFFFF. | |
| image_url | No | Public HTTPS foreground image URL; provide exactly one source. | |
| backdrop_mode | Yes | transparent removes the background, solid uses color_hex, and image uses background_image_url. | |
| background_image_url | No | Required for image mode; public HTTPS replacement background. | |
| generation_result_id | No | Existing generation result foreground; provide exactly one source. | |
| clothing_item_asset_id | No | Exact owned garment asset foreground; provide exactly one source. Find asset IDs with get_garment or list_garments. |