PSD mockups
Render a PSD mockup
Renders a mockup by compositing layers with user-provided images.
post/api/v1/renders
Request
- Base URL: https://api.sudomock.com
- URL: https://api.sudomock.com/api/v1/renders
- Auth: API key in header x-api-key
Request body
Example request
{
"export_options": {
"image_format": "webp",
"image_size": 1920,
"quality": 95
},
"mockup_uuid": "123e4567-e89b-12d3-a456-426614174000",
"smart_objects": [
{
"asset": {
"fit": "fill",
"position": {
"left": 100,
"top": 100
},
"rotate": 0,
"size": {
"height": 600,
"width": 800
},
"url": "https://example.com/user-design.png"
},
"color": {
"blending_mode": "multiply",
"hex": "#FFFFFF"
},
"uuid": "223e4567-e89b-12d3-a456-426614174001"
}
]
}Response
Successful Response
Example response
{
"data": {
"print_files": [
{
"export_path": "https://cdn.sudomock.com/mockup-assets/renders/c315f78f-d2c7-4541-b240-a9372842de94/render_8f2c1d4e.webp",
"smart_object_uuid": "223e4567-e89b-12d3-a456-426614174001"
}
]
},
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.