Install
openclaw skills install @rishimohan/orshotGenerate images, PDFs, and videos from templates with Orshot — via the REST API, SDKs (Node/Python/PHP/Ruby), the remote MCP server, or no-code tools (Zapier, Make, n8n, Airtable), and wire those renders into a recurring automation. Use whenever the user mentions Orshot, connects Orshot to an AI age
openclaw skills install @rishimohan/orshotOrshot is an automated image, PDF, and video generation platform. Design templates in Orshot Studio (or import from Canva/Figma), then generate renders via REST API, SDKs, or no-code integrations.
Use this skill whenever the user mentions Orshot, or when the task is:
Don't use this skill for generating standalone AI images with no template or Orshot involved (a one-off "make me an image" request) — that isn't what Orshot does.
Any page on orshot.com can be fetched as clean markdown by appending .md to the URL or sending Accept: text/markdown header. Use this to get detailed, up-to-date information on demand without relying solely on this skill file.
Examples:
https://orshot.com/docs/api-reference.md
https://orshot.com/docs/sdks/node.md
https://orshot.com/docs/publish/publish-from-api.md
https://orshot.com/docs/developers/oauth-overview.md
https://orshot.com/docs/orshot-embed/introduction.md
https://orshot.com/blog/bannerbear-api-alternative.md
Key documentation pages:
| Topic | URL |
|---|---|
| API Reference | https://orshot.com/docs/api-reference.md |
| Node.js SDK | https://orshot.com/docs/sdks/node.md |
| Python SDK | https://orshot.com/docs/sdks/python.md |
| PHP SDK | https://orshot.com/docs/sdks/php.md |
| Ruby SDK | https://orshot.com/docs/sdks/ruby.md |
| Studio Templates | https://orshot.com/docs/orshot-studio/introduction.md |
| Style Parameters | https://orshot.com/docs/orshot-studio/style-parameters.md |
| Setting Parameters | https://orshot.com/docs/orshot-studio/setting-parameters.md |
| Image Generation | https://orshot.com/docs/image-generation.md |
| Video Generation | https://orshot.com/docs/video-generation.md |
| PDF Generation | https://orshot.com/docs/pdf-generation.md |
| Social Publishing | https://orshot.com/docs/publish/introduction.md |
| OAuth / Developer Apps | https://orshot.com/docs/developers.md |
| White-Label Embed | https://orshot.com/docs/orshot-embed/introduction.md |
| Integrations | https://orshot.com/docs/integrations.md |
| Dynamic URLs | https://orshot.com/docs/integrations/dynamic-urls.md |
| Webhooks | https://orshot.com/docs/integrations/webhooks.md |
| Error Reference | https://orshot.com/docs/error-reference.md |
When a user asks about a specific topic, fetch the relevant .md URL for the latest details.
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer <ORSHOT_API_KEY>
Get your API key from Workspace Settings → API Keys in the Orshot dashboard.
Orshot runs a hosted MCP server so agents (Claude, Cursor, Codex, Windsurf, ChatGPT, etc.) can use Orshot as tools — no local install.
https://mcp.orshot.com/mcp (transport: streamable-http)claude mcp add --transport http orshot https://mcp.orshot.com/mcpIt exposes tools for rendering, studio + library templates, brand assets, workflows, social accounts, and workspace/logs. Full discovery doc: https://orshot.com/.well-known/mcp.json. Setup guide: https://orshot.com/docs/integrations/mcp-server.md.
npm install orshot
import { Orshot } from "orshot";
const orshot = new Orshot("<ORSHOT_API_KEY>");
// Render from template
const response = await orshot.renderFromTemplate({
templateId: "open-graph-image-1",
modifications: { title: "Hello World" },
responseType: "base64", // "base64" | "url" | "binary"
responseFormat: "png", // "png" | "webp" | "jpg" | "pdf"
});
// Generate signed URL
const signedUrl = await orshot.generateSignedUrl({
templateId: "open-graph-image-1",
modifications: { title: "Hello" },
expiresAt: 1744276943,
renderType: "images",
responseFormat: "png",
});
pip install orshot
import orshot
os = orshot.Orshot('<ORSHOT_API_KEY>')
response = os.render_from_template({
'template_id': 'open-graph-image-1',
'modifications': {'title': 'Hello World'},
'response_type': 'base64',
'response_format': 'png'
})
composer require rishimohan/orshotgem install orshotThe mistakes that most often make Orshot calls fail or return the wrong output:
parameterId, not layer name. modifications: { "headline": "..." } targets the element whose parameterId is headline. If a value is ignored, the key is wrong — fetch the template's modifications (GET /v1/studio/templates/:id) to see the real keys instead of guessing.pageN@ prefix. Use "page1@title", "page2@title". A bare "title" only affects page 1.templateId is an integer; utility templateId is a string. /v1/studio/render takes an integer ID; /v1/generate/:renderType takes a string slug like "website-screenshot".format: "mp4" on an image-only template fails — the template must contain at least one video element.localhost, expired signed URLs, or auth-gated URLs won't load."title.fontSize": "48px", not a nested object.data is an object (read data.content); multi-page/carousel → data is an array of { page, content }. Handle both.base64 and binary response types don't combine — binary returns one raw file stream..prompt (AI) modifications additionally spend AI Credits.429, back off using the Retry-After response header.When unsure about a template's parameters, always fetch its modifications first.
This section describes the complete structure of an Orshot template for MCP tools and AI agents.
An Orshot template consists of pages, each containing a canvas and elements.
Template
├── id: number | string
├── name: string
├── description: string
├── width: number
├── height: number
├── pages_data: Array
└── Page
├── id: string (UUID)
├── name: string
├── canvas: CanvasConfig
├── width: number
├── height: number
├── backgroundColor: string
├── backgroundImage: string
├── elements: Element[]
├── modifications: Modification[] (API parameters)
├── id: string
├── type: string
├── element: Element
├── description: string
└── thumbnail_url: string | null
| Property | Type | Default | Description |
|---|---|---|---|
width | number | 800 | Canvas width in pixels (max: 5000) |
height | number | 800 | Canvas height in pixels (max: 5000) |
backgroundColor | string | "#ffffff" | Background color (hex, rgba, or gradient) |
backgroundImage | string | "" | URL to background image |
borderWidth | number | 0 | Border width in pixels |
borderColor | string | "rgba(0,0,0,1)" | Border color |
borderStyle | string | "solid" | Border style (solid, dashed, etc) |
| Name | Dimensions | Use Case |
|---|---|---|
| Square | 1080×1080 | Instagram posts, general social |
| Instagram Story | 1080×1920 | Stories, Reels, TikTok |
| Slide/Presentation | 1920×1080 | Presentations, slides |
| YouTube Thumbnail | 1280×720 | Video thumbnails |
| Twitter Post | 1600×900 | X/Twitter posts |
| Open Graph | 1200×630 | Link previews, Facebook |
| Pinterest Pin | 1000×1500 | |
| A4 Document | 2480×3508 | Print documents |
| App Store Screenshot | 1290×2796 | iOS app screenshots |
All elements share these base properties:
| Property | Type | Description |
|---|---|---|
id | string | Unique identifier (UUID) |
name | string | Display name in layer list (was layerName) |
type | string | "text", "image", "shape", "video" |
position | object | { x: number, y: number } from top-left |
dimensions | object | { width: number, height: number } |
rotation | number | Rotation in degrees (0-360) |
zIndex | number | Layer order (higher = on top) |
aspectRatioLocked | boolean | Lock aspect ratio during resize |
isHidden | boolean | Hide element from render |
skewX | number | Horizontal skew angle |
skewY | number | Vertical skew angle |
Content Types:
"Hello World" - Standard text string\n for line breaks: "Line 1\nLine 2".prompt modifier for AI-generated text{
type: "text",
content: string, // Plain text string
layerName: string, // Display name
zIndex: number,
rotation: number,
position: { x: number, y: number },
dimensions: { width: number, height: number },
style: {
// Typography
fontFamily: string, // e.g., "Inter", "Prata", "SF Pro"
fontSize: string, // e.g., "48px"
fontWeight: string | number, // "400", "700", 700
fontStyle: string, // "normal", "italic"
lineHeight: number, // e.g., 1.2
letterSpacing: string, // e.g., "0px", "2px"
// Appearance
fill: string, // Color or gradient
color: string, // Hex or rgba
opacity: number, // 0-1
stroke: string, // Stroke color
strokeWidth: string, // e.g., "0px"
// Alignment & Layout
textAlign: string, // "left", "center", "right"
verticalAlign: string, // "flex-start", "center", "flex-end"
textTransform: string, // "none", "uppercase"
textDecoration: string, // "none", "underline"
textMode: string, // "overflow", "fit"
paddingX: string,
paddingY: string,
// Borders & Backgrounds
borderColor: string,
borderWidth: string,
borderRadius: string,
textBackgroundColor: string,
textBackgroundRadius: string,
textStrokeColor: string,
textStrokeWidth: string,
// Effects
minFontSize: string, // For "fit" mode
filter: string, // e.g., "blur(0px)"
mixBlendMode: string, // "normal", "multiply", etc.
boxShadowX: string,
boxShadowY: string,
boxShadowBlur: string,
boxShadowColor: string,
dropShadowX: string,
dropShadowY: string,
dropShadowBlur: string,
dropShadowColor: string
},
// Parameterization
parameterizable: boolean,
parameterId: string,
parameterType: "text"
}
Gradient text:
color: "linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 100%)";
Content Types:
"https://example.com/image.png" - Best for dynamic content"data:image/png;base64,iVBORw0KGgo..." - For embedded images{
type: "image",
content: string, // URL (preferred), base64, or binary
isSvg: boolean,
layerName: string,
style: {
// Sizing & Positioning
objectFit: string, // "contain", "cover", "fill"
objectPosition: string, // "center", "top left"
// Appearance
opacity: number,
fill: string, // Background fill
stroke: string, // Border stroke
// Borders
borderRadius: string, // "0px", "12px", "50%"
borderWidth: string,
borderColor: string,
// Effects
filter: string, // "blur(2px)", "grayscale(100%)"
mixBlendMode: string,
boxShadowX: string,
boxShadowY: string,
boxShadowBlur: string,
boxShadowColor: string,
dropShadowX: string,
dropShadowY: string,
dropShadowBlur: string,
dropShadowColor: string,
svgColor: string // Recolor monochrome SVGs
},
parameterType: "imageUrl"
}
{
type: "shape",
shapeType: string, // "rectangle", "circle", "arrow"
layerName: string,
style: {
// Fill & Stroke
fill: string, // Color or gradient
stroke: string,
strokeWidth: string, // e.g. "0px"
// Dimensions
borderRadius: string, // Rectangle only
borderWidth: string,
borderColor: string,
borderStyle: string,
// Appearance
opacity: number,
filter: string,
mixBlendMode: string,
// Shadows
boxShadowX: string,
boxShadowY: string,
boxShadowBlur: string,
boxShadowColor: string,
dropShadowX: string,
dropShadowY: string,
dropShadowBlur: string,
dropShadowColor: string
},
parameterType: "fill"
}
Gradient fills:
fill: "linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%)";
fill: "radial-gradient(circle at center, #FF6B6B 0%, #4ECDC4 100%)";
Content Types:
"https://example.com/video.mp4" - Must be a publicly accessible URL{
type: "video",
content: string, // Video URL (must be publicly accessible)
videoOptions: {
loop: boolean,
muted: boolean,
trim_start_time: string,
trim_end_time: string,
duration: number | null
},
style: {
// Sizing & Positioning
objectFit: string, // "contain", "cover", "fill"
objectPosition: string,
// Appearance
opacity: number,
filter: string,
mixBlendMode: string,
// Borders & Shadows
borderRadius: string,
borderWidth: string,
borderColor: string,
elementBoxShadowX: string,
elementBoxShadowY: string,
elementBoxShadowBlur: string,
elementBoxShadowColor: string
},
parameterType: "videoUrl"
}
When creating or updating templates, always ensure all text, image, and video elements are parameterizable with unique IDs. This enables dynamic content replacement via the API.
Every dynamic element MUST have:
{
parameterizable: true,
parameterId: "unique_id", // Unique across template, lowercase with underscores
parameterType: "text" | "imageUrl" | "videoUrl"
}
| Element Type | parameterId Examples | parameterType |
|---|---|---|
| Text | headline, subtitle, cta_text, price | "text" |
| Image | product_image, logo, background_image | "imageUrl" |
| Video | hero_video, background_video | "videoUrl" |
product_title not text1card_title, card_image)Before finalizing any template update:
parameterizable: true and unique parameterIdparameterizable: true and unique parameterIdparameterizable: true and unique parameterIdPopular font pairings:
Prata + InterInstrument Serif + DM SansPlayfair Display + LatoMontserrat + Open SansPlatform-specific fonts:
SF Pro Display, SF Pro TextGoogle Sans, RobotoLuxury/Gold palette:
#D4AF37#B8860B#F5E7A3iOS system colors:
#007AFF#8E8E93#F5F5F7Professional dark:
#0F172A#1E293B, #334155#64748B, #94A3B8Best practices:
zIndex ordering:
Add text element:
addElement("text", {
content: "Hello World",
fontFamily: "Inter",
fontSize: 48,
fontWeight: "700",
color: "#FFFFFF",
x: 100,
y: 100,
width: 400,
height: 60,
});
Add shape backdrop:
addElement("rectangle", {
fill: "rgba(0,0,0,0.5)",
width: 1080,
height: 200,
x: 0,
y: 800,
borderRadius: "0px",
});
Batch update multiple elements:
batchUpdate([
{
elementId: "heading",
type: "ORSHOT_UPDATE_ELEMENT",
updates: { style: { fontSize: 72 } },
},
{
elementId: "subtitle",
type: "ORSHOT_UPDATE_ELEMENT",
updates: { style: { color: "#94A3B8" } },
},
{ type: "ORSHOT_UPDATE_CANVAS", updates: { backgroundColor: "#0F172A" } },
]);
Generate images/PDFs/videos from templates designed in Orshot Studio.
POST https://api.orshot.com/v1/studio/render
await fetch("https://api.orshot.com/v1/studio/render", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
templateId: 123, // Integer - your studio template ID
modifications: {
title: "Hello World",
imageUrl: "https://example.com/photo.jpg",
canvasBackgroundColor: "#eff2fa",
},
response: {
type: "base64", // "base64" | "url" | "binary"
format: "png", // "png" | "webp" | "jpg" | "pdf" | "mp4" | "webm" | "gif"
scale: 1, // 1 = original size, 2 = double
includePages: [1, 3], // optional – only for multi-page templates
fileName: "my-render", // optional – custom filename (without extension)
},
pdfOptions: {
// optional – only when format is "pdf"
margin: "20px",
rangeFrom: 1,
rangeTo: 2,
colorMode: "rgb", // "rgb" or "cmyk"
dpi: 300,
},
}),
});
Response (single page):
{
"data": {
"content": "data:image/png;base64,iVBORw0.....",
"format": "png",
"type": "base64",
"responseTime": 325.22
}
}
Response (multi-page/carousel):
{
"data": [
{ "page": 1, "content": "https://storage.orshot.com/.../image1.png" },
{ "page": 2, "content": "https://storage.orshot.com/.../image2.png" }
],
"format": "png",
"type": "url",
"responseTime": 3166.01,
"totalPages": 2,
"renderedPages": 2
}
Generate renders from Orshot's pre-built utility templates (e.g., website screenshots, tweet images).
POST https://api.orshot.com/v1/generate/{renderType}
renderType: images or pdfsawait fetch("https://api.orshot.com/v1/generate/images", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
templateId: "website-screenshot", // String ID for utility templates
response: {
format: "png",
type: "base64",
},
modifications: {
websiteUrl: "https://example.com",
fullCapture: false,
delay: 500,
width: 1200,
height: 1000,
},
}),
});
Create publicly accessible render URLs without exposing your API key.
POST https://api.orshot.com/v1/signed-url/create
await fetch("https://api.orshot.com/v1/signed-url/create", {
method: "POST",
headers: {
Authorization: "Bearer <ORSHOT_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
templateId: "website-screenshot",
expiresAt: 1744550160505, // UNIX timestamp, or null for no expiry
renderType: "images",
modifications: {
websiteUrl: "https://example.com",
},
}),
});
GET https://api.orshot.com/v1/studio/templates/all?page=1&limit=10
Response includes data array of templates and pagination object with page, limit, total, totalPages.
GET https://api.orshot.com/v1/studio/templates/:templateId
Returns the template metadata including available modifications.
DELETE https://api.orshot.com/v1/studio/templates/:templateId
POST https://api.orshot.com/v1/studio/templates/:templateId/duplicate
GET https://api.orshot.com/v1/me
Returns your profile and the workspaces your API key or OAuth token can access, including plan info and credit usage.
Brand assets are grouped by type — images, colors, fonts, videos, audio — each with its own routes under /v1/brand-assets/{type}/….
GET https://api.orshot.com/v1/brand-assets/images/getPOST https://api.orshot.com/v1/brand-assets/images/add — multipart/form-data with a file fieldPATCH https://api.orshot.com/v1/brand-assets/images/update/:idDELETE https://api.orshot.com/v1/brand-assets/images/delete/:idGET https://api.orshot.com/v1/brand-assets/colors/getPOST https://api.orshot.com/v1/brand-assets/colors/add — body { type: "hex" | "gradient", value, tags? }PATCH https://api.orshot.com/v1/brand-assets/colors/update/:idDELETE https://api.orshot.com/v1/brand-assets/colors/delete/:idSame shape — swap the type segment (fonts, videos, audio):
GET /v1/brand-assets/{type}/getPOST /v1/brand-assets/{type}/add (multipart/form-data, file field)PATCH /v1/brand-assets/{type}/update/:idDELETE /v1/brand-assets/{type}/delete/:idGET https://api.orshot.com/v1/brand-assets/searchUse an uploaded asset in a render by passing its hosted URL as an image/video modification value.
These endpoints require an Enterprise plan.
POST https://api.orshot.com/v1/studio/templates/create
{
name: "Product Banner", // required, max 255 chars
description: "Banner template", // optional
canvas_width: 1200, // required, 1-5000
canvas_height: 628, // required, 1-5000
pages_data: [...] // optional - array of page objects with elements
}
POST https://api.orshot.com/v1/studio/templates/bulk-create
Create multiple templates at once via CSV or JSON.
PATCH https://api.orshot.com/v1/studio/templates/:templateId
Update template name and description.
PATCH https://api.orshot.com/v1/studio/templates/:templateId/update-modifications
Update text and image content in template layers.
POST https://api.orshot.com/v1/studio/templates/:templateId/generate-variants
Generate multiple size variants of a template using AI.
Generate images directly from URL parameters:
https://api.orshot.com/v1/studio/dynamic-url/my-image?title=Hello%20World&title.fontSize=48px&title.color=%23ff0000
URL-encode special characters (e.g., # → %23).
Organize studio templates into folders and share them:
GET https://api.orshot.com/v1/studio/foldersPOST https://api.orshot.com/v1/studio/foldersPATCH https://api.orshot.com/v1/studio/folders/:folderIdDELETE https://api.orshot.com/v1/studio/folders/:folderIdPATCH https://api.orshot.com/v1/studio/templates/:templateId/folderGET https://api.orshot.com/v1/studio/templates/:templateId/sharePOST https://api.orshot.com/v1/studio/templates/:templateId/shareWorkflows automate multi-step pipelines (trigger → fetch data → render → publish/deliver). Available to first-party clients (like the Orshot MCP server) and Enterprise workspaces.
GET https://api.orshot.com/v1/workflowsPOST https://api.orshot.com/v1/workflowsGET https://api.orshot.com/v1/workflows/:idPATCH https://api.orshot.com/v1/workflows/:idDELETE https://api.orshot.com/v1/workflows/:idPOST https://api.orshot.com/v1/workflows/:id/runGET https://api.orshot.com/v1/workflows/:id/runsGET https://api.orshot.com/v1/workflows/:id/runs/:runIdPOST https://api.orshot.com/v1/workflows/validateGET https://api.orshot.com/v1/workflows/nodesGET / POST https://api.orshot.com/v1/workflows/:id/shareOverride template styles, content, and behavior at render time using dot notation.
Format: parameterId.property
{
"modifications": {
"title": "Hello World",
"title.fontSize": "48px",
"title.color": "#ff0000",
"title.fontFamily": "Roboto",
"title.textAlign": "center",
"logo.borderRadius": "50%",
"logo.objectFit": "cover"
}
}
Text properties: fontSize, fontWeight, fontStyle, fontFamily, lineHeight, letterSpacing, textAlign, verticalAlign, textDecoration, textTransform, color, backgroundColor, backgroundRadius, textStrokeWidth, textStrokeColor, opacity, filter, dropShadowX/Y/Blur/Color
Image properties: objectFit, objectPosition, borderRadius, borderWidth, borderColor, boxShadowX/Y/Blur/Color, opacity, filter
Shape properties: fill, stroke, strokeWidth, borderRadius, opacity
Position/Size (all elements): x, y, width, height
Property names are case-insensitive.
Prefix modifications with page number:
{
"modifications": {
"page1@title": "Page 1 Title",
"page2@title": "Page 2 Title",
"page1@title.fontSize": "48px"
}
}
Generate text or images using AI:
{
"modifications": {
"headline.prompt": "Write a catchy headline about coffee",
"background.prompt": "A serene mountain landscape at sunset"
}
}
.prompt on a text element generates copy; on an image element it generates imagery. The underlying AI models are managed by Orshot and may change over time — don't hardcode a specific model. AI modifications consume AI Credits.Add clickable links in PDF outputs:
{
"modifications": {
"cta_button.href": "https://example.com/signup",
"logo.href": "https://company.com"
},
"response": { "format": "pdf" }
}
Control video elements dynamically:
{
"modifications": {
"bgVideo": "https://example.com/video.mp4",
"bgVideo.trimStart": 5,
"bgVideo.trimEnd": 15,
"bgVideo.muted": false,
"bgVideo.loop": true
},
"response": { "format": "mp4" }
}
Render templates with video elements as MP4, WebM, or GIF:
await fetch("https://api.orshot.com/v1/studio/render", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
templateId: 123,
modifications: {
videoElement: "https://example.com/custom-video.mp4",
"videoElement.trimStart": 0,
"videoElement.trimEnd": 10,
"videoElement.muted": false,
"videoElement.loop": true,
},
videoOptions: {
trimStart: 0,
trimEnd: 20,
muted: true,
loop: true,
},
response: {
type: "url",
format: "mp4",
},
}),
});
Render a template at a different canvas size without redesigning it — the layout is deterministically re-solved to fit (elements re-anchor, backgrounds stretch, groups move together). Set these on the response object:
size — replace the render size. A preset slug ("instagram-story", "og-image", "youtube-thumbnail", …), a "WIDTHxHEIGHT" string ("1080x1920"), or use width + height (10–5000px each).extraSizes — add the same design at extra sizes in one call. An array (["1080x1920", "1080x1080"]) or a named object ({ story: "1080x1920", square: "1080x1080" }). Each output gains a nested extraSizes array of { size, width, height, content }.{
"templateId": 123,
"modifications": { "title": "Launch Day" },
"response": {
"type": "url",
"format": "png",
"size": "1200x630",
"extraSizes": ["1080x1920", "1080x1080"]
}
}
Image formats only (png/jpg/webp/avif), up to 50 extra outputs per call. Each extra output is billed like a page (1 credit). Saved sizes from the Studio Smart Resize panel reproduce their approved preview exactly.
| Type | Description |
|---|---|
url | Returns a hosted URL to the rendered file |
base64 | Returns base64-encoded content as a string |
binary | Returns binary file content for custom handling |
| Format | Type | Notes |
|---|---|---|
png | Image | Best quality, larger size |
webp | Image | Smaller size, good quality |
jpg | Image | Compressed, no transparency |
avif | Image | Smallest size, modern browsers |
pdf | Doc | Supports multi-page, clickable links, CMYK |
mp4 | Video | H.264, requires video elements in template |
webm | Video | VP9, web-optimized |
mov | Video | QuickTime container |
mkv | Video | Matroska container |
gif | Video | Animated, no audio support |
Usage is measured in credits. 1 credit = 1 image, 1 PDF page, or 1 second of video.
| Output | Cost |
|---|---|
| Image (PNG/JPG/WebP/AVIF) | 1 credit per image |
| 1 credit per page | |
| Video (MP4/WebM/MOV/MKV/GIF) | 1 credit per second |
Multi-page templates and Smart Resize extra sizes: each output page/size counts as its own credit. AI modifications (.prompt) additionally consume AI Credits.
End-to-end patterns for the jobs people most often automate with Orshot.
Render a studio template to a stable hosted URL and drop it into your <meta> tags.
const { data } = await fetch("https://api.orshot.com/v1/studio/render", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <KEY>" },
body: JSON.stringify({
templateId: 123,
modifications: { title: post.title, author: post.author },
response: { type: "url", format: "png", size: "og-image" },
}),
}).then((r) => r.json());
// <meta property="og:image" content={data.content} />
Loop rows and render one PDF each. Describe image layers with .alt for accessible PDFs.
for (const row of rows) {
await fetch("https://api.orshot.com/v1/studio/render", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <KEY>" },
body: JSON.stringify({
templateId: 456,
modifications: { name: row.name, course: row.course, date: row.date },
response: { type: "url", format: "pdf" },
pdfOptions: { title: `${row.name} — Certificate` },
}),
});
}
Add a publish object (see Social Publishing) — no second request.
body: JSON.stringify({
templateId: 123,
modifications: { title: "Launch day!" },
response: { type: "url", format: "png" },
publish: { accounts: [1, 2], content: "We just shipped 🚀" },
});
response: { type: "url", format: "png", extraSizes: ["1080x1920", "1080x1080", "1200x630"] }
// each output gains a nested extraSizes[] of { size, width, height, content }
Create a workflow (trigger → fetch data → render → publish/deliver) with POST /v1/workflows, then trigger it with POST /v1/workflows/:id/run. Inspect results via GET /v1/workflows/:id/runs. Best driven through the MCP server or the Workflows API on Enterprise/first-party clients.
See Setting Up Recurring Automation below for the full playbook, including how to wire it into an n8n/Make/Zapier setup the user already runs.
A one-off render is a demo. The value shows up when it runs unattended. Pick the road that matches where the user ALREADY works, not the one easiest to describe.
Check what they already run before pitching anything. GET /v1/workspace/logs?limit=100
returns a source on every row, which answers it factually:
source in their logs | They already run | Lead with |
|---|---|---|
n8n-integration | n8n | Add a node to the n8n workflow they have |
orshot-make | Make | Add a module to their scenario |
zapier-integration | Zapier | Add an action to their Zap |
orshot-pipedream | Pipedream | Add a step |
orshot-*-sdk, api, cli | Their own code | Write the call into their repo |
only playground / orshot-mcp-server | Nothing yet | Offer Orshot Workflows |
Never pitch a second orchestrator to someone who already has one. A user with a live n8n setup wants this template added to it, not a new tool to learn.
If you have browser control or repo access, offer to DO the setup rather than describe it. Whichever road you take, run it once and show the resulting image URL before calling it done.
Orshot runs the whole loop: trigger, render, deliver. Over MCP:
orshot_suggest_workflows with the templateId — returns automations that
fit this template, with draft-ready stepsorshot_list_workflow_nodes — use the EXACT node keys it returns. Invented
keys (e.g. render_studio_template, slack_send) fail as unknown node;
the real keys are render, slack, and so onorshot_list_connected_integrations — see what is already connectedorshot_get_workflow_connection_data — resolve "my content sheet" into a
concrete id, and confirm the name back to the userorshot_validate_workflow — read errors, warnings AND gated. A gated
entry means a plan block, not a config problem: the draft still saves, only
activation is blocked, so tell the user which plan unlocks it instead of
editing stepsorshot_create_workflow with status: "draft", then share the edit link from
the result — it opens pre-configured in their dashboardorshot_run_workflow — prove it works, then they activateScaffolding shapes. If they have no data source ready, use
webhook → webhook_body → render → orshot_url. It is the only
trigger→source pair needing no OAuth AND it validates clean with empty configs,
so it is runnable immediately and they can POST to it from cron, their app, n8n,
or Make. A bare schedule → render is NOT runnable — it fails with "no data
source"; a schedule needs a source step after it.
Every platform needs the same three things: endpoint, auth header, modification keys. Get the exact keys first — never guess them:
orshot_get_studio_template_modifications (or GET /v1/studio/templates/:id/modifications)
Then the call to drop in:
POST https://api.orshot.com/v1/studio/render
Authorization: Bearer <ORSHOT_API_KEY>
Content-Type: application/json
{
"templateId": 1234,
"modifications": { "headline": "{{ row.title }}", "hero_image": "{{ row.image_url }}" },
"response": { "type": "url", "format": "png" }
}
The response contains the rendered URL — map it to whatever the next step needs.
response.type: "url" in production
so you are not moving base64 around, and keep the API key in an environment
variable, never inline.Recurring triggers that work well: a new spreadsheet/Airtable/Notion row, a schedule, an inbound webhook, or a CMS publish event.
orshot_list_workspace_logs (or GET /v1/workspace/logs) — the new render
appears with the source of whatever fired it, proving which system made itIf the render 403s, read the body: an expired key, an inactive subscription, and a plan limit all return 403 with different messages. A plan block is not an auth problem — do not retry it as one.
Orshot connects with:
npx orshot-cli for terminal-based generation| Code | Error | Fix |
|---|---|---|
| 400 | templateId missing | Add templateId to request body |
| 400 | Invalid API Key | Generate new key from dashboard |
| 403 | Authorization header missing | Add Authorization: Bearer <KEY> header |
| 403 | Subscription inactive | Check usage or upgrade plan |
| 403 | Template not found | Verify template ID belongs to your workspace |
| 403 | Video on free plan | Upgrade to paid plan for video generation |
url response type for production – avoids large base64 payloadswebp format for smaller file sizes with good qualitypx for sizespage1@paramId format for carousel templates?cache=false query param to bypass cache when neededPublish rendered images/videos directly to 13+ social platforms via API. Supports Twitter/X, Instagram, LinkedIn, Pinterest, Facebook, TikTok, YouTube, Threads, Bluesky, Reddit, Telegram, Snapchat, and Google Business.
For detailed setup: fetch https://orshot.com/docs/publish/introduction.md
Connect social accounts in Workspace Settings → Social Accounts in the Orshot dashboard. Each connected account gets a numeric ID used in API calls.
Add the publish object to any render request:
await fetch("https://api.orshot.com/v1/studio/render", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
templateId: 123,
modifications: { title: "New Post" },
response: { type: "url", format: "png" },
publish: {
accounts: [1, 3], // Social account IDs
content: "Check this out!", // Caption text (max 5000 chars)
isDraft: false, // true = save as draft
schedule: { // Optional: schedule for later
scheduledFor: "2026-04-25T14:00:00Z"
},
timezone: "America/New_York",
platformOptions: { // Per-account overrides (keyed by account ID)
"1": { firstComment: "https://example.com" }, // LinkedIn
"3": { title: "Pin Title", link: "https://..." } // Pinterest
}
}
}),
});
Response includes publish status:
{
"data": { "content": "https://storage.orshot.com/..." },
"publish": [
{ "platform": "twitter", "username": "acme", "status": "published", "url": "https://x.com/..." },
{ "platform": "linkedin", "username": "acme", "status": "scheduled" }
]
}
Format compatibility:
Build third-party integrations with Orshot using OAuth 2.0. Register apps, authenticate users, and access their workspaces programmatically.
For detailed setup: fetch https://orshot.com/docs/developers/oauth-overview.md
client_id and client_secretAuthorization Code Flow (web apps):
GET https://orshot.com/oauth/authorize?
response_type=code&
client_id=YOUR_CLIENT_ID&
redirect_uri=https://yourapp.com/callback&
scope=workspace:templates:read workspace:templates:write render:generate
Device Flow (CLI/headless):
POST https://orshot.com/oauth/device/code
client_id=YOUR_CLIENT_ID&
scope=workspace:templates:read render:generate
POST https://orshot.com/oauth/token
grant_type=authorization_code&
code=AUTH_CODE&
client_id=YOUR_CLIENT_ID&
client_secret=YOUR_CLIENT_SECRET&
redirect_uri=https://yourapp.com/callback
| Scope | Description |
|---|---|
workspace:read | List and read workspace details |
workspace:templates:read | List and read templates |
workspace:templates:write | Update template modifications via API |
render:generate | Generate images, PDFs, and videos |
mcp:access | Access via Model Context Protocol |
offline_access | Long-lived refresh tokens |
For endpoint details: fetch https://orshot.com/docs/developers/oauth-endpoints.md
Embed Orshot's template editor into your application as a white-label component. Users can design and customize templates directly in your app.
For detailed setup: fetch https://orshot.com/docs/orshot-embed/introduction.md
<iframe
src="https://orshot.com/embeds/YOUR_EMBED_ID?userId=USER_123"
width="100%"
height="600"
frameborder="0"
></iframe>
npm install @orshot/react
import { OrshotEmbed } from "@orshot/react";
<OrshotEmbed
embedId="YOUR_EMBED_ID"
userId="user_123"
token="JWT_TOKEN"
onRender={(data) => console.log("Rendered:", data)}
onSave={(data) => console.log("Saved:", data)}
/>
npm install @orshot/vue
<template>
<OrshotEmbed
embed-id="YOUR_EMBED_ID"
user-id="user_123"
@render="onRender"
@save="onSave"
/>
</template>
userId to give each user their own template copiesFor React SDK details: fetch https://orshot.com/docs/orshot-embed/react-sdk.md
For Vue SDK details: fetch https://orshot.com/docs/orshot-embed/vue-sdk.md
For webhook setup: fetch https://orshot.com/docs/orshot-embed/webhooks.md
This section maps authentication, endpoints, and request formats for migrating from competing platforms. For detailed comparison articles, fetch the corresponding blog post URL.
The API-call swap is the easy part (mapped per-platform below). The real work is recreating the design, because you can't import another platform's template JSON:
POST /v1/studio/templates/create). Rebuild the layout, then mark every dynamic layer parameterizable with a clear parameterId.parameterIds. Other platforms key by layer name, image_url, payload, etc.; Orshot keys by parameterId. Keep a lookup from old names to new ones.Authorization: Bearer + POST /v1/studio/render.data.content from the response.Blog: https://orshot.com/blog/bannerbear-api-alternative.md
Authentication:
| BannerBear | Orshot |
|---|---|
Authorization: Bearer BB_API_KEY | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | BannerBear | Orshot |
|---|---|---|
| Generate image | POST /v2/images (async, returns 202) | POST /v1/studio/render (sync) |
| Generate image (sync) | POST sync.api.bannerbear.com/v2/images (10s timeout) | POST /v1/studio/render (sync by default) |
| List templates | GET /v2/templates | GET /v1/studio/templates/all?page=1&limit=10 |
| Get template | GET /v2/templates/:uid | GET /v1/studio/templates/:id |
| Generate video | POST /v2/videos | POST /v1/studio/render with format: "mp4" |
| Multi-template batch | POST /v2/collections | Loop POST /v1/studio/render per template |
Request Format Translation:
BannerBear uses a modifications array with named layers:
// BannerBear
{
"template": "TEMPLATE_UID",
"modifications": [
{ "name": "title", "text": "Hello World" },
{ "name": "hero", "image_url": "https://example.com/img.jpg" },
{ "name": "bg", "color": "#FF0000" }
]
}
// Orshot equivalent
{
"templateId": 123,
"modifications": {
"title": "Hello World",
"hero": "https://example.com/img.jpg",
"canvasBackgroundColor": "#FF0000"
},
"response": { "type": "url", "format": "png" }
}
Key differences:
image_url for images, Orshot uses the parameter ID directly with a URL valuetemplate is a UID string, Orshot templateId is an integer for studio templates"title.fontSize": "48px") — BannerBear does notBlog: https://orshot.com/blog/placid-api-alternative.md
Authentication:
| Placid | Orshot |
|---|---|
Authorization: Bearer PLACID_TOKEN | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | Placid | Orshot |
|---|---|---|
| Generate image | POST /api/rest/{template_uuid} | POST /v1/studio/render |
| Get image status | GET /api/rest/images/{id} | Not needed (sync response) |
| List templates | GET /api/rest/templates | GET /v1/studio/templates/all?page=1&limit=10 |
| Get template | GET /api/rest/templates/{uuid} | GET /v1/studio/templates/:id |
| Delete render | DELETE /api/rest/images/{id} | Not needed (renders don't expire) |
Request Format Translation:
Placid uses a layers object with type-specific properties:
// Placid
{
"layers": {
"title": {
"text": "Hello World",
"text_color": "#FF0000",
"font": "Arial"
},
"hero_image": {
"image": "https://example.com/img.jpg"
},
"background": {
"background_color": "#000000"
}
},
"modifications": {
"width": 1200,
"height": 630,
"image_format": "jpg"
}
}
// Orshot equivalent
{
"templateId": 123,
"modifications": {
"title": "Hello World",
"title.color": "#FF0000",
"title.fontFamily": "Arial",
"hero_image": "https://example.com/img.jpg",
"canvasBackgroundColor": "#000000"
},
"response": { "type": "url", "format": "jpg" }
}
Key differences:
layers (content) from modifications (output settings), Orshot combines both in modificationstext_color, Orshot uses dot notation parameterId.colorimage key for image URLs, Orshot uses the parameter ID directlyBlog: https://orshot.com/blog/creatomate-api-alternative.md
Authentication:
| Creatomate | Orshot |
|---|---|
Authorization: Bearer CREATOMATE_KEY | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | Creatomate | Orshot |
|---|---|---|
| Generate render | POST /v1/renders | POST /v1/studio/render |
| Get render status | GET /v1/renders/:id | Not needed (sync response) |
| List templates | GET /v1/templates | GET /v1/studio/templates/all?page=1&limit=10 |
| Get template | GET /v1/templates/:id | GET /v1/studio/templates/:id |
Request Format Translation:
Creatomate uses a flat modifications object (closest to Orshot's format):
// Creatomate
{
"template_id": "TEMPLATE_UUID",
"modifications": {
"Title": "Hello World",
"Image-1": "https://example.com/img.jpg"
},
"output_format": "jpg",
"render_scale": 1,
"max_width": 1080
}
// Orshot equivalent
{
"templateId": 123,
"modifications": {
"title": "Hello World",
"image_1": "https://example.com/img.jpg"
},
"response": { "type": "url", "format": "jpg", "scale": 1 }
}
Key differences:
template_id is a UUID string, Orshot templateId is an integeroutput_format at root level, Orshot uses response.formatBlog: https://orshot.com/blog/renderform-api-alternative.md
Authentication:
| RenderForm | Orshot |
|---|---|
X-API-KEY: RENDERFORM_KEY | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | RenderForm | Orshot |
|---|---|---|
| Generate image | POST /api/v2/render | POST /v1/studio/render |
| List templates | GET /api/v2/my-templates?page=1&size=50 | GET /v1/studio/templates/all?page=1&limit=10 |
| Get template | GET /api/v2/my-templates/:id | GET /v1/studio/templates/:id |
| URL-based render | GET /img/TEMPLATE.jpg?key=...¶m=... | GET /v1/studio/dynamic-url/TEMPLATE?param=... |
Request Format Translation:
RenderForm uses dot notation in a data object (similar to Orshot's style overrides):
// RenderForm
{
"template": "TEMPLATE_ID",
"data": {
"title.text": "Hello World",
"hero.src": "https://example.com/img.jpg",
"bg.color": "#FF0000"
},
"fileName": "output",
"width": 1200,
"height": 630
}
// Orshot equivalent
{
"templateId": 123,
"modifications": {
"title": "Hello World",
"hero": "https://example.com/img.jpg",
"canvasBackgroundColor": "#FF0000"
},
"response": { "type": "url", "format": "png", "fileName": "output" }
}
Key differences:
X-API-KEY header, Orshot uses Authorization: Bearerdata with componentId.property dot notation for everything, Orshot uses modifications with parameter IDs for content and dot notation only for style overridestemplate is a string ID, Orshot templateId is an integerBlog: https://orshot.com/blog/abyssale-api-alternative.md
Authentication:
| Abyssale | Orshot |
|---|---|
x-api-key: ABYSSALE_KEY | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | Abyssale | Orshot |
|---|---|---|
| Generate image | POST /async/banner-builder/{designId}/generate (async) | POST /v1/studio/render (sync) |
| Poll status | GET /generation-request/{requestId} | Not needed (sync response) |
| List designs | GET /designs | GET /v1/studio/templates/all?page=1&limit=10 |
| Get design | GET /designs/{designId} | GET /v1/studio/templates/:id |
| Multi-format render | template_format_names param | Loop POST /v1/studio/render per format, or use Variant Generation API |
Request Format Translation:
Abyssale uses an elements object with payload for text:
// Abyssale
{
"template_format_names": ["facebook-feed", "instagram-post"],
"elements": {
"title": { "payload": "Hello World" },
"hero_image": { "image_url": "https://example.com/img.jpg" },
"background": { "color": "#FF0000" }
},
"callback_url": "https://webhook.example.com"
}
// Orshot equivalent
{
"templateId": 123,
"modifications": {
"title": "Hello World",
"hero_image": "https://example.com/img.jpg",
"canvasBackgroundColor": "#FF0000"
},
"response": { "type": "url", "format": "png" }
}
Key differences:
payload for text content, Orshot uses the parameter ID directlyimage_url for images, Orshot uses the parameter ID with URL valuetemplate_format_names, Orshot requires separate calls or Variant Generation APIBlog: https://orshot.com/blog/dynapictures-api-alternative.md
Authentication:
| DynaPictures | Orshot |
|---|---|
Authorization: Bearer DYNA_KEY | Authorization: Bearer ORSHOT_API_KEY |
Endpoint Mapping:
| Action | DynaPictures | Orshot |
|---|---|---|
| Generate image | POST /designs/{id} | POST /v1/studio/render |
| List designs | GET /designs | GET /v1/studio/templates/all?page=1&limit=10 |
Key differences:
Blog: https://orshot.com/blog/contentdrips-api-alternative.md
Contentdrips is a social media design tool with API as a secondary feature. Migration is straightforward since Orshot is API-first.
Key differences:
| Feature | BannerBear | Placid | Creatomate | RenderForm | Abyssale | Orshot |
|---|---|---|---|---|---|---|
| Auth header | Authorization: Bearer | Authorization: Bearer | Authorization: Bearer | X-API-KEY | x-api-key | Authorization: Bearer |
| Modifications format | Array of objects | layers object | Flat object | data with dot notation | elements with payload | Flat object |
| Template ID type | UID string | UUID string | UUID string | String | UUID string | Integer (studio) |
| Response model | Async (poll) | Async (poll) | Async (poll) | Sync | Async (poll) | Sync |
| Render persistence | Permanent | Can expire | Can expire | Can expire | Can expire | Permanent |
| Style overrides | No | Limited | Via source JSON | Dot notation | No | Dot notation |
| Multi-page | No | No | No | No | No | Yes |
| Video support | Yes (extra cost) | Yes (extra cost) | Yes | No | Animated only | Yes (1 credit/sec) |
| White-label editor | No | No | Higher tier | No | No | All paid plans |
| Social publishing | No | No | No | No | No | 13+ platforms |