Poster & Art Print Mockup API
Create stunning wall art mockups with realistic room scenes. Frames, canvas prints, and gallery walls via REST API.
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.
1// Generate mockups for different print sizes2const 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};89async function generatePosterVariants(artworkUrl, artworkAspect) {10 // Find matching templates for the artwork's aspect ratio11 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 area29 }30 }],31 export_options: {32 image_format: "webp",33 image_size: 3000, // High-res for zoom34 quality: 9535 }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.
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": 9016 }17}JPEG for Room Scenes
Start Creating Poster Mockups
500 free API credits. Perfect for testing your art print workflow.