A mockup API for print-on-demand and packaging

Send POST /api/v1/renders with a mockup id and your artwork (a PNG, JPEG or WebP link); Drint renders it on the 3D model with its studio light and returns a picture up to 2048 px, PNG or WebP, on a transparent or any-colour background. Find models with GET /api/v1/mockups?q=. Plans include 2,000, 10,000 or 40,000 renders a month — Starter $49, Business $199 or Scale $599 a month (a year is billed as 10 months); Business can be tried free for 14 days on your own domain, no card (300 renders with a watermark grid).

Steps

  1. Find the model. GET https://drint.io/api/v1/mockups?q=mailer+box returns models with their id, size and picture.
  2. Render your design. POST /api/v1/renders with mockup_id, artwork_url, size (512–2048), format and background. mode: label places it on the front (a garment: the whole print area), pattern tiles it.
  3. Get the picture. With "wait": true the answer waits until it is drawn (up to 60 s); otherwise poll GET /api/v1/renders/:id. The picture link needs no key and lasts one hour.

What to know

See the editor livePlans and 14-day free trial

Questions

Can I choose the camera angle?

Not yet: each model renders from Drint’s studio camera for it. You choose the size, format, background and how the artwork is placed.

What happens when my month’s renders run out?

Requests stop until you buy a pack (1k, 5k or 20k renders) or the month renews — there is no surprise overage.

Related

add a 3D box designer to a Shopify print storeadd a 3D box designer to a WooCommerce print shopembed a 3D packaging editor in your own websiteA dieline API: FEFCO and ECMA dielines at any sizeDrint API reference