Export for Print (Asset)
GET/api/v1/assets/:asset_id/addons/print_export
Produce a print-ready CMYK file from an existing asset by asset ID. The original file for the given asset is downloaded and converted locally (RGB→CMYK at the requested DPI, default 300) using the selected ICC profile.
Behaviour and response type are controlled by the mode and disposition query parameters; the output format is controlled by format.
Mode
| Value | Meaning |
|---|---|
get_image | Return the print file only. No save. disposition is ignored. |
save_image | Save the result only. Response is JSON. Requires disposition. |
get_image_and_save | Return the print file and also save it. Requires disposition. |
Disposition
| Value | Meaning |
|---|---|
add_conversion | Save the result as a named conversion on the asset identified by {asset_id}. conversion_name controls the conversion key (default print_ready). |
add_new_asset | Save the result as a new asset. Optional: metadata=inherit to copy source asset custom data and set lineage. |
Print parameters
| Parameter | Meaning |
|---|---|
format | Output format: tiff (CMYK, LZW, lossless — default), jpeg (CMYK), pdf (print PDF), pdfx (PDF/X-1a). |
cmyk_profile | CMYK ICC output profile, e.g. USWebCoatedSWOP (default), CoatedFOGRA39, JapanColor2001Coated. |
rendering_intent | perceptual, relative_colorimetric (default), saturation, absolute_colorimetric. |
dpi | Print resolution stamped into the file, 72–1200 (default 300). |
target_size | Optional target print size — a preset (A6,A5,A4,A3,A2,letter,legal,tabloid) or a custom spec { "unit": "cm"|"in"|"px", "width": W, "height": H }. Omit for native resolution. |
allow_upscale | When true, allows an AI upscale (charged in AI credits) if the source is smaller than target_size requires at the chosen DPI. When false (default), an under-sized source returns 400. |
Validation Rules
- If mode is
save_imageorget_image_and_save, disposition is required. - If disposition is
add_conversion, conversion_name must match^[a-zA-Z0-9_-]{1,30}$. - metadata is only allowed when disposition is
add_new_asset. Allowed value:inherit.
Response
- mode =
get_image(default) orget_image_and_save: the print file in the body.Content-Typeisimage/tiff,image/jpeg, orapplication/pdfdepending onformat. - mode =
save_imageon a stored asset: heavy CMYK output is produced asynchronously — the API responds202with{ "job_id": "<id>", "status": "QUEUED" }. PollGET /api/v1/jobs/{job_id}for completion. On completion the job result mirrors the save response below.
Billing: each successful export counts against your plan's Print Export quota. Using
allow_upscaleadditionally consumes AI credits when an upscale is performed.
Request
Responses
- 200
- 202
- 400
- 401
- 402
- 403
- 500
Successful operation. For get_image/get_image_and_save, the print file bytes with the format's Content-Type.
Accepted — the export is being produced asynchronously (mode=save_image on a stored asset). Poll GET /api/v1/jobs/{job_id}.
Bad request — invalid mode/disposition/conversion_name/format/cmyk_profile/rendering_intent/dpi; missing required parameters; source too small for the requested target_size with allow_upscale=false; asset not ready.
Unauthorized - Invalid or missing authentication
Payment required — Print Export quota exhausted (when quota enforcement is enabled for the plan), or insufficient AI credits for a requested upscale.
Forbidden - Print Export not enabled for this user
Internal server error - Processing or save failure