---
title: "Export Print Files"
method: POST
path: "/renders/print-files"
---

# Export Print Files

`POST /renders/print-files`

Returns print files for each smart object in selected mockup template.

## Headers

- `Accept` 'application/json', required
- `x-api-key` string, required — API key required for authentication.

## Request body

- object
  - `mockup_uuid` string, required — The UUID of the mockup template.
  - `export_label` string — A label for the exported image.
  - `export_options` object
    - `image_format` 'jpg' | 'png' | 'webp' — The format of the exported image.
    - `image_size` integer — The size in pixels of the exported image.
    - `mode` 'view' | 'download' — Determines whether the exported image should be viewed in the browser or downloaded.
    - `image_dpi` integer — Dots per inch for the exported print file.
  - `smart_objects` object[], required — List of smart objects inside a chosen mockup.
    - `uuid` string — The UUID of the smart object.
    - `asset` object
      - `url` string — URL to the asset image.
      - `fit` 'stretch' | 'contain' | 'cover' — How the asset fits within the designated area.
      - `size` object
        - `width` integer — The width of the asset in pixels.
        - `height` integer — The height of the asset pixels.
      - `position` object
        - `top` integer — The top position of the asset.
        - `left` integer — The left position of the asset.
      - `rotate` number — The rotation angle of the provided asset.
    - `pattern` object — Configuration for using the asset as a repeating pattern.
      - `enabled` boolean — Whether the asset is used as a repeating pattern.
      - `scale_percent` number — Scale of the pattern relative to the original asset size.
    - `color` string — Color overlay for the smart object in hex code.
    - `blending_mode` 'NORMAL' | 'DISSOLVE' | 'DARKEN' | 'MULTIPLY' | 'COLOR_BURN' | 'LINEAR_BURN' | 'DARKER_COLOR' | 'LIGHTEN' | 'SCREEN' | 'COLOR_DODGE' | 'LINEAR_DODGE' | 'LIGHTER_COLOR' | 'OVERLAY' | 'SOFT_LIGHT' | 'HARD_LIGHT' | 'VIVID_LIGHT' | 'LINEAR_LIGHT' | 'PIN_LIGHT' | 'HARD_MIX' | 'DIFFERENCE' | 'EXCLUSION' | 'SUBTRACT' | 'DIVIDE' | 'HUE' | 'SATURATION' | 'COLOR' | 'LUMINOSITY' — Blending mode applied to the smart object.
    - `adjustment_layers` object — Optional adjustment layers applied to the smart object.
      - `brightness` integer — Brightness adjustment (from -150 to 150).
      - `contrast` integer — Contrast adjustment (from -100 to 100).
      - `opacity` integer — Opacity adjustment (from 0 to 100).
      - `saturation` integer — Saturation adjustment (from -100 to 100).
      - `vibrance` integer — Vibrance adjustment (from -100 to 100).
      - `blur` integer — Blur adjustment (from 0 to 100).
    - `print_area_preset_uuid` string — UUID of the print area preset to automatically position provided design asset.
  - `text_layers` object[] — List of text layers for the chosen mockup.
    - `uuid` string — The UUID of the text layer.
    - `text` string — The text content for the text layer.
    - `font_family` string — The font family of the text.
    - `font_size` number — The font size for the text in pixels.
    - `font_color` string — The color of the text in hex code.

## Response `200`

Print files successfully exported.

- object
  - `data` object
    - `export_label` string, nullable
    - `print_files` object[]
      - `export_path` string — URL to download the print file.
      - `smart_object_uuid` string — UUID of the smart object used in rendering.
      - `smart_object_name` string — Name of the smart object.
  - `success` boolean — Indicates if the print file export was successful.
  - `message` string — A message about the export process.

## Other responses

- `400` — Bad request due to invalid input parameters.
- `401` — Unauthorized request, invalid or missing API key.

---

[API](https://skmtc.dev/dynamicmockups/apis/dynamic-mockups-mockanything-ai-api.md) · [All operations](https://skmtc.dev/dynamicmockups/apis/dynamic-mockups-mockanything-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dynamicmockups/dynamic-mockups-mockanything-ai-api/revisions/5582facc8ca8/schema)
