Card
Render a social card in a chosen aspect ratio.
Part of the OG Image API.
Call it
The first response is 402 with the exact price and every rail you can
pay with. Pay, repeat the request with the proof, and you get the result.
curl -X POST https://api.glianalabs.com/v1/tools/card \
-H 'content-type: application/json' \
-d '{"preset":"instagram-square","title":"Big news","subtitle":"we shipped it"}'When to use it
Use when an agent needs an image sized for a specific platform rather than the default 1200x630. Inputs: preset (og, twitter, linkedin, instagram-square, instagram-story, story, podcast), title (required), subtitle, background (https URL of a photo), accent (hex), theme ("dark" default or "light"), footer (optional line such as your handle). Returns preset, url and contentType of the PNG.
What it costs
$0.0200 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.
Not sure this is the right endpoint? GET /v1/consult?intent=… is
free and answers that.
Often used with this
OG Image
$0.0200Render a 1200x630 social card. Use when an agent publishes a page or post and needs a preview image so the link does not share as a bare URL.
Quote Card
$0.0200Render a quotation as a shareable 1200x630 image.
Youtube Thumbnail
$0.0200Render a 1280x720 YouTube thumbnail. Use when an agent produces a video and needs a title card that reads at feed size.