Embed
Turn text into 1024-d vectors for semantic search, clustering or RAG.
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/embed \
-H 'content-type: application/json' \
-d '{"texts":["harga tiket kereta ke Bandung","train ticket price to Bandung"]}'When to use it
Use when an agent builds or queries a vector index, or measures how close two pieces of text are in meaning. Inputs: texts (array, max 100 items, each up to 32,000 chars). Returns model, count, dimensions, embeddings[][]. Multilingual — Indonesian and English embed into the same space, so a query in one finds documents in the other.
What it costs
$0.0010 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
Face Embed
$0.0060Turn every face in an image into a 512-d ArcFace vector.
Face Detect
$0.0030Find faces in an image. Use when an agent counts people, checks a photo contains exactly one face before a match, or estimates age and gender.
Product Listing
$0.0080Turn a product photo into marketplace copy. Use when an agent helps a seller list an item without writing the description by hand.