{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/render-card","method":"POST"},"content_type":"api","name":"Render Card","description":"Render a typographic card — headline, versus, list, stat or quote — as a PNG or JPEG (1920x1080 or 2560x1440). Deterministic layout, no AI model: the text you send is exactly what appears, which no image generator can promise. Built for video slides, thumbnails and social cards. Send parameters as JSON:\n```\n{\n    \"variant\": \"headline\",\n    \"lines\": [\"Linux a gagné.\", \"Pas où on regardait.\"],\n    \"accent_line\": 1,\n    \"size\": \"1920x1080\",\n    \"format\": \"png\"\n}\n```\nOther variants:\n```\n{ \"variant\": \"versus\", \"left_label\": \"2001\", \"left\": \"« Un cancer »\", \"right_label\": \"Aujourd'hui\", \"right\": \"Contributeur du noyau\" }\n{ \"variant\": \"list\", \"title\": \"Qui achète\", \"items\": [\"Fidelity\", \"BlackRock\", \"Des banques\"], \"revealed\": 2 }\n{ \"variant\": \"stat\", \"value\": \"34 Md $\", \"label\": \"IBM rachète Red Hat\", \"sub\": \"2019\" }\n{ \"variant\": \"quote\", \"text\": \"« UN CANCER »\", \"source\": \"Un dirigeant de Microsoft, 2001\" }\n```\n`revealed` and `show_right` build a list or a comparison one beat at a time — render N states, cut between them, and the text never moves. Optional `theme: { background, foreground, accent, muted }` as hex colours. Text coverage: Latin, Greek and Cyrillic (DejaVu Sans) with Noto Sans fallback for Arabic, Indic, Thai, Chinese, Japanese and Korean; emoji render as single-colour silhouettes in the text colour, not in full colour. Returns { url, width, height, format, mime, expires_in_seconds }; the url is a signed download valid 2 hours. Every cap below is refused BEFORE payment.","variants":["headline","versus","list","stat","quote"],"sizes":["1920x1080","2560x1440"],"formats":["png","jpg"],"limits":{"max_lines":3,"max_line_chars":40,"max_items":6,"max_item_chars":40,"max_title_chars":40,"max_label_chars":28,"max_value_chars":22,"max_stat_value_chars":12,"max_stat_label_chars":60,"max_quote_chars":30,"max_source_chars":60,"max_spec_bytes":4096,"url_ttl_seconds":7200},"price_sats":5}