Show an image the way a Meta placement shows it
mockup_placementTakes the URL of any image (an ad, a banner, a product photo, a render URL from the served feed) and returns a mockup of it in a Meta placement: "fb-feed" (the post around it: header, caption, link bar with the CTA, action row; Feed shows 1.91:1 up to 4:5 and crops anything taller to 4:5), or a 9:16 placement ("ig-reels", "ig-stories", "fb-reels", "fb-stories") with the app's UI on top. A 9:16 image fills the screen; any other ratio sits in the middle with bars, as Meta shows a square catalog image without a 9:16 one. zones:true also tints what the UI covers and outlines the safe area (Meta Ads Guide: top 14 %, bottom 35 %, 6 % per side). For a template that is not live yet, use preview_render with overlay. JPEG, PNG, GIF or WebP up to 15 MB; 30 mockups an hour per account (300 on a paid plan).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"imageUrl": "<imageUrl>",
"placement": "<placement>"
},
"name": "mockup_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | No | 9:16 placements: tint what the UI covers and outline the safe area. | |
| imageUrl | Yes | Public http(s) URL of a JPEG, PNG, WebP or GIF image (up to 15 MB). | |
| placement | Yes |