Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Product placement & replacement
The various methods for Product placement & replacement Settings are listed below:
Product placement
Places a product image into a generated scene.
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
image | string | Mandatory | Product image URL or base64 data |
width | integer | Mandatory | Target output width |
height | integer | Mandatory | Target output height |
prompt | string | Mandatory | Scene description prompt |
Sample Request
Request Body
Sample Response
Product replacement
Replaces a product in a scene image with another product image.
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
sceneImage | string | Mandatory | Scene image URL or base64 data |
productImage | integer | Mandatory | New product image URL or base64 data |
regenerate | boolean | Optional | Whether to regenerate if already processed. Defaults to |
Sample Request
Request Body
Sample Response
Fetch image assets
Fetches and sorts image assets from a feed or media channel for use in an ad unit.
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
adIdx | integer | Mandatory | Ad index |
adUnitIdx | integer | Mandatory | Ad unit index |
dataServiceId | integer | Mandatory | Data service (feed) ID |
sourceType | string | Mandatory | Source type (e.g. |
assetKey | string | Optional | Feed column key for the image asset |
mediaChannelIdx | integer | Optional | Media channel index to scope asset fetching |
keywords | string | Optional | Search keywords to filter assets |
pageSize | integer | Optional | Number of assets to return. Defaults to |
countryCode | string | Optional | Country code to filter assets. Defaults to |
Sample Request
Request Body
Sample Response
Sorted list of image asset URLs/objects from the feed.