Find mockups and render them with your own screenshots, logos and colors. Files in the cloud.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Brings the person's own images — a logo, screenshots, artwork — onto this server and returns an image_ref for each, to use as contents[].image_ref. Takes files the host hands over (ChatGPT fills files with the images attached to the chat) and public links (urls). With neither, it shows the person a drop zone in the chat (hosts that show apps) and waits up to about three minutes for what they drop. from_disk answers at once with one-time links that each take one file by POST, for an agent that can run commands on the person's computer (curl --data-binary @file). list_only returns what was added, without asking for more. Every answer lists the images kept for this account, newest first; uploads are kept for a day.
Public links to images.
Image files the host hands over.
What the images are for, shown to the person, e.g. "Your logo for the coffee cup".
The files are on the person's computer: answer with upload links instead of a drop zone.
Only list the kept images; ask for nothing.
How many images to take. Default 1.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://mcp.ls.graphics/mcp
Brings the person's own images — a logo, screenshots, artwork — onto this server and returns an image_ref for each, to use as contents[].image_ref. Takes files the host hands over (ChatGPT fills files with the images attached to the chat) and public links (urls). With neither, it shows the person a drop zone in the chat (hosts that show apps) and waits up to about three minutes for what they drop. from_disk answers at once with one-time links that each take one file by POST, for an agent that can run commands on the person's computer (curl --data-binary @file). list_only returns what was added, without asking for more. Every answer lists the images kept for this account, newest first; uploads are kept for a day.
| Argument | Type | Description |
|---|---|---|
| urls | array | Public links to images. |
| files | array | Image files the host hands over. |
| purpose | string | What the images are for, shown to the person, e.g. "Your logo for the coffee cup". |
| from_disk | boolean | The files are on the person's computer: answer with upload links instead of a drop zone. |
| list_only | boolean | Only list the kept images; ask for nothing. |
| max_files | integer | How many images to take. Default 1. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 10,
"description": "Public links to images."
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string",
"description": "The host's id of the file."
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Where the file can be downloaded."
}
}
},
"maxItems": 10,
"description": "Image files the host hands over."
},
"purpose": {
"type": "string",
"maxLength": 200,
"description": "What the images are for, shown to the person, e.g. \"Your logo for the coffee cup\"."
},
"from_disk": {
"type": "boolean",
"description": "The files are on the person's computer: answer with upload links instead of a drop zone."
},
"list_only": {
"type": "boolean",
"description": "Only list the kept images; ask for nothing."
},
"max_files": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "How many images to take. Default 1."
}
},
"additionalProperties": {}
}Takes a screenshot of a public web page — the person's site, landing page or web app — at a device's size (desktop 1440, laptop 1280, tablet 834, phone 402 CSS px wide: an iPhone's window between its status bar and Safari bar), light or dark, the whole page or its first screen, and keeps it as an image_ref to put on a mockup's screen. The whole page is cut at about 16,000 px high. Pages behind a sign-in show what a visitor sees. Returns the image_ref, its pixel size and a preview of the first screen. To show the page on a device screen, render_mockup with contents [{placeholder, url}] takes the page itself, at the size the screen's browser leaves, with the status bar and the address; an image_ref from here also gets the browser by itself. A still picture only: to record scrolling or animation use capture_video — never fake a video from a series of screenshots. One capture of the day's; the answer says what is left (cost, left_today, limit_today).
| Argument | Type | Description |
|---|---|---|
| url* | string | The page, http or https. |
| device | string | Whose screen the page is laid out for. |
| locale | string | The language the browser asks the site for, e.g. "en-US", "ru-RU": the language of the person's request unless they name another. Default en-US. |
| delay_ms | integer | Extra wait after the page settled, for animations or late content. |
| full_page | boolean | The whole page down to its end, or only its first screen. |
| color_scheme | string |
Records a public web page as a video — it scrolls down the page and its animations play, frame by frame at the device's size (desktop 1440, laptop 1280, tablet 834, phone 402 CSS px wide: an iPhone's window between its status bar and Safari bar) — and keeps it as a video_ref for render_mockup with format mp4 or webm, which plays it on a mockup's screen. To animate a device with it, render_scene with device and contents [{video_ref}] (a Studio preset's own animation); render_mockup mp4 is for a still screen where only the page scrolls. Record for the device the scene has: phone for an iPhone or other phone, tablet for an iPad, laptop for a MacBook, desktop for an iMac or monitor. 1–60 s, 30 or 60 fps. A short clip takes a minute or two, a long one up to ~15 minutes (60 s at 60 fps): it then answers with a render_id (get_render). Needs the full MCP tier. The recording itself is not the deliverable: put it on a screen. The answer says what it cost (one capture, the seconds recorded) and how many captures are left today.
| Argument | Type | Description |
|---|---|---|
| fps | any | Frames a second; 60 for fast motion. |
| url* | string | The page, http or https. |
| device | string | Whose screen the page is laid out for: the one of the mockup it goes on. |
| locale | string | The language the browser asks the site for, e.g. "en-US", "ru-RU": the language of the person's request unless they name another. Default en-US. |
| scroll | any | "auto": down the page at a calm pace (a few screens); "end": to the page's end; "none": the first screen with its animations; a number: down to that many CSS px. |
The plan behind the API key, what it allows (size, watermark, formats) and today's render usage. Today only: there is no history of past days or past renders.
No arguments.
{
"type": "object",
"properties": {}
}The brands kept in the person's ls.graphics account (save_brand). Without a name: each brand's name, colours and when it was saved. With a name: its colours, fonts, notes and logos — each logo as an image_ref ready for contents (an SVG logo as image_svg markup).
| Argument | Type | Description |
|---|---|---|
| name | string | The brand to read; leave out to list them. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "The brand to read; leave out to list them."
}
},
"additionalProperties": {}
}The designs saved in the person's ls.graphics account (save_design). Without a name: each one's name, what it renders and when it was saved. With a name: its tool and arguments, ready to pass to that render tool — image_refs are fresh (uploads expire; these are made now), an SVG as image_svg. To redo it with something new, change what you need in the arguments (e.g. a new logo's image_ref in place of the old one) and render; images lists what the design holds.
| Argument | Type | Description |
|---|---|---|
| name | string | The design to read; leave out to list them. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "The design to read; leave out to list them."
}
},
"additionalProperties": {}
}Describes a mockup: what render_mockup can change, and the ids and names it refers to. Placeholders with their proportions and the ideal image size (a mismatched image is cropped); colour layers, largest first, with where they are (show_color_layers adds a picture of which part each paints); shadows/reflections; the background (photo or colour); and the variants — print mockups often come as EU and US paper sizes with different placeholder proportions, and variant_id describes that one. Takes a few seconds; not a render.
| Argument | Type | Description |
|---|---|---|
| asset | string | As in render_mockup. |
| mockup_id | string | As in render_mockup. |
| variant_id | string | As in render_mockup. |
| show_color_layers | boolean | Also return a picture with every colour layer and placeholder painted a flat marker colour and numbered where it shows, and how much of the picture each shows — a part that shows nowhere is covered and recolouring it changes nothing (a layer's own area can be large and still hidden). Takes a few seconds more; not counted as a render. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asset": {
"type": "string",
"description": "As in render_mockup."
},
"mockup_id": {
"type": "string",
"description": "As in render_mockup."
},
"variant_id": {
"type": "string",
"description": "As in render_mockup."
},
"show_color_layers": {
"type": "boolean",
"description": "Also return a picture with every colour layer and placeholder painted a flat marker colour and numbered where it shows, and how much of the picture each shows — a part that shows nowhere is covered and recolouring it changes nothing (a layer's own area can be large and still hidden). Takes a few seconds more; not counted as a render."
}
},
"additionalProperties": {}
}The video file the person's browser rendered from a render_scene preview (their Download video button in the card), by the preview's handoff_id: its link, size and when it stops working. Says so when none has been rendered yet. Renders nothing and is not counted; a video made on the server is get_render's.
| Argument | Type | Description |
|---|---|---|
| handoff_id* | string | The preview's handoff_id, from the render_scene result. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"handoff_id"
],
"properties": {
"handoff_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The preview's handoff_id, from the render_scene result."
}
},
"additionalProperties": {}
}The poses the designers tagged on a Studio preset, which render_scene motion film is cut from: each pose by number (1 first) with its tag (start_end: a film opens and closes on these; accent: a close-up; general: a wide pose), its plan (wide or close), its angle (yaw, pitch in degrees) and the poses it may glide to (same plan) or cut to (the plan changes and the angle turns 25° or more). Takes scene_id and root_id of a Studio preset, or a device word. A scene with no tagged poses says so. Reads the scene only: nothing rendered or counted.
| Argument | Type | Description |
|---|---|---|
| device | string | Instead of scene_id: a product word in English ("iphone 17 pro", "macbook"); the preset render_scene would pick for it. |
| root_id | string | The preset's root_id, as search gave it. |
| scene_id | string | A Studio preset's scene_id, as search gave it. Or pass device. |
| scene_type | string | studio: poses are a Studio preset's. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"device": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "Instead of scene_id: a product word in English (\"iphone 17 pro\", \"macbook\"); the preset render_scene would pick for it."
},
"root_id": {
"type": "string",
"maxLength": 64,
"description": "The preset's root_id, as search gave it."
},
"scene_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "A Studio preset's scene_id, as search gave it. Or pass device."
},
"scene_type": {
"enum": [
"studio"
],
"type": "string",
"description": "studio: poses are a Studio preset's."
}
},
"additionalProperties": {}
}Opens the mockup in the ls.graphics online editor on ls.graphics, where the person adjusts by hand what render_mockup cannot: drag, scale or rotate the content, crop it, fine-tune by eye. Given the same contents, layer_colors, layers, adjustments and background as a render, the editor opens with that design in place (the link lasts a week); with none, it opens the mockup as published. Where the host shows apps, the editor opens right in the chat: the person drops their own images into the placeholders, adjusts them and saves the result to the chat. Also returns the ls.graphics link. Saving a file from the editor of a paid mockup needs the full MCP tier (free mockups: any account); on any plan the person's own images go on the mockup and move there.
| Argument | Type | Description |
|---|---|---|
| look | string | As in render_mockup. |
| asset | string | As in render_mockup. |
| layers | array | As in render_mockup. |
| effects | object | As in render_mockup. |
| contents | array | What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image. Each item takes the fields of render_mockup's contents. |
| mockup_id | string | As in render_mockup. |
The card of a render_scene result calls this from its Open in editor button; an agent rarely needs it. Opens the Live or Studio scene in the ls.graphics online editor with the person's pictures or clips on its screens already in place, as render_scene was given them; the files are kept for a week under a private link. Takes render_scene's scene_id or device, scene_type, root_id, contents and motion, no format or size. Needs the full MCP tier. Returns editor_url (the ls.graphics page) and embed_url (the editor alone, framed by the card).
| Argument | Type | Description |
|---|---|---|
| device | string | Instead of scene_id: a product word in English ("iphone 17 pro", "macbook", "ipad", "imac"). The server picks a Studio preset of that device and plays the preset's own animation. The answer names the scene it picked. |
| motion | object | Default: the scene's own motion — but a device word whose preset has tagged poses plays a film (smooth, 10 s). The camera is the scene's own or the tagged poses'; never a camera move of your own. |
| root_id | string | A Studio preset's root_id, as search gave it; absent for a Studio model and for Live. |
| contents | array | A picture or a clip for each screen (one of image_ref, image_url, video_ref or video_url; or url alone, a public page that is captured, first screen, and shown in the device's browser, at most 3 pages per call); a screen left out keeps the scene's own. A screenshot of other proportions than the screen gets the device's UI around it (device_ui), never stretched under the Dynamic Island. |
| scene_id | string | The scene_id search gave a Live or Studio result. Leave it out and pass device instead to animate a device. |
Renders 2–6 colour schemes of one mockup (product colours, brand colourways, light and dark) as small previews side by side, labelled A, B, C…. Loads the scene once; the whole sheet counts as one render, and the answer says what is left of today's limit (cost, left_today, limit_today). Returns the previews with the render_mockup arguments for each scheme.
| Argument | Type | Description |
|---|---|---|
| look | string | As in render_mockup. |
| asset | string | As in render_mockup. |
| fresh | boolean | As in render_mockup. |
| effects | object | As in render_mockup. |
| contents | array | What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image. Each item takes the fields of render_mockup's contents. |
| max_edge | integer | Longest side of each preview. Default 800. |
| colorways* | array | 2–6 colour schemes to compare side by side. For a brand, 3–4 from its palette, each named in plain words: A brand (main part primary, small parts accent), B accent (main part neutral, brand colour on small parts), C monochrome (everything and the background in the primary), D inverted (dark main part, light details). |
Rank ls.graphics mockups against a design profile — the objects wanted, brand colours, style/mood, what it is for or the client's industry, composition. kind limits the results to those objects, and several kinds take turns in the list; without it any object can surface. Brand colours count as a match when the scene has them or a render can apply them (colour layers, background). English words only. Each result may carry suggested_variant_id, the colour variant closest to the brand colours. Each result says its orientation (portrait, landscape, square) and aspect — a vertical format wants a portrait one. Answers that no descriptions are available when the catalog has none yet. scene_type live, studio or any ranks the animated Live and Studio scenes the same way (kind then names the object; results need the full MCP tier, rendered as video, carry scene_id and page_url and no mockup_id; with any, the best scenes follow the Static results).
| Argument | Type | Description |
|---|---|---|
| kind | array | Only these objects: phone, tablet, laptop, desktop, watch, tv, device-set, business-card, stationery, envelope, book, magazine, brochure, flyer, poster, billboard, signage, frame, box, bag, cup, bottle, can, jar, label, food, t-shirt, hoodie, cap, tote, apparel, textile, sticker, badge. E.g. ["cup", "bag"] for coffee-shop packaging. |
| limit | integer | How many to return. Default 5. |
| style | array | Mood/style keywords from: minimal, clean, bold, premium, elegant, dark, light, playful, warm, cold, tech, editorial, retro, vintage, futuristic, natural. |
| palette | array | Brand colours as hex, e.g. #FF5A36. |
Used by the ls.graphics card when a scene preview is drawn again after its access ran out: a fresh embed grant and upload token for the same preview. Nothing is stored or counted.
| Argument | Type | Description |
|---|---|---|
| scene_id* | string | |
| handoff_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"handoff_id",
"scene_id"
],
"properties": {
"scene_id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"handoff_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
},
"additionalProperties": {}
}Renders one design — an app screen, a website, a logo, artwork — on 2–12 different mockups in one call (or, with csv or rows, a table of up to 50 outputs, one row each, in one ZIP): a screen on several devices, a logo on a cup, a tote, a t-shirt and a box. Each mockup renders as render_mockup would (the plan's size and watermark, logo placement, device UI). The design goes into each mockup's main screen or surface unless a mockup names its placeholder or brings its own contents. Returns a preview and a download link per mockup, one ZIP of all the files, and the reason for any mockup that did not render. Each file counts as one render; the answer says what the call cost and what is left of today's limit (cost, left_today, limit_today). A batch the day's remaining renders cannot cover is refused before anything renders. dry_run: true checks the batch first — every mockup or row, image and placeholder, the planned files, the cost and whether it fits today's limit — and renders and counts nothing; use it before a large batch or a table. A table row that fails is reported by its row number and does not fail the rest.
| Argument | Type | Description |
|---|---|---|
| csv | string | Instead of mockups: a table, one output per row, up to 50 rows rendered in turns into one ZIP. CSV text with a header row (commas, semicolons or tabs; quotes allowed). Columns: mockup_id (required, the 24-character id from search_mockups — never a search word), variant_id, image_ref or image_url (this row's own picture, one of them, optional: it replaces design for the row; no video), color (#hex: the product's colour layer), layer_colors (JSON [{"layer":"Body","color":"#FF5A36"}]), background (#hex, "transparent" with format png, or "original"), placement (logo, print or window: how the call's design goes onto that row's mockup — a garment needs it), file_name. A row without its own picture takes the call's design; a picture that cannot be loaded fails that row alone. Any other column is refused by name, every bad row before anything is reserved. |
| look | string | As in render_mockup. |
Puts images into a mockup (contents), recolours it (layer_colors), sets shadows, layers and background, and returns the file: a download link (kept for a week) and a preview. One render of the daily limit; several can run in parallel. composition gives any shape (a banner, OG, store sizes) as a crop of the scene (zoomed to the product where it fits, cut and said so where it does not; nothing is painted past the scene); sizes makes up to 8 sizes of one design (presets such as og, product-hunt, app-store-6.7, instagram-story, or width×height) in ONE call and one render, as a ZIP. A screenshot of other proportions gets the device's own UI instead of a crop (device_ui); a logo keeps its proportions on a plate (placement). The result lists empty placeholders, scene_state (each placeholder's corners on the picture in px, what is in it, colours, visibility) and checks (cut, cropped, stretched or soft content, low-contrast logo, marker showing); marks adds a picture with the placeholders outlined and numbered. format mp4 or webm plays clips (video_ref, video_url) on the screens of a Static mockup: the full MCP tier only, up to 60 s (video.seconds; left out, the video follows the clip's own length up to 60 s). A video over 15 s at 60 fps (30 s at 30 fps) runs several minutes and one at a time per account. For your own motion or compositing work: background "transparent" gives a PNG without the backdrop, scene_state.placeholders[].quad gives each screen's corners in the output's px (approximate on a 3D surface), and layers with visible false hides shadow and reflection layers. That video is a still device with only the page scrolling: to animate a device ("animate our site in an iPhone") use render_scene with device — a Studio preset playing its own animation — unless the person asked for exactly this.
| Argument | Type | Description |
|---|---|---|
| look | string | A finished colour grade for the whole image: "warm" (golden), "cool" (blue), "film" (faded, soft), "punchy" (contrast and colour), "muted" (calm, desaturated), "mono" (black and white). Applied before adjustments, which still tune on top. |
| trim | boolean |
Not for a still picture of a device: that is render_mockup on a Static mockup; png or jpeg here only when the person asks for a frame of this Live or Studio scene. The tool for animating a device: pass device (an English product word: "iphone 17 pro", "macbook", "ipad", "imac") instead of scene_id and the server picks a Studio preset of that device and plays a film of its tagged poses, or the preset's own animation — no search needed; the answer names the scene it picked. A device with no Studio preset is refused (nothing counted) with the Studio devices that exist; a Static video (render_mockup mp4) is then the fallback. Also renders a Live (Origin) or Studio scene from search_mockups or recommend_mockups (scene_type live or studio) with the person's images or clips on its screens: as an MP4 or WebM, or as one still frame (format png or jpeg) at time_s seconds into the clip (default: a Studio scene's opening moment, 0.2 s, a film's Start pose; a Live scene's middle) with a preview to look at. The camera and motion are the scene's own — an Origin scene plays its animation, a Studio preset its shots, a Studio model its ready angle — or, for a Studio preset with tagged poses, motion type film: a film cut from those poses by fixed rules, by recipe (duration, mood, accents) or by beats you write from list_poses; a device word plays the default film when its preset has tagged poses. No camera move of your own. Up to 2560 px on a side, 30 or 60 fps; extend runs a video to the end of a screen video (up to 60 s); motion {type: "preset", duration_s} sets the length of a Studio preset's own motion (1–60 s: it loops if the scene loops, else holds its last frame). the full MCP tier only; a video counts as one of the day's videos, a still as one of the day's renders. A device animation (device, a video, render not true) opens as a live preview the person plays in the chat card instead of rendering: the answer has kind "preview", a handoff_id and the scene's page_url, counts as no video and no render (100 previews a day), and the card offers Download video (rendered in the person's browser; get_scene_video returns the link) and Open on ls.graphics; on a phone the card renders on the server itself. render true renders the video file on the server as below, for a person who asked for a video file or approved the preview. Stills and a scene_id's video render as below. Width and height set the shape: a Studio scene is re-framed by its own 3D camera (a portrait frame opens the field of view so the device stays whole; a landscape one keeps the device's height), never cropped through the product and never painted around. Renders on a shared server and waits in its queue (it is not refused as busy): it may answer with a render_id and the queue state (get_render, or the card shows the video when ready); only a queue that stays full for the whole wait ends with N renders ahead and when to ask again. The answer says what the call cost (a still is one render, a video one video and its seconds) and what is left of today's renders.
Renders 2–12 files of one mockup with one look — the same colours, background, adjustments, format and size — and different contents in each: App Store screens, slides, before/after, one design per language or per client. Loads the scene once, so a series takes about as long as two or three single renders. Returns a download link and a small preview for each file, in order. Each file counts as one render against the daily limit; the answer says what the call cost and what is left of today's limit (cost, left_today, limit_today). A series the day's remaining renders cannot cover is refused before anything renders. dry_run: true checks the series first — every item and placeholder, the planned files, the cost and whether it fits today's limit — and renders and counts nothing.
| Argument | Type | Description |
|---|---|---|
| look | string | As in render_mockup. |
| trim | boolean | As in render_mockup. |
| asset | string | As in render_mockup. |
| fresh | boolean | As in render_mockup. |
| items* | array | 2–12 files, in order: each its own contents, everything else shared. |
| format | string | As in render_mockup: default jpeg (png when background is "transparent"). A video is render_mockup with format mp4. |
| layers | array | As in render_mockup. |
Keeps a brand in the person's ls.graphics account — its colours (with roles), fonts, logos and a few words on its style — under a name, so it can be read back in a later chat with get_brand. Saving under a name that is kept updates it: fields left out stay as they were, logos are added (remove_logos takes some out). delete removes the brand. Up to 30 brands, 12 colours, 6 fonts and 5 logos each.
| Argument | Type | Description |
|---|---|---|
| name* | string | The client's or the product's name. |
| fonts | array | Replaces the kept fonts. |
| logos | array | Logos to add, each one of image_ref, image_url, image_svg or image_base64. |
| notes | string | Style, mood, tone, what to avoid. Replaces the kept notes. |
| colors | array | Replaces the kept colours. |
| delete | boolean | Remove the whole brand. |
| remove_logos | array | Ids of kept logos to remove. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "The client's or the product's name."
},
"fonts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"role": {
"type": "string",
"maxLength": 40
}
}
},
"maxItems": 6,
"description": "Replaces the kept fonts."
},
"logos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "Which logo this is: full, mark, white…"
},
"image_ref": {
"type": "string",
"maxLength": 200
},
"image_svg": {
"type": "string",
"maxLength": 200000
},
"image_url": {
"type": "string",
"maxLength": 2000
},
"image_base64": {
"type": "string"
}
}
},
"maxItems": 5,
"description": "Logos to add, each one of image_ref, image_url, image_svg or image_base64."
},
"notes": {
"type": "string",
"maxLength": 1000,
"description": "Style, mood, tone, what to avoid. Replaces the kept notes."
},
"colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"hex"
],
"properties": {
"hex": {
"type": "string",
"maxLength": 9,
"description": "#RRGGBB"
},
"name": {
"type": "string",
"maxLength": 60
},
"role": {
"enum": [
"primary",
"secondary",
"accent",
"neutral",
"background",
"text"
],
"type": "string"
}
}
},
"maxItems": 12,
"description": "Replaces the kept colours."
},
"delete": {
"type": "boolean",
"description": "Remove the whole brand."
},
"remove_logos": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"maxItems": 5,
"description": "Ids of kept logos to remove."
}
},
"additionalProperties": {}
}Keeps a design in the person's ls.graphics account under a name, to render again in a later chat (get_design): pass the arguments of the render_mockup, render_series or render_batch call as they were sent (mockup ids, variants, contents with placements, layer_colors, background, composition, look, effects, format). Every image_ref in them is copied into the design, so it outlives the day an upload lasts; image_url stays a link. Saving under a name that is kept replaces that design. remove true deletes it. Only with the person's yes. Up to 50 designs, 10 images each (8 MB each); video cannot be kept.
| Argument | Type | Description |
|---|---|---|
| name* | string | Short, e.g. "Acme hero on iPhone". |
| tool | string | Which render tool the arguments are for. Needed unless remove is true. |
| remove | boolean | Delete the kept design of this name. |
| arguments | object | That tool's arguments, exactly as they were passed. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "Short, e.g. \"Acme hero on iPhone\"."
},
"tool": {
"enum": [
"render_mockup",
"render_series",
"render_batch"
],
"type": "string",
"description": "Which render tool the arguments are for. Needed unless remove is true."
},
"remove": {
"type": "boolean",
"description": "Delete the kept design of this name."
},
"arguments": {
"type": "object",
"description": "That tool's arguments, exactly as they were passed.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": {}
}Used by the ls.graphics card: stores the PNG the online editor exported in the chat and returns its download link.
| Argument | Type | Description |
|---|---|---|
| data* | string | The PNG, base64 or a data: URL. |
| name | string | |
| mockup_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data",
"mockup_id"
],
"properties": {
"data": {
"type": "string",
"description": "The PNG, base64 or a data: URL."
},
"name": {
"type": "string",
"maxLength": 200
},
"mockup_id": {
"type": "string",
"pattern": "^[a-f0-9]{24}$"
}
},
"additionalProperties": {}
}Find mockups in the ls.graphics catalog by product name: devices, packaging, apparel, print. Matches English product words in names — typos and other languages return nothing; when names give fewer than 3 on the first page, mockups whose description matches the words follow (matched_by "description"). Industries or moods ("fitness", "premium") are recommend_mockups'. Each result has its mockup_id, the variant_id the entry shows (e.g. US/EU paper) and, where known, the scene's shape (orientation: portrait, landscape or square, with its aspect) and a one-sentence description of what the scene looks like. Matches come featured first, then newest, then the rest (each has featured and is_new). A page is re-ordered so the object asked for, shown flat and plain, comes first. With scene_type live, studio or any it also finds the animated Live and Studio scenes (rendered as video, full MCP tier; each has scene_id, page_url, full_tier_required, and no mockup_id — render_scene renders them); they match titles and descriptions. To animate a device you need no search: render_scene with device.
| Argument | Type | Description |
|---|---|---|
| page | integer | 0-based page of limit results (default 12): page 1 starts right after the first limit results. |
| limit | integer | Results per page, 1–60 (default 12). Ask for more only when the person wants to browse; the next page starts after these. |
| query | string | English product words, e.g. "iphone 17 pro", "coffee cup", "hoodie", "business card". Empty lists the newest mockups first. |
| free_only | boolean | Only mockups marked free on ls.graphics. |
Used by the ls.graphics card: stores an image the person dropped into the chat and returns its image_ref.
| Argument | Type | Description |
|---|---|---|
| data* | string | The image, base64 or a data: URL. |
| name | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "string",
"description": "The image, base64 or a data: URL."
},
"name": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": {}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.
| The page's prefers-color-scheme. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"description": "The page, http or https."
},
"device": {
"enum": [
"desktop",
"laptop",
"tablet",
"phone"
],
"type": "string",
"default": "desktop",
"description": "Whose screen the page is laid out for."
},
"locale": {
"type": "string",
"pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
"description": "The language the browser asks the site for, e.g. \"en-US\", \"ru-RU\": the language of the person's request unless they name another. Default en-US."
},
"delay_ms": {
"type": "integer",
"maximum": 10000,
"minimum": 0,
"description": "Extra wait after the page settled, for animations or late content."
},
"full_page": {
"type": "boolean",
"default": true,
"description": "The whole page down to its end, or only its first screen."
},
"color_scheme": {
"enum": [
"light",
"dark"
],
"type": "string",
"default": "light",
"description": "The page's prefers-color-scheme."
}
},
"additionalProperties": {}
}| seconds | number | Length of the recording. |
| delay_ms | integer | Extra wait after the page settled, before recording. |
| color_scheme | string | The page's prefers-color-scheme. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"fps": {
"anyOf": [
{
"type": "number",
"const": 30
},
{
"type": "number",
"const": 60
}
],
"default": 30,
"description": "Frames a second; 60 for fast motion."
},
"url": {
"type": "string",
"maxLength": 2000,
"description": "The page, http or https."
},
"device": {
"enum": [
"desktop",
"laptop",
"tablet",
"phone"
],
"type": "string",
"default": "desktop",
"description": "Whose screen the page is laid out for: the one of the mockup it goes on."
},
"locale": {
"type": "string",
"pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
"description": "The language the browser asks the site for, e.g. \"en-US\", \"ru-RU\": the language of the person's request unless they name another. Default en-US."
},
"scroll": {
"anyOf": [
{
"enum": [
"auto",
"none",
"end"
],
"type": "string"
},
{
"type": "integer",
"maximum": 100000,
"minimum": 0
}
],
"default": "auto",
"description": "\"auto\": down the page at a calm pace (a few screens); \"end\": to the page's end; \"none\": the first screen with its animations; a number: down to that many CSS px."
},
"seconds": {
"type": "number",
"default": 8,
"maximum": 60,
"minimum": 1,
"description": "Length of the recording."
},
"delay_ms": {
"type": "integer",
"maximum": 10000,
"minimum": 0,
"description": "Extra wait after the page settled, before recording."
},
"color_scheme": {
"enum": [
"light",
"dark"
],
"type": "string",
"default": "light",
"description": "The page's prefers-color-scheme."
}
},
"additionalProperties": {}
}| background | any | As in render_mockup. |
| variant_id | string | As in render_mockup. |
| adjustments | object | As in render_mockup. |
| composition | object | As in render_mockup. |
| layer_colors | array | As in render_mockup. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"look": {
"enum": [
"warm",
"cool",
"film",
"punchy",
"muted",
"mono"
],
"type": "string",
"description": "As in render_mockup."
},
"asset": {
"type": "string",
"description": "As in render_mockup."
},
"layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"layer": {
"type": "string"
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"visible": {
"type": "boolean"
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
},
"effects": {
"type": "object",
"properties": {
"blur": {
"type": "object",
"required": [
"amount"
],
"properties": {
"focus": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"size": {
"type": "number",
"maximum": 1.5,
"minimum": 0.02
}
}
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"grain": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"vignette": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"aberration": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"description": "As in render_mockup."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string"
},
"url": {
"type": "string",
"maxLength": 2000
},
"fill": {
"type": "string"
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"color": {
"type": "string"
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string"
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string"
},
"image_ref": {
"type": "string"
},
"image_svg": {
"type": "string"
},
"image_url": {
"type": "string"
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string"
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
]
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string"
},
"color": {
"type": "string"
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
]
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360
}
}
},
"maxItems": 32,
"description": "What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image. Each item takes the fields of render_mockup's contents."
},
"mockup_id": {
"type": "string",
"description": "As in render_mockup."
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "As in render_mockup."
},
"variant_id": {
"type": "string",
"description": "As in render_mockup."
},
"adjustments": {
"type": "object",
"properties": {
"hue": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"contrast": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"vibrance": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"lightness": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"saturation": {
"type": "number",
"maximum": 1,
"minimum": -1
}
},
"description": "As in render_mockup."
},
"composition": {
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"aspect": {
"enum": [
"1:1",
"4:5",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string"
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16
}
},
"description": "As in render_mockup."
},
"layer_colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"color": {
"type": "string"
},
"layer": {
"type": "string"
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
}
},
"additionalProperties": {}
}| scene_type | string | Required: the result's scene_type, live or studio (not its kind field, which names the object). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"device": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "Instead of scene_id: a product word in English (\"iphone 17 pro\", \"macbook\", \"ipad\", \"imac\"). The server picks a Studio preset of that device and plays the preset's own animation. The answer names the scene it picked."
},
"motion": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"preset",
"film"
],
"type": "string",
"description": "\"preset\": the scene's own motion (a Studio preset's shots, a Live scene's animation; duration_s sets its length). \"film\" (Studio presets with tagged poses): a film cut from the poses the designers tagged — list_poses first."
},
"beats": {
"type": "array",
"items": {
"type": "object",
"required": [
"pose",
"hold_ms"
],
"properties": {
"next": {
"anyOf": [
{
"type": "object",
"required": [
"kind"
],
"properties": {
"ms": {
"type": "number",
"maximum": 6000,
"description": "The glide's length; default from the distance and the mood.",
"exclusiveMinimum": 0
},
"kind": {
"type": "string",
"const": "glide"
},
"easing": {
"type": "string",
"maxLength": 24,
"description": "The curve, by name: Soft, Flow, Sweep, Settle, Ease, Smooth, Snap, Linear."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "cut"
}
},
"additionalProperties": false
}
],
"description": "How it leaves for the next beat: a glide inside one shot size, a cut where it changes (wide ↔ close-up). Left out, the rules choose. Not on the last beat."
},
"pose": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "The pose's number from list_poses (1 first)."
},
"hold_ms": {
"type": "number",
"maximum": 60000,
"minimum": 0,
"description": "How long the camera stays on the pose (it drifts round it), ms."
}
},
"additionalProperties": false
},
"maxItems": 80,
"minItems": 2,
"description": "film: the poses in order, as you chose them from list_poses; held to the rules (repairs come back in the answer, a film that breaks one is refused with the reason). Leave recipe out."
},
"recipe": {
"type": "object",
"required": [
"duration_ms",
"mood",
"accents"
],
"properties": {
"loop": {
"type": "boolean",
"description": "Close on the pose it opened with, so the film loops."
},
"mood": {
"enum": [
"calm",
"smooth",
"dynamic"
],
"type": "string",
"description": "calm: long holds, slow soft glides. smooth (default): even holds, flowing glides. dynamic: quick glides, snappy curve. Every mood cuts where the shot size changes."
},
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 1,
"description": "Another take of the same recipe. Default 1."
},
"accents": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "How many close-ups (Accent poses) at most."
},
"duration_ms": {
"type": "integer",
"maximum": 60000,
"minimum": 2000,
"description": "The film's length in ms, 2000–60000. A target, not exact: the shortest hold and glide of each beat can make a short film run a little over (a 4 s recipe came out 4.5 s); the answer states the length it played."
}
},
"description": "film: what the film should be; the server picks and orders the poses by the rules. Leave beats out.",
"additionalProperties": false
},
"duration_s": {
"type": "number",
"maximum": 60,
"minimum": 1,
"description": "preset only (a Studio preset's own motion): the video's length in seconds, 1–60. The preset's animation plays again to that length when the scene loops, else holds its last frame; shorter than the animation, it is cut. Not with film (a film has its own duration_ms). A render on the server, never the live preview."
}
},
"description": "Default: the scene's own motion — but a device word whose preset has tagged poses plays a film (smooth, 10 s). The camera is the scene's own or the tagged poses'; never a camera move of your own.",
"additionalProperties": false
},
"root_id": {
"type": "string",
"maxLength": 64,
"description": "A Studio preset's root_id, as search gave it; absent for a Studio model and for Live."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"description": "The address the browser bar shows. Default: the captured page's. With no image, render_mockup captures this page for the screen: its first screen at the size the browser UI leaves, light or dark as ui_theme says (default light), no extra call."
},
"screen": {
"type": "integer",
"maximum": 7,
"minimum": 0,
"description": "Which screen, 0 first; default: the item's place in the list."
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50,
"description": "Laptop or monitor only: the device UI's size in percent, 100 = the device's own (a 27\" display's bars are already smaller than a laptop's). Default 100."
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string",
"description": "Light or dark device UI. Default: the bars follow the page's own colours (the status bar the top edge, Safari's bar the bottom)."
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string",
"description": "Whose UI, when the guess from the mockup's name is wrong (the result says what was read): a phone ios or android, a tablet ipad, a laptop or monitor macos, windows or neutral (the design's window alone on a wallpaper)."
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string",
"description": "The device's own UI round the picture, as in render_mockup: \"auto\" (default) draws it round a screenshot whose proportions differ from the screen's (status bar on a phone or tablet, the browser on a laptop or monitor) and always round a website (a capture_url page); a picture matching the screen fills it. \"browser\" (the address shows url), \"system\" (OS bars only), \"none\" when the picture already shows its own bars. A clip (video_ref, video_url) gets the bars too, the page scrolling inside them: auto gives them to a captured site (capture_video), \"browser\" or \"system\" to any clip."
},
"image_ref": {
"type": "string"
},
"image_url": {
"type": "string"
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
}
}
},
"default": [],
"maxItems": 8,
"description": "A picture or a clip for each screen (one of image_ref, image_url, video_ref or video_url; or url alone, a public page that is captured, first screen, and shown in the device's browser, at most 3 pages per call); a screen left out keeps the scene's own. A screenshot of other proportions than the screen gets the device's UI around it (device_ui), never stretched under the Dynamic Island."
},
"scene_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The scene_id search gave a Live or Studio result. Leave it out and pass device instead to animate a device."
},
"scene_type": {
"enum": [
"live",
"studio"
],
"type": "string",
"description": "Required: the result's scene_type, live or studio (not its kind field, which names the object)."
}
},
"additionalProperties": {}
}| mockup_id | string | As in render_mockup. |
| variant_id | string | As in render_mockup. |
| composition | object | As in render_mockup. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"colorways"
],
"properties": {
"look": {
"enum": [
"warm",
"cool",
"film",
"punchy",
"muted",
"mono"
],
"type": "string",
"description": "As in render_mockup."
},
"asset": {
"type": "string",
"description": "As in render_mockup."
},
"fresh": {
"type": "boolean",
"description": "As in render_mockup."
},
"effects": {
"type": "object",
"properties": {
"blur": {
"type": "object",
"required": [
"amount"
],
"properties": {
"focus": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"size": {
"type": "number",
"maximum": 1.5,
"minimum": 0.02
}
}
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"grain": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"vignette": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"aberration": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"description": "As in render_mockup."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string"
},
"url": {
"type": "string",
"maxLength": 2000
},
"fill": {
"type": "string"
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"color": {
"type": "string"
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string"
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string"
},
"image_ref": {
"type": "string"
},
"image_svg": {
"type": "string"
},
"image_url": {
"type": "string"
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string"
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
]
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string"
},
"color": {
"type": "string"
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
]
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360
}
}
},
"maxItems": 32,
"description": "What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image. Each item takes the fields of render_mockup's contents."
},
"max_edge": {
"type": "integer",
"maximum": 1200,
"minimum": 320,
"description": "Longest side of each preview. Default 800."
},
"colorways": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"description": "What the scheme is, e.g. \"brand body, accent handles\"."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"required": [
"color"
],
"properties": {
"color": {
"type": "string",
"description": "#RRGGBB for that surface in this scheme."
},
"placeholder": {
"type": "string",
"description": "Placeholder id, name or number from get_mockup."
}
},
"additionalProperties": false
},
"maxItems": 32,
"description": "This scheme's colour for a surface that is only a placeholder (a garment's body, a box, a bag, a poster): how such a part is recoloured, since it has no colour layer. A placeholder the call's shared contents leave empty is painted this colour; a logo there sits on it (its plate takes the colour); an image with fit contain gets it around it. A placeholder one scheme colours, every scheme colours."
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "A hex colour or a gradient {gradient: {angle, stops}}, or \"original\" to keep the scene's background."
},
"layer_colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"color": {
"type": "string"
},
"layer": {
"type": "string"
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"maxItems": 50,
"description": "Colours for this scheme. layer is a colour layer, or any part get_mockup lists: a part label (\"t-shirt body\"), a part or placeholder id or number, or the role \"main\" (the product's own surfaces; use it again for the next group: the first \"main\" is the brand's primary, the second its secondary; \"primary\" and \"secondary\" name them outright, and \"secondary\" goes to the detail parts when there is only one main group) or \"detail\". A gradient is for colour layers only. A placeholder part is coloured through the scheme's contents for you; render_args has both. Left out, a part keeps its original colour."
}
},
"additionalProperties": false
},
"maxItems": 6,
"minItems": 2,
"description": "2–6 colour schemes to compare side by side. For a brand, 3–4 from its palette, each named in plain words: A brand (main part primary, small parts accent), B accent (main part neutral, brand colour on small parts), C monochrome (everything and the background in the primary), D inverted (dark main part, light details)."
},
"mockup_id": {
"type": "string",
"description": "As in render_mockup."
},
"variant_id": {
"type": "string",
"description": "As in render_mockup."
},
"composition": {
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"aspect": {
"enum": [
"1:1",
"4:5",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string"
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16
}
},
"description": "As in render_mockup."
}
},
"additionalProperties": {}
}| use_case | string | What the mockups are for, in English, e.g. "fitness app on a phone", "coffee shop packaging". Industries it understands: tech, saas, fintech, ecommerce, fashion, beauty, fitness, health, food, coffee, restaurant, drinks, education, travel, real-estate, interior, music, gaming, media, events, corporate, kids, sports, automotive. |
| free_only | boolean | Only mockups marked free on ls.graphics. |
| scene_type | string | Which catalogue: "static" (default: still mockups you can render here), "live" (Origin: animated scenes), "studio" (3D Studio presets and models) or "any" (Static plus animated scenes). Live and Studio results are animated scenes rendered as video or a still frame, need the full MCP tier, and render with render_scene or open on their ls.graphics page (page_url). |
| composition | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"description": "Only these objects: phone, tablet, laptop, desktop, watch, tv, device-set, business-card, stationery, envelope, book, magazine, brochure, flyer, poster, billboard, signage, frame, box, bag, cup, bottle, can, jar, label, food, t-shirt, hoodie, cap, tote, apparel, textile, sticker, badge. E.g. [\"cup\", \"bag\"] for coffee-shop packaging."
},
"limit": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "How many to return. Default 5."
},
"style": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"description": "Mood/style keywords from: minimal, clean, bold, premium, elegant, dark, light, playful, warm, cold, tech, editorial, retro, vintage, futuristic, natural."
},
"palette": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 8,
"description": "Brand colours as hex, e.g. #FF5A36."
},
"use_case": {
"type": "string",
"description": "What the mockups are for, in English, e.g. \"fitness app on a phone\", \"coffee shop packaging\". Industries it understands: tech, saas, fintech, ecommerce, fashion, beauty, fitness, health, food, coffee, restaurant, drinks, education, travel, real-estate, interior, music, gaming, media, events, corporate, kids, sports, automotive."
},
"free_only": {
"type": "boolean",
"description": "Only mockups marked free on ls.graphics."
},
"scene_type": {
"enum": [
"static",
"live",
"studio",
"any"
],
"type": "string",
"description": "Which catalogue: \"static\" (default: still mockups you can render here), \"live\" (Origin: animated scenes), \"studio\" (3D Studio presets and models) or \"any\" (Static plus animated scenes). Live and Studio results are animated scenes rendered as video or a still frame, need the full MCP tier, and render with render_scene or open on their ls.graphics page (page_url)."
},
"composition": {
"type": "object",
"properties": {
"shot": {
"type": "string",
"description": "E.g. \"front\", \"flat-lay\", \"in-hand\", \"on-wall\"."
},
"background": {
"type": "string",
"description": "E.g. \"solid\", \"gradient\", \"textured\", \"scene\"."
},
"environment": {
"type": "string",
"description": "E.g. \"studio\", \"desk\", \"interior\"."
},
"orientation": {
"type": "string",
"description": "\"portrait\", \"landscape\" or \"square\"."
}
}
}
},
"additionalProperties": {}
}| rows | array | Instead of mockups or csv: the same table as objects, one per output, with the same keys as the CSV columns. |
| trim | boolean | As in render_mockup. |
| fresh | boolean | As in render_mockup. |
| design | array | The design that goes on every mockup, as render_mockup's contents (images, colours, placement, device_ui): the first item into each mockup's main screen or surface — the placeholder whose proportions are closest to the image, a front before a back or side — further items into the next best placeholders. placeholder is ignored here: placeholders differ per mockup (mockups[].placeholder names one). |
| format | string | As in render_mockup: default jpeg (png when background is "transparent"). A video is render_mockup with format mp4. |
| dry_run | boolean | true: check the call without rendering. The arguments, every mockup or row, image and named placeholder are checked, and the answer lists the planned outputs, the cost (renders, page captures) and how it compares with the renders left today. Whether the account may use a mockup, and the format and size it gets, are checked only when it renders. Nothing is rendered and nothing is counted. |
| effects | object | As in render_mockup. |
| mockups | array | 2–12 mockups, in order; each one file. The same mockup twice with other variant_id values is fine. Not with csv or rows. |
| max_edge | any | As in render_mockup. |
| background | any | As in render_mockup. |
| adjustments | object | As in render_mockup. |
| composition | object | As in render_mockup. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "Instead of mockups: a table, one output per row, up to 50 rows rendered in turns into one ZIP. CSV text with a header row (commas, semicolons or tabs; quotes allowed). Columns: mockup_id (required, the 24-character id from search_mockups — never a search word), variant_id, image_ref or image_url (this row's own picture, one of them, optional: it replaces design for the row; no video), color (#hex: the product's colour layer), layer_colors (JSON [{\"layer\":\"Body\",\"color\":\"#FF5A36\"}]), background (#hex, \"transparent\" with format png, or \"original\"), placement (logo, print or window: how the call's design goes onto that row's mockup — a garment needs it), file_name. A row without its own picture takes the call's design; a picture that cannot be loaded fails that row alone. Any other column is refused by name, every bad row before anything is reserved."
},
"look": {
"enum": [
"warm",
"cool",
"film",
"punchy",
"muted",
"mono"
],
"type": "string",
"description": "As in render_mockup."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"description": "Instead of mockups or csv: the same table as objects, one per output, with the same keys as the CSV columns."
},
"trim": {
"type": "boolean",
"description": "As in render_mockup."
},
"fresh": {
"type": "boolean",
"description": "As in render_mockup."
},
"design": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string"
},
"url": {
"type": "string",
"maxLength": 2000
},
"fill": {
"type": "string"
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"color": {
"type": "string"
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string"
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string"
},
"image_ref": {
"type": "string"
},
"image_svg": {
"type": "string"
},
"image_url": {
"type": "string"
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string"
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
]
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string"
},
"color": {
"type": "string"
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
]
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "The design that goes on every mockup, as render_mockup's contents (images, colours, placement, device_ui): the first item into each mockup's main screen or surface — the placeholder whose proportions are closest to the image, a front before a back or side — further items into the next best placeholders. placeholder is ignored here: placeholders differ per mockup (mockups[].placeholder names one)."
},
"format": {
"enum": [
"png",
"jpeg"
],
"type": "string",
"description": "As in render_mockup: default jpeg (png when background is \"transparent\"). A video is render_mockup with format mp4."
},
"dry_run": {
"type": "boolean",
"description": "true: check the call without rendering. The arguments, every mockup or row, image and named placeholder are checked, and the answer lists the planned outputs, the cost (renders, page captures) and how it compares with the renders left today. Whether the account may use a mockup, and the format and size it gets, are checked only when it renders. Nothing is rendered and nothing is counted."
},
"effects": {
"type": "object",
"properties": {
"blur": {
"type": "object",
"required": [
"amount"
],
"properties": {
"focus": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"size": {
"type": "number",
"maximum": 1.5,
"minimum": 0.02
}
}
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"grain": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"vignette": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"aberration": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"description": "As in render_mockup."
},
"mockups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"description": "What this one is, e.g. \"iPhone\" or \"tote\", used in its file name."
},
"asset": {
"type": "string",
"description": "As in render_mockup."
},
"layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"layer": {
"type": "string"
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"visible": {
"type": "boolean"
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string"
},
"url": {
"type": "string",
"maxLength": 2000
},
"fill": {
"type": "string"
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"color": {
"type": "string"
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string"
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string"
},
"image_ref": {
"type": "string"
},
"image_svg": {
"type": "string"
},
"image_url": {
"type": "string"
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string"
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
]
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string"
},
"color": {
"type": "string"
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
]
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360
}
}
},
"maxItems": 32,
"minItems": 1,
"description": "Instead of the design: this mockup's own contents, exactly as in render_mockup."
},
"mockup_id": {
"type": "string",
"description": "As in render_mockup."
},
"placement": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Centre of the logo across the placeholder, 0 left .. 1 right."
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Centre of the logo down the placeholder, 0 top .. 1 bottom."
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1,
"description": "Logo width as a percent of the placeholder's width."
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Logo: degrees clockwise about its centre."
}
},
"description": "Corrects the shared design's logo on this mockup alone: these keys are merged over the design's own placement (a plain image becomes a logo), everything not named stays as the design has it. Not with contents (put placement inside them); the other mockups keep the shared placement. Use it when the result says a logo may need x or y.",
"additionalProperties": false
},
"variant_id": {
"type": "string",
"description": "As in render_mockup."
},
"placeholder": {
"type": "string",
"description": "Where the design's first item goes on this mockup: placeholder id, name or number from get_mockup. Default: the main screen or surface."
},
"layer_colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"color": {
"type": "string"
},
"layer": {
"type": "string"
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
}
},
"additionalProperties": false
},
"maxItems": 12,
"minItems": 2,
"description": "2–12 mockups, in order; each one file. The same mockup twice with other variant_id values is fine. Not with csv or rows."
},
"max_edge": {
"anyOf": [
{
"type": "integer",
"maximum": 12000,
"minimum": 256
},
{
"type": "string",
"const": "full"
}
],
"description": "As in render_mockup."
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "As in render_mockup."
},
"adjustments": {
"type": "object",
"properties": {
"hue": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"contrast": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"vibrance": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"lightness": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"saturation": {
"type": "number",
"maximum": 1,
"minimum": -1
}
},
"description": "As in render_mockup."
},
"composition": {
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"aspect": {
"enum": [
"1:1",
"4:5",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string"
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16
}
},
"description": "As in render_mockup."
}
},
"additionalProperties": {}
}| Transparent PNG only (background "transparent"): crops the empty margins around the product, a few px of padding left — the file is the product, not a large empty canvas, and its long edge is max_edge (the scene is drawn larger for it, up to its own pixels). The cast shadow and reflection layers are hidden for a transparent render. Default false. |
| asset | string | Instead of mockup_id: an ls.graphics asset slug or page URL, e.g. https://www.ls.graphics/assets/i-phone-18-pro-009 |
| fresh | boolean | true renders anew even when an identical request was rendered a moment ago (a fixed image_url whose picture changed). Left out: an identical repeat returns the first result, which is what a call whose answer was lost needs. |
| marks | boolean | Also return a second small picture (480 px, about 20 KB): the preview with each placeholder outlined and numbered as in scene_state ("1 Screen") and a light grid labelled in the output picture's pixels. Only in this result — never in the file, the ZIP or the card. Default false. |
| sizes | array | A SET of output sizes in ONE call and ONE render against the daily limit (the scene loads and the design applies once): 8 at most, each a preset name (og, product-hunt, x-header, x-post, linkedin-banner, facebook-cover, youtube-thumbnail, instagram-square, instagram-portrait, instagram-story, app-store-6.7, app-store-6.5, app-store-5.5, app-store-ipad-12.9, google-play, google-play-feature) or {width, height, fit?}. Returns a ZIP with <mockup>-<size>.<ext> and a preview of each. Instead of composition (not with it); picture formats only (png, jpeg), not mp4 or webm. |
| video | object | Format mp4 or webm only: how the video is made. Its size is max_edge on the long side (default 1920, at most 2560) at the scene's or composition's proportion. |
| format | string | Default jpeg (png when background is "transparent"). jpeg files are far smaller — full-size PNG scenes run to 20–35 MB; png keeps transparency. mp4 (H.264) or webm: a video — a clip (video_ref, video_url) playing on a screen; Static mockups only, needs the full MCP tier. |
| layers | array |
| effects | object | Full-frame effects over the finished picture, the editor's Effects section. Nothing is on unless named. |
| contents | array | What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image. |
| max_edge | any | Longest side of the result in pixels. Default 3000 — plenty for social, web and decks, far lighter than the scene's own size (often 6000). "full" or a larger number only when print or a client asked for it; a smaller one only when asked. Never above the scene's size, and free accounts are capped by their plan. |
| mockup_id | string | Mockup id from search_mockups. |
| background | any | A hex colour, a linear gradient {gradient: {angle, stops: [{color, position}]}}, "transparent" (PNG only, chosen automatically; add trim: true to crop the empty margins around the product) or "original". A colour or gradient replaces a photo background as a whole — a hand, a table or props that are part of the photo go with it, and the product can end up floating (a phone over a colour has no table under it): for a coloured background pick a mockup on a plain or studio background, or keep "original"; "original" keeps them. "transparent" hides the backdrop and the props standing in the scene; a scene that is one photo stays opaque, and the result says so — for a cut-out pick a mockup on a plain background. With composition fit "contain" it is also what fills the extra area. |
| variant_id | string | Colour/size variant: its id from get_mockup, or its name such as "US" or "EU" (paper size) or a colour name. Default: the variant search_mockups listed for an asset, else the first. |
| adjustments | object | Whole-image corrections, each -1..1 with 0 unchanged. |
| composition | object | Crops the render to a shape, like the composition chip of the online editor — give aspect OR width and height. An aspect is the largest centred frame of that shape in the scene (a crop, never an upscale: a 4:3 scene at 16:9 loses top and bottom). A size is the same crop at the proportion width:height, and the file is exactly width×height px (an OG image: 1200×630) — max_edge is ignored with it, and a plan that caps the edge shrinks the file with the proportion kept. Default: the whole scene. |
| layer_colors | array | Recolour the product — a device body, packaging, a garment's parts (names, parts and roles as get_mockup lists them) — only when the person asked for it or a kept brand applies. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"look": {
"enum": [
"warm",
"cool",
"film",
"punchy",
"muted",
"mono"
],
"type": "string",
"description": "A finished colour grade for the whole image: \"warm\" (golden), \"cool\" (blue), \"film\" (faded, soft), \"punchy\" (contrast and colour), \"muted\" (calm, desaturated), \"mono\" (black and white). Applied before adjustments, which still tune on top."
},
"trim": {
"type": "boolean",
"description": "Transparent PNG only (background \"transparent\"): crops the empty margins around the product, a few px of padding left — the file is the product, not a large empty canvas, and its long edge is max_edge (the scene is drawn larger for it, up to its own pixels). The cast shadow and reflection layers are hidden for a transparent render. Default false."
},
"asset": {
"type": "string",
"description": "Instead of mockup_id: an ls.graphics asset slug or page URL, e.g. https://www.ls.graphics/assets/i-phone-18-pro-009"
},
"fresh": {
"type": "boolean",
"description": "true renders anew even when an identical request was rendered a moment ago (a fixed image_url whose picture changed). Left out: an identical repeat returns the first result, which is what a call whose answer was lost needs."
},
"marks": {
"type": "boolean",
"description": "Also return a second small picture (480 px, about 20 KB): the preview with each placeholder outlined and numbered as in scene_state (\"1 Screen\") and a light grid labelled in the output picture's pixels. Only in this result — never in the file, the ZIP or the card. Default false."
},
"sizes": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"description": "A preset: og, product-hunt, x-header, x-post, linkedin-banner, facebook-cover, youtube-thumbnail, instagram-square, instagram-portrait, instagram-story, app-store-6.7, app-store-6.5, app-store-5.5, app-store-ipad-12.9, google-play, google-play-feature."
},
{
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string",
"description": "As composition.fit."
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"preset": {
"type": "string",
"description": "A preset name, instead of width and height."
}
}
}
]
},
"maxItems": 8,
"minItems": 1,
"description": "A SET of output sizes in ONE call and ONE render against the daily limit (the scene loads and the design applies once): 8 at most, each a preset name (og, product-hunt, x-header, x-post, linkedin-banner, facebook-cover, youtube-thumbnail, instagram-square, instagram-portrait, instagram-story, app-store-6.7, app-store-6.5, app-store-5.5, app-store-ipad-12.9, google-play, google-play-feature) or {width, height, fit?}. Returns a ZIP with <mockup>-<size>.<ext> and a preview of each. Instead of composition (not with it); picture formats only (png, jpeg), not mp4 or webm."
},
"video": {
"type": "object",
"properties": {
"fps": {
"anyOf": [
{
"type": "number",
"const": 30
},
{
"type": "number",
"const": 60
}
],
"description": "Frames a second. Default 30."
},
"seconds": {
"type": "number",
"maximum": 60,
"minimum": 1,
"description": "Length; default the clip's own length, at most 60."
}
},
"description": "Format mp4 or webm only: how the video is made. Its size is max_edge on the long side (default 1920, at most 2560) at the scene's or composition's proportion."
},
"format": {
"enum": [
"png",
"jpeg",
"mp4",
"webm"
],
"type": "string",
"description": "Default jpeg (png when background is \"transparent\"). jpeg files are far smaller — full-size PNG scenes run to 20–35 MB; png keeps transparency. mp4 (H.264) or webm: a video — a clip (video_ref, video_url) playing on a screen; Static mockups only, needs the full MCP tier."
},
"layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"layer": {
"type": "string",
"description": "Layer id or name from get_mockup — a shadow or reflection, or a scene layer such as a table or a backdrop."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"visible": {
"type": "boolean"
}
}
},
"maxItems": 50
},
"effects": {
"type": "object",
"properties": {
"blur": {
"type": "object",
"required": [
"amount"
],
"properties": {
"focus": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Centre of the sharp area, 0 left .. 1 right. Default 0.5."
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "0 top .. 1 bottom. Default 0.5."
},
"size": {
"type": "number",
"maximum": 1.5,
"minimum": 0.02,
"description": "The sharp area's diameter as a fraction of the picture's height. Default 0.53."
}
},
"description": "The area that stays sharp; everything away from it blurs."
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "0 off .. 100 the strongest the editor's slider gives. A depth of field over the whole picture, the device and its screen included: the falloff is gentle, so on a square picture 25 reaches only about 0.4% of its height at the corners and 100 about 1.6% (the result says the reach)."
}
},
"description": "Defocus that grows away from the focus area, over everything outside it (a device that is taller than the area blurs at its ends). Not a background-only blur."
},
"grain": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Film noise, 0 off .. 100 the strongest of the editor's slider; 10–25 is visible but fine."
},
"vignette": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Darkened corners, 0 off .. 100 the strongest."
},
"aberration": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Colour fringing at the edges, 0 off .. 100 the strongest; keep it under 30 for a lens-like look."
}
},
"description": "Full-frame effects over the finished picture, the editor's Effects section. Nothing is on unless named."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string",
"description": "cover (default) fills the placeholder and crops what overflows — a wider or taller image loses its edges; contain shows the whole image, and the fill colour fills the space around it; fill stretches; pattern tiles."
},
"url": {
"type": "string",
"maxLength": 2000,
"description": "The address the browser bar shows. Default: the captured page's. With no image, render_mockup captures this page for the screen: its first screen at the size the browser UI leaves, light or dark as ui_theme says (default light), no extra call."
},
"fill": {
"type": "string",
"description": "Hex colour behind the image inside the placeholder: it fills the space around a contained image (or around a screenshot in the device UI — without it a phone's strips take the image's own edge colour). Not for a logo: its plate is placement.fill."
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string",
"description": "Which part of the image stays in view when it overflows the placeholder. Default center — except a long image (a full-page screenshot, twice as tall as the placeholder or more), which starts at its top, because the middle of a page shows nothing. \"bottom\" shows the end of it. For one exact part, cut the image to the placeholder's proportions first."
},
"color": {
"type": "string",
"description": "Instead of an image: fill the placeholder with this solid hex colour, e.g. #FF5A36. It is how to recolour a surface that has no colour layer in get_mockup (a box, a poster, a bag: the placeholder is the surface). Use layer_colors where a colour layer paints that part. Not together with an image."
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05,
"description": "Zoom on top of the fit. Default 1."
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50,
"description": "Laptop or monitor only: the device UI's size in percent, 100 = the device's own (a 27\" display's bars are already smaller than a laptop's). Default 100."
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1,
"description": "Horizontal pan as a fraction of the placeholder width."
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1,
"description": "Vertical pan as a fraction of the placeholder height."
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string",
"description": "Light or dark device UI. Default: the bars follow the page's own colours (the status bar the top edge, Safari's bar the bottom)."
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string",
"description": "Whose UI, when the guess from the mockup's name is wrong (the result says what was read): a phone ios or android, a tablet ipad, a laptop or monitor macos, windows or neutral (the design's window alone on a wallpaper)."
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string",
"description": "The device's own UI around a screenshot on a phone, tablet, laptop or monitor screen, so an image of other proportions is never cropped: browser (status bar or menu bar + a browser showing url — without url its address field is empty; on an iPhone the iOS status bar with the time, signal and battery at the top and Safari with the site's address at the bottom, the page between them — what a website on a phone gets by default), system (OS bars only, for an app screen), none. On a laptop or monitor the image is whole in a window the desktop surrounds. On a phone or tablet: within 30% of the screen's proportion it is whole under the bars (strips in its edge colour, or fill); a long page fills the width from its top; a landscape or desktop image is refused (use a laptop mockup, or capture_url device \"phone\"). auto (default): an image whose proportions differ from the screen's gets it — the browser for a capture_url page or when url is given, else system bars on a phone or tablet and the browser on a laptop or monitor; an image matching the screen (within 3%) fills it with none, a website excepted (it always gets the browser). Use none when the image already shows a status bar or browser. Never crop it or put it on a backdrop to fit: this is what takes up the difference. Android has no browser bar."
},
"image_ref": {
"type": "string",
"description": "An image already on this server: what add_images answered for the person's file, or the ref an upload link or POST /v1/uploads (same key) answered with."
},
"image_svg": {
"type": "string",
"description": "Instead of an image file: SVG markup as text, e.g. a logo or a pattern tile drawn as vector — no base64 needed. Drawn sharp at any size; the root needs a viewBox (or width and height). Fonts are the system's: outline text that must look exact."
},
"image_url": {
"type": "string",
"description": "Public http(s) image URL."
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Centre of the logo across the placeholder, 0 left .. 1 right. Default: the placeholder's visual centre when get_mockup lists one (a garment's chest, the seen side of a cup), else 0.5."
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Centre of the logo down the placeholder, 0 top .. 1 bottom. Default: the visual centre when listed, else 0.33 on apparel and 0.5 on packaging and print."
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string",
"description": "Logo: how to read the image when the server guesses wrong. \"logo\": a mark on a plain background (a JPG logo on white) still goes on the plate at its own proportions; \"artwork\": a full design fills the surface."
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number",
"description": "Degrees: 0 bottom→top, 90 left→right."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string",
"description": "Hex colour."
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "Logo: the plate under the logo (the garment or surface colour) — \"#RRGGBB\", or {gradient: {angle, stops: [{color, position}]}} when the person asks for a gradient. Leave it out unless the person named a colour for the product itself — not a brand colour, not one picked for contrast — except for a logo with its own opaque background (a JPG on white or a colour): its background is never removed, so set fill to that colour (read the corners of the image) and the plate merges with the logo field. Default white; on packaging black under a light-only logo."
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string",
"description": "\"logo\": the image keeps its own proportions and sits on a transparent field over the surface (on a garment: a mark on the chest). \"print\": the image fills the whole area, the explicit full print a garment asks for (anywhere else it is what no placement does). \"window\": an app shown as a window on a desktop wallpaper inside a LAPTOP or MONITOR screen (the Static editor's Backdrop) — wallpaper, padding_pct, radius and shadow; refused for a phone, tablet or garment."
},
"color": {
"type": "string",
"description": "#RRGGBB (logo): repaints a one-colour logo — every opaque pixel takes it, the transparency stays (a multi-colour logo becomes a one-colour silhouette). A black logo made white for a black garment."
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0,
"description": "mode \"window\": corner radius of the window, percent of the screen's short side. Default 2."
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "mode \"window\": shadow strength. Default 40."
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1,
"description": "Logo width (its visible pixels, not the canvas) as a percent of the placeholder's width. Default 25 on apparel (a chest print); on packaging and print 35 (less for a tall mark)."
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string",
"description": "#RRGGBB: a flat wallpaper."
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
],
"description": "One of the Static editor's ready-made wallpapers: its number 1-15 on the shelf (1 is the editor's default) or its file name."
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number",
"description": "Degrees: 0 bottom→top, 90 left→right."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
},
"description": "A linear gradient wallpaper."
}
},
"description": "mode \"window\" only: exactly one of color, gradient, preset. Default: the editor's own wallpaper (preset 1)."
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0,
"description": "mode \"window\": space around the window, percent of the screen's short side. Default 12."
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Logo: opacity of the plate (placement.fill), percent. 0 keeps the product's own colour and texture under the logo. Default 100."
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Logo: degrees clockwise about its centre. Default 0."
}
},
"description": "A logo or mark on a cup, bag, box, garment or print: never stretched or made to fill the placeholder — it keeps its own proportions on a plate (placement.fill: white by default, black under a light-only logo; a colour or a gradient only when the person named one). Off a garment a transparent PNG sent without placement goes in this way by itself; on a garment placement is required (mode \"logo\" a chest mark, mode \"print\" the whole area) — without it the render is refused, nothing counted. Not for full-bleed artwork on packaging or print: an image opaque to its edges fills the surface (placement.as \"logo\" when it is a logo on a plain background). Draw no canvas of your own: the server trims empty margins off a logo and ignores the offset they carry. fit, align, offset, scale and rotation do not apply: the result says where the logo landed; look at the preview and move it with placement.x, placement.y, placement.size_pct, placement.rotation_deg. Mode \"window\" only when the person asks for an app as a window on a wallpaper on a laptop or monitor."
},
"video_ref": {
"type": "string",
"description": "A video for a screen: the video_ref capture_video answered, or an MP4/WebM the person added (add_images). render_mockup with format mp4 or webm only."
},
"video_url": {
"type": "string",
"description": "A video for a screen at a public http(s) link, MP4 or WebM (up to 100 MB). render_mockup with format mp4 or webm only."
},
"placeholder": {
"type": "string",
"description": "Placeholder id, name or number from get_mockup. May be omitted when the mockup has one placeholder."
},
"image_base64": {
"type": "string",
"description": "Image bytes as base64 or a data: URL: PNG, JPEG, WebP, GIF, AVIF or SVG."
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Turns the image inside the placeholder; at 90°/270° a non-square image is cropped — use a square source for spins."
}
}
},
"maxItems": 32,
"description": "What goes into the placeholders (up to 32). One item per placeholder; to put the same picture in many, repeat the item with the same image_ref or image_url. Each item needs exactly one image source. A phone screen's notch and rounded corners cover its edges, so a title or a button belongs more than a few percent away from the top and bottom of the image."
},
"max_edge": {
"anyOf": [
{
"type": "integer",
"maximum": 12000,
"minimum": 256
},
{
"type": "string",
"const": "full"
}
],
"description": "Longest side of the result in pixels. Default 3000 — plenty for social, web and decks, far lighter than the scene's own size (often 6000). \"full\" or a larger number only when print or a client asked for it; a smaller one only when asked. Never above the scene's size, and free accounts are capped by their plan."
},
"mockup_id": {
"type": "string",
"description": "Mockup id from search_mockups."
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number",
"description": "Degrees: 0 bottom→top, 90 left→right."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string",
"description": "Hex colour."
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "A hex colour, a linear gradient {gradient: {angle, stops: [{color, position}]}}, \"transparent\" (PNG only, chosen automatically; add trim: true to crop the empty margins around the product) or \"original\". A colour or gradient replaces a photo background as a whole — a hand, a table or props that are part of the photo go with it, and the product can end up floating (a phone over a colour has no table under it): for a coloured background pick a mockup on a plain or studio background, or keep \"original\"; \"original\" keeps them. \"transparent\" hides the backdrop and the props standing in the scene; a scene that is one photo stays opaque, and the result says so — for a cut-out pick a mockup on a plain background. With composition fit \"contain\" it is also what fills the extra area."
},
"variant_id": {
"type": "string",
"description": "Colour/size variant: its id from get_mockup, or its name such as \"US\" or \"EU\" (paper size) or a colour name. Default: the variant search_mockups listed for an asset, else the first."
},
"adjustments": {
"type": "object",
"properties": {
"hue": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"contrast": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"vibrance": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"lightness": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"saturation": {
"type": "number",
"maximum": 1,
"minimum": -1
}
},
"description": "Whole-image corrections, each -1..1 with 0 unchanged."
},
"composition": {
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string",
"description": "Default: the scene is cropped to the shape and, where the product's bounds are known, zoomed to the product (the whole of it with a margin). A product that does not fit the shape (a wide scene at 9:16) gets the largest centred crop the scene allows and is cut: the answer says so. \"product\" asks for the zoom explicitly. \"crop\" is the plain centred crop. \"contain\" keeps the WHOLE scene and needs background (a colour, a gradient or \"transparent\") for the area past it: nothing is painted for it."
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16,
"description": "With height: an exact size in px instead of aspect."
},
"aspect": {
"enum": [
"1:1",
"4:5",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string",
"description": "A proportion: \"1:1\", \"4:5\" (posts), \"9:16\" (stories, reels), \"16:9\" (OG images, banners), \"4:3\", \"3:4\"."
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16,
"description": "With width."
}
},
"description": "Crops the render to a shape, like the composition chip of the online editor — give aspect OR width and height. An aspect is the largest centred frame of that shape in the scene (a crop, never an upscale: a 4:3 scene at 16:9 loses top and bottom). A size is the same crop at the proportion width:height, and the file is exactly width×height px (an OG image: 1200×630) — max_edge is ignored with it, and a plan that caps the edge shrinks the file with the proportion kept. Default: the whole scene."
},
"layer_colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"color": {
"type": "string",
"description": "Hex colour, e.g. #FF5A36."
},
"layer": {
"type": "string",
"description": "What to colour, from get_mockup: a colour layer (id, name or number), a labelled part (\"t-shirt body\", \"lid top\"), a placeholder (id, name or number), or a role: \"main\" (the product's own surfaces; use it again for the next group), \"primary\", \"secondary\" or \"detail\". A part that is only a placeholder is coloured through contents for you (solid colours only; a gradient is for colour layers)."
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number",
"description": "Degrees: 0 bottom→top, 90 left→right."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"maxItems": 50,
"description": "Recolour the product — a device body, packaging, a garment's parts (names, parts and roles as get_mockup lists them) — only when the person asked for it or a kept brand applies."
}
},
"additionalProperties": {}
}| Argument | Type | Description |
|---|---|---|
| fps | any | |
| fresh | boolean | true renders anew even when an identical request was rendered a moment ago (a fixed image_url whose picture changed). Left out: an identical repeat returns the first result, which is what a call whose answer was lost needs. |
| width | integer | Pixels, even. A video is at most 2560 on its long edge; a still (png/jpeg) at most 2800 (App Store 1290×2796). |
| device | string | Instead of scene_id: a product word in English ("iphone 17 pro", "macbook", "ipad", "imac"). The server picks a Studio preset of that device and plays the preset's own animation. The answer names the scene it picked. |
| extend | boolean | Run the video to the end of the longest screen video (MP4/MOV, up to 60 s) instead of the scene's own length. Video only. |
| format | string | mp4 or webm: a video. png or jpeg: one still frame of it (time_s). |
| height | integer | |
| motion | object | Default: the scene's own motion — but a device word whose preset has tagged poses plays a film (smooth, 10 s). The camera is the scene's own or the tagged poses'; never a camera move of your own. |
| render | boolean | A device animation (device instead of scene_id, a video) is answered as a live preview the person plays in the chat card — no render, no video counted, up to 100 previews a day; the card's Download video renders the file in the person's browser. true: render the video file on the server instead (a video of the day), for a person who asked for a video file or approved the preview. Stills and a scene_id's video always render. |
| time_s | number | A still's moment, in seconds into the scene's video; default the opening moment (0.2 s) of a Studio scene, the middle of a Live one; past its end the last frame. png/jpeg only. |
| root_id | string | A Studio preset's root_id, as search gave it; absent for a Studio model and for Live. |
| contents | array | A picture or a clip for each screen (one of image_ref, image_url, video_ref or video_url; or url alone, a public page that is captured, first screen, and shown in the device's browser, at most 3 pages per call); a screen left out keeps the scene's own. A screenshot of other proportions than the screen gets the device's UI around it (device_ui), never stretched under the Dynamic Island. |
| scene_id | string | The scene_id search gave a Live or Studio result. Leave it out and pass device instead to animate a device. |
| overrides | object | Studio only: the scene's settings for THIS render, as a person sets them in Studio's panels — background (solid, gradient, an image on mckp-live-s3-directus.b-cdn.net, matched to the design, transparent), effects (blur, lens blur, aberration, vignette, fisheye, grain, bloom, CRT, glass ghosting, colour balance, grade), lights (overall brightness, a lamp by name, the environment), screen (glow, reflection, opacity), device (its colour by name or hex, the lid, materials) and camera (zoom, lens, a held angle). Left out = as the scene has it; nothing is saved. A video with overrides renders on the server (the live preview cannot show them yet). |
| scene_type | string | Required: the result's scene_type, live or studio (not its kind field, which names the object). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fps": {
"anyOf": [
{
"type": "number",
"const": 30
},
{
"type": "number",
"const": 60
}
],
"default": 30
},
"fresh": {
"type": "boolean",
"description": "true renders anew even when an identical request was rendered a moment ago (a fixed image_url whose picture changed). Left out: an identical repeat returns the first result, which is what a call whose answer was lost needs."
},
"width": {
"type": "integer",
"default": 1920,
"maximum": 2800,
"minimum": 256,
"description": "Pixels, even. A video is at most 2560 on its long edge; a still (png/jpeg) at most 2800 (App Store 1290×2796)."
},
"device": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "Instead of scene_id: a product word in English (\"iphone 17 pro\", \"macbook\", \"ipad\", \"imac\"). The server picks a Studio preset of that device and plays the preset's own animation. The answer names the scene it picked."
},
"extend": {
"type": "boolean",
"default": false,
"description": "Run the video to the end of the longest screen video (MP4/MOV, up to 60 s) instead of the scene's own length. Video only."
},
"format": {
"enum": [
"mp4",
"webm",
"png",
"jpeg"
],
"type": "string",
"default": "mp4",
"description": "mp4 or webm: a video. png or jpeg: one still frame of it (time_s)."
},
"height": {
"type": "integer",
"default": 1080,
"maximum": 2800,
"minimum": 256
},
"motion": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"preset",
"film"
],
"type": "string",
"description": "\"preset\": the scene's own motion (a Studio preset's shots, a Live scene's animation; duration_s sets its length). \"film\" (Studio presets with tagged poses): a film cut from the poses the designers tagged — list_poses first."
},
"beats": {
"type": "array",
"items": {
"type": "object",
"required": [
"pose",
"hold_ms"
],
"properties": {
"next": {
"anyOf": [
{
"type": "object",
"required": [
"kind"
],
"properties": {
"ms": {
"type": "number",
"maximum": 6000,
"description": "The glide's length; default from the distance and the mood.",
"exclusiveMinimum": 0
},
"kind": {
"type": "string",
"const": "glide"
},
"easing": {
"type": "string",
"maxLength": 24,
"description": "The curve, by name: Soft, Flow, Sweep, Settle, Ease, Smooth, Snap, Linear."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "cut"
}
},
"additionalProperties": false
}
],
"description": "How it leaves for the next beat: a glide inside one shot size, a cut where it changes (wide ↔ close-up). Left out, the rules choose. Not on the last beat."
},
"pose": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "The pose's number from list_poses (1 first)."
},
"hold_ms": {
"type": "number",
"maximum": 60000,
"minimum": 0,
"description": "How long the camera stays on the pose (it drifts round it), ms."
}
},
"additionalProperties": false
},
"maxItems": 80,
"minItems": 2,
"description": "film: the poses in order, as you chose them from list_poses; held to the rules (repairs come back in the answer, a film that breaks one is refused with the reason). Leave recipe out."
},
"recipe": {
"type": "object",
"required": [
"duration_ms",
"mood",
"accents"
],
"properties": {
"loop": {
"type": "boolean",
"description": "Close on the pose it opened with, so the film loops."
},
"mood": {
"enum": [
"calm",
"smooth",
"dynamic"
],
"type": "string",
"description": "calm: long holds, slow soft glides. smooth (default): even holds, flowing glides. dynamic: quick glides, snappy curve. Every mood cuts where the shot size changes."
},
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 1,
"description": "Another take of the same recipe. Default 1."
},
"accents": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "How many close-ups (Accent poses) at most."
},
"duration_ms": {
"type": "integer",
"maximum": 60000,
"minimum": 2000,
"description": "The film's length in ms, 2000–60000. A target, not exact: the shortest hold and glide of each beat can make a short film run a little over (a 4 s recipe came out 4.5 s); the answer states the length it played."
}
},
"description": "film: what the film should be; the server picks and orders the poses by the rules. Leave beats out.",
"additionalProperties": false
},
"duration_s": {
"type": "number",
"maximum": 60,
"minimum": 1,
"description": "preset only (a Studio preset's own motion): the video's length in seconds, 1–60. The preset's animation plays again to that length when the scene loops, else holds its last frame; shorter than the animation, it is cut. Not with film (a film has its own duration_ms). A render on the server, never the live preview."
}
},
"description": "Default: the scene's own motion — but a device word whose preset has tagged poses plays a film (smooth, 10 s). The camera is the scene's own or the tagged poses'; never a camera move of your own.",
"additionalProperties": false
},
"render": {
"type": "boolean",
"default": false,
"description": "A device animation (device instead of scene_id, a video) is answered as a live preview the person plays in the chat card — no render, no video counted, up to 100 previews a day; the card's Download video renders the file in the person's browser. true: render the video file on the server instead (a video of the day), for a person who asked for a video file or approved the preview. Stills and a scene_id's video always render."
},
"time_s": {
"type": "number",
"maximum": 3600,
"minimum": 0,
"description": "A still's moment, in seconds into the scene's video; default the opening moment (0.2 s) of a Studio scene, the middle of a Live one; past its end the last frame. png/jpeg only."
},
"root_id": {
"type": "string",
"maxLength": 64,
"description": "A Studio preset's root_id, as search gave it; absent for a Studio model and for Live."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"description": "The address the browser bar shows. Default: the captured page's. With no image, render_mockup captures this page for the screen: its first screen at the size the browser UI leaves, light or dark as ui_theme says (default light), no extra call."
},
"screen": {
"type": "integer",
"maximum": 7,
"minimum": 0,
"description": "Which screen, 0 first; default: the item's place in the list."
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50,
"description": "Laptop or monitor only: the device UI's size in percent, 100 = the device's own (a 27\" display's bars are already smaller than a laptop's). Default 100."
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string",
"description": "Light or dark device UI. Default: the bars follow the page's own colours (the status bar the top edge, Safari's bar the bottom)."
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string",
"description": "Whose UI, when the guess from the mockup's name is wrong (the result says what was read): a phone ios or android, a tablet ipad, a laptop or monitor macos, windows or neutral (the design's window alone on a wallpaper)."
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string",
"description": "The device's own UI round the picture, as in render_mockup: \"auto\" (default) draws it round a screenshot whose proportions differ from the screen's (status bar on a phone or tablet, the browser on a laptop or monitor) and always round a website (a capture_url page); a picture matching the screen fills it. \"browser\" (the address shows url), \"system\" (OS bars only), \"none\" when the picture already shows its own bars. A clip (video_ref, video_url) gets the bars too, the page scrolling inside them: auto gives them to a captured site (capture_video), \"browser\" or \"system\" to any clip."
},
"image_ref": {
"type": "string"
},
"image_url": {
"type": "string"
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
}
}
},
"default": [],
"maxItems": 8,
"description": "A picture or a clip for each screen (one of image_ref, image_url, video_ref or video_url; or url alone, a public page that is captured, first screen, and shown in the device's browser, at most 3 pages per call); a screen left out keeps the scene's own. A screenshot of other proportions than the screen gets the device's UI around it (device_ui), never stretched under the Dynamic Island."
},
"scene_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The scene_id search gave a Live or Studio result. Leave it out and pass device instead to animate a device."
},
"overrides": {
"type": "object",
"properties": {
"camera": {
"type": "object",
"properties": {
"lens": {
"type": "number",
"maximum": 80,
"minimum": 5,
"description": "Field of view in degrees."
},
"zoom": {
"type": "number",
"maximum": 10,
"minimum": 0.1,
"description": "The scene's zoom times this (1 = as designed); a push-in keeps its shape."
},
"angle": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 360,
"minimum": -360
},
"y": {
"type": "number",
"maximum": 360,
"minimum": -360
},
"z": {
"type": "number",
"maximum": 360,
"minimum": -360
}
},
"description": "The device HELD at this turn (degrees): its turning animation stops; other motion stays.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"device": {
"type": "object",
"properties": {
"lid": {
"type": "number",
"maximum": 360,
"minimum": 0,
"description": "How far a lid or hinge stands open, degrees."
},
"color": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "The device colour by name (\"space black\", \"silver\") or #hex, from the colours the model is made in; the answer names them when one does not match."
},
"materials": {
"type": "object",
"description": "By the material's name in the model.",
"propertyNames": {
"type": "string",
"maxLength": 60
},
"additionalProperties": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Tints the base colour."
},
"metalness": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"roughness": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"lights": {
"type": "object",
"properties": {
"lamps": {
"type": "object",
"description": "By the lamp's name in the scene (e.g. key, rim); an unknown name changes nothing: the answer says so and lists the scene's lamps (list_poses shows them too).",
"propertyNames": {
"type": "string",
"maxLength": 60
},
"additionalProperties": {
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"azimuth": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Degrees round the device: 0 in front, 90 right, −90 left."
},
"elevation": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Degrees: −90 below, 90 above."
},
"intensity": {
"type": "number",
"maximum": 50,
"minimum": 0,
"description": "The Lights panel's units (its slider runs 0–3)."
}
},
"additionalProperties": false
}
},
"brightness": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Every lamp's intensity times this (1 = as designed), animated ones too."
},
"environment": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"rotation": {
"type": "number",
"maximum": 360,
"minimum": 0,
"description": "Degrees."
},
"intensity": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Percent."
}
},
"description": "The HDR environment light.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"screen": {
"type": "object",
"properties": {
"bend": {
"type": "number",
"maximum": 100,
"minimum": -100,
"description": "Frame plates only: the plate's curl."
},
"glow": {
"type": "number",
"maximum": 500,
"minimum": 0,
"description": "Screen glow intensity, 0–500."
},
"opacity": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "The display, 0 (off) – 100."
},
"reflection": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Reflection on the glass, 0–100."
}
},
"additionalProperties": false
},
"effects": {
"type": "object",
"properties": {
"crt": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "CRT lines on the screen. false takes it off (the pass and its animation)."
},
"blur": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
},
"focusX": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Focus point, 0–1 of the frame's width."
},
"focusY": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"focusSize": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Sharp area's size, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Screen blur (depth of field round a focus point). false takes it off (the pass and its animation)."
},
"bloom": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
},
"radius": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Radius, 0–100 % of the Studio slider."
},
"threshold": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Threshold, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Bloom (glow round bright parts). false takes it off (the pass and its animation)."
},
"grade": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"properties": {
"tint": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"gamma": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"blacks": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"dehaze": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"whites": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"clarity": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"shadows": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"contrast": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"exposure": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"vibrance": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"sharpness": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"highlights": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"saturation": {
"type": "number",
"maximum": 100,
"minimum": -100
},
"temperature": {
"type": "number",
"maximum": 100,
"minimum": -100
}
},
"additionalProperties": false
}
],
"description": "The colour grade, each dial −100–100 (0 untouched). false takes it off (the pass and its animation)."
},
"grain": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"size": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Grain size, 0–100 % of the Studio slider."
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Film grain. false takes it off (the pass and its animation)."
},
"fisheye": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Fisheye lens. false takes it off (the pass and its animation)."
},
"lensBlur": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"properties": {
"focus": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Focus distance, 0–100 % of the Studio slider."
},
"range": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Focus range, 0–100 % of the Studio slider."
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Depth-based lens blur. false takes it off (the pass and its animation)."
},
"vignette": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Darkness, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Vignette. false takes it off (the pass and its animation)."
},
"aberration": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Chromatic aberration. false takes it off (the pass and its animation)."
},
"colorBalance": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"properties": {
"b": {
"type": "number",
"maximum": 200,
"minimum": 0
},
"g": {
"type": "number",
"maximum": 200,
"minimum": 0
},
"r": {
"type": "number",
"maximum": 200,
"minimum": 0
}
},
"additionalProperties": false
}
],
"description": "Colour balance per channel, 0–200 (100 untouched). false takes it off (the pass and its animation)."
},
"glassGhosting": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Strength, 0–100 % of the Studio slider."
}
},
"additionalProperties": false
}
],
"description": "Glass ghosting on the screen. false takes it off (the pass and its animation)."
}
},
"description": "Post effects. Each: false = off, or its dials; left out = as the scene has it.",
"additionalProperties": false
},
"background": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"color"
],
"properties": {
"type": {
"type": "string",
"const": "solid"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"stops"
],
"properties": {
"type": {
"type": "string",
"const": "linear"
},
"angle": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "CSS degrees: 180 (default) top → bottom, 90 left → right."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color"
],
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"position": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "0–100 along the ramp; default evenly spread."
}
},
"additionalProperties": false
},
"maxItems": 8,
"minItems": 2
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"stops"
],
"properties": {
"type": {
"type": "string",
"const": "radial"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color"
],
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"position": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "0–100 along the ramp; default evenly spread."
}
},
"additionalProperties": false
},
"maxItems": 8,
"minItems": 2
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url"
],
"properties": {
"fit": {
"enum": [
"cover",
"fit",
"tile"
],
"type": "string"
},
"url": {
"type": "string",
"format": "uri",
"description": "An https URL on mckp-live-s3-directus.b-cdn.net (an ls.graphics / mckp.live CDN file). Other hosts are refused; a picture of the person's own cannot be a background yet."
},
"type": {
"type": "string",
"const": "image"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 1000000000,
"minimum": 0,
"description": "Another pick."
},
"type": {
"type": "string",
"const": "match"
}
},
"description": "A background picked from the screen's design.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "transparent"
}
},
"description": "No background: only a PNG still keeps the alpha; a video has none.",
"additionalProperties": false
}
],
"description": "The plate behind the device: {type: \"solid\", color}, \"linear\" / \"radial\" (stops), \"image\" (url), \"match\" (picked from the design) or \"transparent\"."
}
},
"description": "Studio only: the scene's settings for THIS render, as a person sets them in Studio's panels — background (solid, gradient, an image on mckp-live-s3-directus.b-cdn.net, matched to the design, transparent), effects (blur, lens blur, aberration, vignette, fisheye, grain, bloom, CRT, glass ghosting, colour balance, grade), lights (overall brightness, a lamp by name, the environment), screen (glow, reflection, opacity), device (its colour by name or hex, the lid, materials) and camera (zoom, lens, a held angle). Left out = as the scene has it; nothing is saved. A video with overrides renders on the server (the live preview cannot show them yet).",
"additionalProperties": false
},
"scene_type": {
"enum": [
"live",
"studio"
],
"type": "string",
"description": "Required: the result's scene_type, live or studio (not its kind field, which names the object)."
}
},
"additionalProperties": {}
}| dry_run | boolean | true: check the call without rendering. The arguments, every mockup or row, image and named placeholder are checked, and the answer lists the planned outputs, the cost (renders, page captures) and how it compares with the renders left today. Whether the account may use a mockup, and the format and size it gets, are checked only when it renders. Nothing is rendered and nothing is counted. |
| effects | object | As in render_mockup. |
| max_edge | any | As in render_mockup. |
| mockup_id | string | As in render_mockup. |
| background | any | As in render_mockup. |
| variant_id | string | As in render_mockup. |
| adjustments | object | As in render_mockup. |
| composition | object | As in render_mockup. |
| layer_colors | array | As in render_mockup. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items"
],
"properties": {
"look": {
"enum": [
"warm",
"cool",
"film",
"punchy",
"muted",
"mono"
],
"type": "string",
"description": "As in render_mockup."
},
"trim": {
"type": "boolean",
"description": "As in render_mockup."
},
"asset": {
"type": "string",
"description": "As in render_mockup."
},
"fresh": {
"type": "boolean",
"description": "As in render_mockup."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"contents"
],
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"description": "What this one is, e.g. \"screen 2 — workout\" or \"de\", used in its file name."
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fit": {
"enum": [
"cover",
"contain",
"fill",
"pattern"
],
"type": "string"
},
"url": {
"type": "string",
"maxLength": 2000
},
"fill": {
"type": "string"
},
"align": {
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"color": {
"type": "string"
},
"scale": {
"type": "number",
"maximum": 20,
"minimum": 0.05
},
"ui_size": {
"type": "number",
"maximum": 200,
"minimum": 50
},
"offset_x": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"offset_y": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"ui_theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"device_os": {
"enum": [
"ios",
"android",
"ipad",
"macos",
"windows",
"neutral"
],
"type": "string"
},
"device_ui": {
"enum": [
"auto",
"browser",
"system",
"none"
],
"type": "string"
},
"image_ref": {
"type": "string"
},
"image_svg": {
"type": "string"
},
"image_url": {
"type": "string"
},
"placement": {
"type": "object",
"required": [
"mode"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"as": {
"enum": [
"logo",
"artwork"
],
"type": "string"
},
"fill": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
]
},
"mode": {
"enum": [
"logo",
"window",
"print"
],
"type": "string"
},
"color": {
"type": "string"
},
"radius": {
"type": "number",
"maximum": 10,
"minimum": 0
},
"shadow": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"size_pct": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"wallpaper": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"preset": {
"anyOf": [
{
"type": "integer",
"maximum": 15,
"minimum": 1
},
{
"type": "string"
}
]
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"padding_pct": {
"type": "number",
"maximum": 33,
"minimum": 0
},
"fill_opacity": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"rotation_deg": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"video_ref": {
"type": "string"
},
"video_url": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"rotation_deg": {
"type": "number",
"maximum": 360,
"minimum": -360
}
}
},
"maxItems": 32,
"minItems": 1,
"description": "What goes into the placeholders for this file, as in render_mockup."
}
},
"additionalProperties": false
},
"maxItems": 12,
"minItems": 2,
"description": "2–12 files, in order: each its own contents, everything else shared."
},
"format": {
"enum": [
"png",
"jpeg"
],
"type": "string",
"description": "As in render_mockup: default jpeg (png when background is \"transparent\"). A video is render_mockup with format mp4."
},
"layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"layer": {
"type": "string"
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"visible": {
"type": "boolean"
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
},
"dry_run": {
"type": "boolean",
"description": "true: check the call without rendering. The arguments, every mockup or row, image and named placeholder are checked, and the answer lists the planned outputs, the cost (renders, page captures) and how it compares with the renders left today. Whether the account may use a mockup, and the format and size it gets, are checked only when it renders. Nothing is rendered and nothing is counted."
},
"effects": {
"type": "object",
"properties": {
"blur": {
"type": "object",
"required": [
"amount"
],
"properties": {
"focus": {
"type": "object",
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"size": {
"type": "number",
"maximum": 1.5,
"minimum": 0.02
}
}
},
"amount": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"grain": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"vignette": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"aberration": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"description": "As in render_mockup."
},
"max_edge": {
"anyOf": [
{
"type": "integer",
"maximum": 12000,
"minimum": 256
},
{
"type": "string",
"const": "full"
}
],
"description": "As in render_mockup."
},
"mockup_id": {
"type": "string",
"description": "As in render_mockup."
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"gradient"
],
"properties": {
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
}
],
"description": "As in render_mockup."
},
"variant_id": {
"type": "string",
"description": "As in render_mockup."
},
"adjustments": {
"type": "object",
"properties": {
"hue": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"contrast": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"vibrance": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"lightness": {
"type": "number",
"maximum": 1,
"minimum": -1
},
"saturation": {
"type": "number",
"maximum": 1,
"minimum": -1
}
},
"description": "As in render_mockup."
},
"composition": {
"type": "object",
"properties": {
"fit": {
"enum": [
"crop",
"contain",
"product"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"aspect": {
"enum": [
"1:1",
"4:5",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string"
},
"height": {
"type": "integer",
"maximum": 8192,
"minimum": 16
}
},
"description": "As in render_mockup."
},
"layer_colors": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"color": {
"type": "string"
},
"layer": {
"type": "string"
},
"gradient": {
"type": "object",
"required": [
"angle",
"stops"
],
"properties": {
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 8,
"minItems": 2
}
}
}
}
},
"maxItems": 50,
"description": "As in render_mockup."
}
},
"additionalProperties": {}
}| scene_type |
| string |
| Which catalogue: "static" (default: still mockups you can render here), "live" (Origin: animated scenes), "studio" (3D Studio presets and models) or "any" (Static plus animated scenes). Live and Studio results are animated scenes rendered as video or a still frame, need the full MCP tier, and render with render_scene or open on their ls.graphics page (page_url). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "0-based page of limit results (default 12): page 1 starts right after the first limit results."
},
"limit": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "Results per page, 1–60 (default 12). Ask for more only when the person wants to browse; the next page starts after these."
},
"query": {
"type": "string",
"description": "English product words, e.g. \"iphone 17 pro\", \"coffee cup\", \"hoodie\", \"business card\". Empty lists the newest mockups first."
},
"free_only": {
"type": "boolean",
"description": "Only mockups marked free on ls.graphics."
},
"scene_type": {
"enum": [
"static",
"live",
"studio",
"any"
],
"type": "string",
"description": "Which catalogue: \"static\" (default: still mockups you can render here), \"live\" (Origin: animated scenes), \"studio\" (3D Studio presets and models) or \"any\" (Static plus animated scenes). Live and Studio results are animated scenes rendered as video or a still frame, need the full MCP tier, and render with render_scene or open on their ls.graphics page (page_url)."
}
},
"additionalProperties": {}
}