Skip to main content
Glama

generate-image

Create images dynamically using Orshot templates. Auto-detect library or studio templates, map URLs to image fields, and customize output format (PNG, JPG, PDF) with ease.

Instructions

Generate an image from an Orshot template (automatically detects library vs studio template). For studio templates, automatically maps URLs to appropriate image fields and supports template names.

Input Schema

NameRequiredDescriptionDefault
apiKeyNoOrshot API key for authentication (optional if set in environment)
formatNoOutput format for the generated imagepng
modificationsNoObject containing modifications/data to apply to the template (works for both library and studio templates). URLs will be auto-mapped to image fields for studio templates.
responseTypeNoResponse type: base64 data, download URL, or binary dataurl
templateIdYesThe ID or name of the template to use (will auto-detect if it's library or studio). Numeric IDs are likely studio templates. Studio templates can also be referenced by name.
webhookNoOptional webhook URL to receive notifications (studio templates only)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "apiKey": { "description": "Orshot API key for authentication (optional if set in environment)", "type": "string" }, "format": { "default": "png", "description": "Output format for the generated image", "enum": [ "png", "jpg", "pdf" ], "type": "string" }, "modifications": { "additionalProperties": {}, "default": {}, "description": "Object containing modifications/data to apply to the template (works for both library and studio templates). URLs will be auto-mapped to image fields for studio templates.", "type": "object" }, "responseType": { "default": "url", "description": "Response type: base64 data, download URL, or binary data", "enum": [ "base64", "url", "binary" ], "type": "string" }, "templateId": { "description": "The ID or name of the template to use (will auto-detect if it's library or studio). Numeric IDs are likely studio templates. Studio templates can also be referenced by name.", "type": "string" }, "webhook": { "description": "Optional webhook URL to receive notifications (studio templates only)", "format": "uri", "type": "string" } }, "required": [ "templateId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rishimohan/orshot-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server