# Platemark full reference Platemark is a render API for images, short videos and PDFs. Fill a template with text and photo URLs and get back a finished PNG or vertical MP4, or send invoice, quote, receipt, certificate or letter fields and get back a PDF with the math done. REST API, remote MCP server for AI agents, 100 free credits a month. Base URL: https://platemark.rowhousesoftware.com ## Authentication Every /v1 call except POST /v1/accounts and GET /v1/templates needs "Authorization: Bearer pm_...". POST /v1/accounts with {"email": "you@example.com"} returns {"account", "api_key", "plan", "credits_left"}. The key is shown once. GET /v1/account returns plan, credits_left, monthly_credits, period_start and signing_secret. ## Make an image POST /v1/images Body: {"template": "", "modifications": {"": "text or image URL", ...}, "response": "json" (optional)} Returns image/png with header x-credits-left, or with response "json": {"data_url": "data:image/png;base64,...", "credits_left": n}. A slot value can be a string or an object: {"text": "...", "color": "#hex"}, {"image_url": "https://..."}, {"text": "...", "bg": "#hex"} for pill slots. "background": {"color": "#hex"} recolors the canvas. An empty string hides a pill slot. Example: curl https://platemark.rowhousesoftware.com/v1/images -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"template": "og-image", "modifications": {"title": "How we cut month end to two days"}}' > og.png ## Signed image URLs (for og:image tags) GET https://platemark.rowhousesoftware.com/v1/images/