Parameters
The task id returned from design.generate.
0 returns an instant snapshot. Positive values long-poll up to that many seconds and return when the task is complete/failed or the timeout expires.
One of "product", "artwork"
Keep product for ordinary design requests: show the artwork on the garment. Use artwork only when the user explicitly asks for raw artwork or print graphics. This only selects saved images.
Returns
Same as design_id once known.
Design UUID. null until the pipeline has produced a design.
Fractional progress 0.0-1.0 when known.
Saved product previews (placement, image_url), front first. Show these by default. An empty list means no product preview is available yet; do not substitute raw artwork.
The requested gallery view.
Legacy raw artwork URL; not the default preview.
Every side's artwork, each placement (e.g. front, back) and image_url. Use only for explicit raw artwork requests. Do not generate additional mockups to retrieve saved images.
Page that opens the design in the app. Share this link rather than building one.
Public failure message, without internal processing diagnostics.
On completion, call the returned read-only tool with its arguments once before replying, even when the request asks for a link. This displays the saved gallery without generating anything. Polling alone does not display images.