Update product media
update_product_mediaClassifies a product photo or video (its view angle, its description) or removes it. Look at each photo get_project lists with needs (view_images shows them, captioned with their media_id), and tag it with what you see. Media requirements:
Photos: JPEG, PNG or WebP; at least 480×480 px; at most 15 MB. Clear, well-lit shots of the real product, one product per photo, no collages or heavy text overlays.
Videos: MP4 or MOV (H.264 recommended); 1–60 seconds; at most 50 MB; vertical 9:16 recommended. Clips play muted. A video only appears in the ad through a custom-footage moment (add_moment, type custom-footage): uploading it alone does nothing.
Physical products: tag every photo with the view it shows (front, left, rear, a 3/4 view…,
detailfor a close-up,size-referencefor a scale shot). A front photo is strongly recommended.detailphotos, and every photo of a digital product or service, need a description (≤240 characters) of what they show.At most 8 files per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | ||
| remove | No | Delete it from the project. | |
| media_id | Yes | From get_project's `media`. | |
| project_id | Yes | The project's id. | |
| description | No | What it shows, in a sentence. Needed for `detail` photos, every photo of a digital product or service, and videos. Used in prompts as-is. |