Skip to main content
Glama

generate-image-from-library

Create customized images by modifying Orshot library templates. Specify changes like text, colors, format, and output type, and generate PNG, JPG, or PDF files for use in applications supporting MCP servers.

Instructions

Generate an image from an Orshot library template using specified modifications

Input Schema

NameRequiredDescriptionDefault
apiKeyNoOrshot API key for authentication (optional if set in environment)
formatNoOutput format for the generated imagepng
modificationsNoObject containing modifications to apply to the template (e.g., text replacements, color changes)
responseTypeNoResponse type: base64 data, download URL, or binary dataurl
templateIdYesThe ID of the library template to use

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 to apply to the template (e.g., text replacements, color changes)", "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 of the library template to use", "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