>_
SudoMock
Use Case

Home Decor Mockup API

Create home decor product mockups at scale. Pillows, blankets, curtains, and wall art in realistic room scenes.

<1s
Per mockup
$0.002
Per render
Room
Scenes
99.9%
Uptime

Home Decor Products

Home decor is a growing POD category with premium pricing. Buyers want to see products in realistic room settings before purchasing. SudoMock generates photorealistic mockups that help convert browsers into buyers.

Throw Pillows

Square, lumbar, and round pillows on sofas and beds.

Blankets & Throws

Fleece, sherpa, and woven blanket mockups.

Curtains & Drapes

Window treatment mockups in various room settings.

Duvet Covers

Bedroom mockups with full bedding sets.

Rugs & Mats

Floor coverings in living room and entryway scenes.

Tapestries

Wall hanging mockups with boho and modern aesthetics.

Home Decor Generation

Home Decor Mockup Set
1// Generate home decor mockups for a design
2const HOME_DECOR_TEMPLATES = {
3 pillow_sofa: "decor-pillow-sofa-uuid",
4 pillow_bed: "decor-pillow-bed-uuid",
5 blanket_draped: "decor-blanket-draped-uuid",
6 blanket_folded: "decor-blanket-folded-uuid",
7 tapestry_wall: "decor-tapestry-uuid"
8};
9
10async function generateHomeDecorMockups(designUrl) {
11 const mockups = await Promise.all(
12 Object.entries(HOME_DECOR_TEMPLATES).map(async ([product, templateId]) => {
13 const response = await fetch("https://api.sudomock.com/api/v1/renders", {
14 method: "POST",
15 headers: {
16 "X-API-KEY": process.env.SUDOMOCK_API_KEY,
17 "Content-Type": "application/json"
18 },
19 body: JSON.stringify({
20 mockup_uuid: templateId,
21 smart_objects: [{
22 uuid: "design-area",
23 asset: { url: designUrl, fit: "cover" }
24 }],
25 export_options: {
26 image_format: "jpeg",
27 image_size: 2500,
28 quality: 90
29 }
30 })
31 });
32
33 const data = await response.json();
34 return { product, url: data.data.print_files[0].export_path };
35 })
36 );
37
38 return mockups;
39}
40
41// Generate all home decor mockups for one design
42const mockups = await generateHomeDecorMockups("https://cdn.example.com/pattern.png");

Pattern-Based Designs

Home decor products often use repeating patterns. Ensure your design files are seamless tiles, and use the "fill" fit option to tile them correctly in mockups.

Start Creating Home Decor Mockups

500 free API credits. Room scene mockups that convert.