Type Alias MockupTaskCreation

MockupTaskCreation: {
    format?: format;
    mockup_width_px?: number;
    products: (CatalogMockupProduct | TemplateMockupProduct)[];
}

Type declaration

  • Optionalformat?: format

    Generated file format. PNG will have a transparent background, JPG will have a smaller file size.

  • Optionalmockup_width_px?: number

    Width of the mockup image in pixels. If not specified, the default value will be used. The default value is 1000px. If the value is specified as 2000 that means that resulting mockups will be 2000x2000px.

  • products: (CatalogMockupProduct | TemplateMockupProduct)[]