aplusContent_createMedia
Add a video (with its thumbnail) or an image to the A+ media library and get the media ids a video module takes (PREMIUM_VIDEO_TEXT, PREMIUM_HERO_VIDEO, PREMIUM_VIDEO_IMAGE_CAROUSE
writeAmazon Seller (SP-API)sp.aplusContent_2020-11-01
L: VideoComponent {videoMediaId, imageMediaId, imageCropSpecification}). Each url is uploaded first, as it is. Amazon SP-API · createMedia · POST /aplus/2020-11-01/media Amazon SP-API · createUploadDestinationForResource · POST /uploads/2020-11-01/uploadDestinations/{resource} Gate: approve — interactive: show the change (Amazon's preview first where one exists), wait for an explicit approve; autopilot: only when the seller's own words asked for this change; otherwise ask.
Call it
In an AI client (MCP)
{
"name": "aplusContent_createMedia",
"arguments": {
"store": "myStore-US",
"media_type": "VIDEO"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/aplusContent_createMedia \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","media_type":"VIDEO"}'Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
media_typerequired | string | VIDEO or IMAGE.VIDEOIMAGE |
url | string | a public http(s) URL of the file (a video: MP4 or MOV). Give url, upload_destination_id or media_id. |
upload_destination_id | string | an already uploaded file's id. |
media_id | string | an existing asset, to add a pairing to it. |
title | string | the asset's title. An optional title for the media asset. For standalone images, defaults to filename if not provided. Not applicable for videos (video title is derived from the filename). |
descriptions | object[] | [{locale, value}], the video's accessibility descriptions. A list of locale-keyed accessibility descriptions. At least one entry is required for video assets. |
related_media | object[] | for a video, its thumbnail: [{associationType: 'VIDEO_PAIRING', title (at least three words), media: {mediaType: 'IMAGE', url | uploadDestinationId | mediaId}}]. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.mediaId— the video's id (VideoComponent.videoMediaId).data.relatedMedia[].media.mediaId— the thumbnail's id (VideoComponent.imageMediaId).data.status— e.g. [PENDING_PROCESSING, PENDING_AMAZON]; a video is usable in a module once aplusContent_getMedia reads AVAILABLE. data.mediaUrl, data.issues: where it is served, and what Amazon found.
Body (Amazon schema; createMedia)
mediaType*: VIDEO | IMAGE
uploadDestinationId: string
mediaId: string
title: string
descriptions: [{locale*, value*}]
relatedMedia: [{associationType*: VIDEO_PAIRING, title*, media*: {mediaType*, uploadDestinationId, mediaId, title}}]
relatedMedia.media.mediaType: VIDEO | IMAGEGotchas
- Amazon refuses a video over 200 MiB and a thumbnail over 3 MiB (EntityTooLarge in errors[], with the slot's path). The call is idempotent: the same asset with the same metadata answers 200 with the existing one, with other metadata 409.