>_
SudoMock
Use Case

Book Cover Mockup API

Create professional book mockups for authors and publishers. Paperback, hardcover, and e-book presentations.

<1s
Per mockup
$0.002
Per render
3D
Renders
99.9%
Uptime

Book Format Templates

Book mockups sell books. Whether you're an indie author on Amazon KDP, a publisher creating marketing materials, or a designer presenting cover concepts, realistic 3D book mockups make a difference.

Paperback Books

Standard paperback with front cover, spine, and back cover Smart Objects.

Hardcover Books

Premium hardcover with dust jacket and cloth binding options.

Open Book Spreads

Interior page mockups for showcasing content layout.

E-Book/Tablet

Digital book covers on Kindle, iPad, and tablet screens.

Book Cover Generation

Book Cover Mockup
1
// Generate book mockups for a new release
2
const BOOK_TEMPLATES = {
3
paperback_3d: "book-paperback-3d-uuid",
4
paperback_flat: "book-paperback-flat-uuid",
5
hardcover_angled: "book-hardcover-angled-uuid",
6
kindle_screen: "book-kindle-screen-uuid",
7
stacked_books: "book-stack-uuid"
8
};
9
10
async function generateBookMockups(coverUrl, spineUrl = null, backUrl = null) {
11
// Generate 3D paperback with front and spine
12
const response = await fetch("https://api.sudomock.com/api/v1/renders", {
13
method: "POST",
14
headers: {
15
"X-API-KEY": process.env.SUDOMOCK_API_KEY,
16
"Content-Type": "application/json"
17
},
18
body: JSON.stringify({
19
mockup_uuid: BOOK_TEMPLATES.paperback_3d,
20
smart_objects: [
21
{
22
uuid: "front-cover",
23
asset: { url: coverUrl, fit: "fill" }
24
},
25
...(spineUrl ? [{
26
uuid: "spine",
27
asset: { url: spineUrl, fit: "fill" }
28
}] : []),
29
...(backUrl ? [{
30
uuid: "back-cover",
31
asset: { url: backUrl, fit: "fill" }
32
}] : [])
33
],
34
export_options: {
35
image_format: "png",
36
image_size: 2500,
37
quality: 100
38
}
39
})
40
});
41
42
return (await response.json()).data.print_files[0].export_path;
43
}
44
45
// Generate mockup set for book launch
46
const coverUrl = "https://cdn.example.com/book-cover.png";
47
const mockup = await generateBookMockups(coverUrl);

Amazon KDP Requirements

For Kindle Direct Publishing, generate mockups at 1600x2560 px (1:1.6 ratio) for the best display on Amazon product pages.

Create Book Cover Mockups

500 free API credits. Professional book presentations in milliseconds.