Naming a model
Every endpoint takes onemodel. It names two things, written like a fraction:
- the upstream model is ours: a face, or a composite of faces, with the maestro that
steers it (
@alice:maestro-1); - the downstream model is the model that generates the answer, written after the first
/(gpt-5.4,claude-sonnet-4-6,jev-latest).
https://api.faces.sh/v1 and put this in
model.
Which endpoint takes which
The grammar
- Your own face is
@alias. Another account’s is@owner~alias: a system face (@head~socrates), or one published or shared with you. - The maestro is required.
maestro-1is the standard one.maestro-1-flashsteers sooner and costs 10 times more, on the upstream part only (see Billing). - The downstream model is taken verbatim. Everything after the first
/is the model’s id, asGET /v1/modelslists it, so a/,:or@inside it never matters:@alice:maestro-1/google/gemma-4-31b-itworks. - A prefix is ours only when it ends with its maestro. Without
:maestro-Nbefore the first/, the whole value reads as a model id, and a model is not served without a face.
Composites
Combine faces with boolean set algebra, in parentheses, and write the maestro once after the whole expression:
Parentheses group and nest:
((@a | @b) - @c):maestro-1. Faces of other accounts mix with your
own: (@dana~alice | @bob):maestro-1/gpt-5.4. Spaces around operators are optional.
Hyphens. An alias may contain a hyphen (@sun-tzu) but never starts or ends with one. So a
- right before @ or ( is the difference operator, and any other - is part of a name:
@levin-big-@tyson and (@levin-big - @tyson) both mean levin-big minus tyson.
See Synthetic faces for what a
composite is.
Names
An owner or alias never contains~ @ / : | & ^ ( ) or whitespace, and never starts or ends with
-. Creating a face with such an alias is a 400.
Refusals
Every old form is refused with a422 whose detail shows the form to use. Nothing is charged.
Listing the models
GET /v1/models lists every model once, with its price. Without ?kind= it lists the maestros
and the chat models. Each entry carries:
?kind= takes one kind or a comma-separated list (?kind=upstream,decision); ?kind=all lists
every kind. An unknown kind is a 422 that lists the accepted ones.
kind: "chat" models after the / on chat.