>_
SudoMock
Use Case

Poster & Art Print Mockup API

Create stunning wall art mockups with realistic room scenes. Frames, canvas prints, and gallery walls via REST API.

<1s
Per mockup
$0.002
Per render
8000px
Max resolution
99.9%
Uptime

Why Automate Poster Mockups?

Art print sellers on Etsy, Society6, and Redbubble know the challenge: each design needs mockups in multiple sizes, frame colors, and room settings. Manual creation is tedious. SudoMock generates photorealistic poster mockups in under 1 second per image.

Mockup Types Supported

  • Framed prints (black, white, oak, walnut frames)
  • Canvas wraps and gallery-wrapped prints
  • Room scene mockups (living room, bedroom, office)
  • Gallery wall compositions (multiple prints)

Handling Multiple Aspect Ratios

Art prints come in various aspect ratios: 2:3, 3:4, 4:5, 1:1, and custom sizes. Use the fit parameter to control how your design fills the Smart Object area.

Multi-Size Poster Generation
1
// Generate mockups for different print sizes
2
const POSTER_SIZES = {
3
portrait_24x36: { mockup_uuid: "poster-frame-24x36", aspect: "2:3" },
4
portrait_18x24: { mockup_uuid: "poster-frame-18x24", aspect: "3:4" },
5
square_20x20: { mockup_uuid: "poster-frame-20x20", aspect: "1:1" },
6
landscape_36x24: { mockup_uuid: "poster-frame-36x24", aspect: "3:2" }
7
};
8
9
async function generatePosterVariants(artworkUrl, artworkAspect) {
10
// Find matching templates for the artwork's aspect ratio
11
const matchingTemplates = Object.entries(POSTER_SIZES)
12
.filter(([_, template]) => template.aspect === artworkAspect);
13
14
const mockups = await Promise.all(
15
matchingTemplates.map(async ([size, template]) => {
16
const response = await fetch("https://api.sudomock.com/api/v1/renders", {
17
method: "POST",
18
headers: {
19
"X-API-KEY": process.env.SUDOMOCK_API_KEY,
20
"Content-Type": "application/json"
21
},
22
body: JSON.stringify({
23
mockup_uuid: template.mockup_uuid,
24
smart_objects: [{
25
uuid: "print-area",
26
asset: {
27
url: artworkUrl,
28
fit: "fill" // Fill entire frame area
29
}
30
}],
31
export_options: {
32
image_format: "webp",
33
image_size: 3000, // High-res for zoom
34
quality: 95
35
}
36
})
37
});
38
39
return { size, mockupUrl: (await response.json()).data.print_files[0].export_path };
40
})
41
);
42
43
return mockups;
44
}

Room Scene Mockups

Room scene mockups convert better than plain product shots. They help buyers visualize the art in their own space. Create templates with Smart Objects for different wall positions.

Room Scene Request
1
{
2
"mockup_uuid": "living-room-scene-01",
3
"smart_objects": [
4
{
5
"uuid": "wall-art-main",
6
"asset": {
7
"url": "https://cdn.example.com/artwork.png",
8
"fit": "contain"
9
}
10
}
11
],
12
"export_options": {
13
"image_format": "jpeg",
14
"image_size": 2500,
15
"quality": 90
16
}
17
}

JPEG for Room Scenes

Use JPEG format for room scene mockups. The photographic background compresses better than PNG, and you don't need transparency.

Start Creating Poster Mockups

500 free API credits. Perfect for testing your art print workflow.