Compare a render with the SKU reference (visual QC)
vivid_compare_productCompares a generated or retouched product image with the real SKU photo to verify shape, colors, materials, logos, and details, returning a match score, verdict, differences, and fix prompt.
Instructions
Visual quality control: checks that the product in a generated/retouched image matches the real product photo (SKU card). Vision LLM compares shape, proportions, materials/finish, colours, stones/elements, logos, hardware — product only, background ignored. Returns match 0–1, verdict pass|review|fail, a list of differences with severity, a summary and a fixPrompt you can pass straight to vivid_retouch. 1 credit per call (a retry is charged again), ~15–25 s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Which object to compare when the candidate shows several, e.g. "the ring on the hand". | |
| language | No | Language of the summary. | it |
| candidate | Yes | Image to check: asset id, URL or local path. | |
| reference | Yes | SKU / real product photo: asset id, URL or local path. | |
| skuDescription | No | SKU notes: material, stone, colour, size… anything the reference photo does not show. |