Product Scene Variations API
nexscope_product_scene_variationsGenerate multiple ecommerce scene variants from a product image, optional segmentation, and prompt guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Scene generation prompt, up to 600 characters. | |
| imageUrl | Yes | Public URL of the product image. The image must be up to 20 MB and between 385 and 8192 pixels in both width and height. | |
| strength | No | Variation strength from 0.1 to 1. Defaults to 0.5. | |
| outputNum | No | Number of images to generate, from 1 to 4. | |
| segImageUrl | No | Optional segmentation mask URL. | |
| imageOutputWidth | No | Desired output width in pixels, from 32 to 2048. | |
| imageOutputHeight | No | Desired output height in pixels, from 32 to 2048. |