OG Image
Render 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.
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/og-image \
-H 'content-type: application/json' \
-d '{"title":"GlianaAI","subtitle":"pay-per-call AI, no signup"}'When to use it
Inputs: either url, or title. With url (an https page): the card is made from that page exactly as auto-og makes it - its logo, name, brand colour, title, description and a framed screenshot - priced as auto-og ($0.030, or $0.036 with style "ai" for a generated background); title and subtitle, when given, replace the page's; sold on /v1/tools/og-image only. Without url ($0.020): title (required), subtitle, logo (https URL of your logo, shown on a white plate), image (https URL of a picture shown on the right), accent (hex: the card's colour; without it the logo's colour, without either the theme), theme ("dark" default or "light"), footer (a short line such as your domain; nothing is added unless you pass it). Dead or non-image logo/image URLs are refused before payment. Returns url and contentType of the PNG (plus sourceTitle and style with url).
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.