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"
product returns the artwork shown on the garment; artwork returns the raw print artwork. Either way the call only selects images already saved and generates nothing.
Returns
The handle the call was made with.
Same as design_id once known.
true once the work has finished, whether it completed or failed.
Design UUID. null until the design exists.
Fractional progress 0.0-1.0 when known.
Saved product previews (placement, image_url), front first. Empty until a preview has been saved.
The requested gallery view.
Legacy raw artwork URL. Prefer product_images.
Every side's raw artwork, each with placement (for example front or back) and image_url.
Page that opens the design in the app. Link to it rather than building a URL.
Failure message when status is failed.
null until the design is complete. Then tool (design.get) and the arguments to call it with, which returns the saved design and its gallery.