Upload Garments from URL
upload_garment_from_public_urlBatch upload garments from public HTTP(S) image URLs. Defaults to background removal; pass processing_mode='none' to store original images as-is. Prefer assets with {asset_kind: full|detail, asset_view: front|back|side, asset_url}; exactly one full front is required, every full view is unique, and detail views can repeat. For ChatGPT attachments, use upload_garment_from_chat_file instead. For local filesystem files, use prepare_local_garment_upload instead. No base64, chat file objects, or local paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Single garment name | |
| assets | No | Single garment full asset set. Use asset_kind/asset_view. Exactly one full front is required; full views are unique and detail views can repeat. | |
| gender | No | Single garment gender: male, female, unisex | |
| garments | No | Garments to upload from public HTTP(S) URLs. No chat file objects and no base64. | |
| file_name | No | Single original file name | |
| image_url | No | Single public HTTP(S) front image URL | |
| mime_type | No | Single MIME/content type, e.g. image/png | |
| description | No | Single item-level garment description hint | |
| back_image_url | No | Single optional public HTTP(S) back image URL | |
| side_image_url | No | Single optional public HTTP(S) side image URL | |
| processing_mode | No | Optional image processing. 'background_removal' removes the background (the platform upload default); 'none' stores the image as-is. Omit to use background removal. | |
| detail_image_urls | No | Single optional public HTTP(S) detail image URLs |