Parameters
UUID of the finished design to make mockups for.
What to make. Individual shots — product_front, product_back, print_front, print_back, fabric_details, model_front, model_side, model_back, lifestyle_model, lifestyle_product — or groups of them: "flat" (both product photos), "detail_closeup" (every close-up this design supports), "vto" (all three model views), "lifestyle". Defaults to ["flat"]. Shots that need another image (a model photo needs the product photo of that side) pull it in and it is quoted too. A shot or group that cannot be made for this design is refused with the reason; call with dry_run=true to see every shot's availability.
Required for model and lifestyle-model shots — the audience whose virtual model wears the design (see brand_dna.get for keys). Call virtual_model.generate first if no model exists.
Optional model gender ("men" or "women"), for unisex products that support both. It must be a gender the audience and the product share, with a finished (CREATED) virtual model. Omit to use the first such gender. One gender per call.
"pro" makes AI-enhanced product photos and is the recommended choice. "standard" is the basic free quality: provider or native flats with no AI enhancement. Applies to product photos, including the flats a print close-up needs first.
Use an environment_options id from the quote: automatic for saved Brand DNA, a preset, or an adopted custom environment. Defaults to the brand's selected environment, then its Brand DNA. Existing product sets keep their frozen scene. Never changes the saved brand default.
Return the quote without creating or generating anything: every shot's availability (with a reason when unavailable), which images already exist and are reused free, which prerequisite images are added, and the credit total.
Refuse, without generating anything, if the quote exceeds this. Pass the credits from a dry run to never pay more than you reviewed.
Send the same key when retrying this exact call. A completed request replays for 24 hours without running or billing again.
An https URL that receives a signed completion event when the work finishes, so you can skip polling. See Webhooks.
Returns
Pass to mockup.get_generation. null when every requested mockup already existed (status complete): their IDs are in mockup_ids and there is nothing to poll. Absent on a dry run.
The mockup uuids this call covers (dispatched or already existing).
Mockups dispatched. 0 on a no-op or dry run.
Credits quoted for the new images. Each image is charged only when it renders, so a failed render costs nothing.
Per-shot lines (shots), new_images, existing_images, model and environment.
Describes the mockup.get_generation(..., wait_sec=...) contract.