Quickstart
With your agent
Paste this into your coding agent, whether Claude Code, Codex, Cursor or any other that takes skills. Or read the skill first, at faces-sh/skill.By hand
The rest of this page walks through the API directly: register an account, create a face, upload a source document, compile it, and ask the face what it would do.Prerequisites
- API base URL:
https://api.faces.sh - Replace
YOUR_API_KEYwith a real key obtained in step 2.
1. Register
If you already have an account, skip to step 2.
name and username are optional: without a username, one is made from the email. The password needs 8 to 64 characters, with at least one uppercase letter, one lowercase letter and one digit.
data.token as a Bearer token for subsequent requests, or create an API key (step 2).
2. Create an API key
API keys are created with the JWT from step 1. An API key cannot create, list or change keys.YOUR_API_KEY.
3. Create a face
Your account already has one face,me: it is you, created with the account. Compile
your own writing into it to make a face of yourself. See Your me face.
For this walkthrough, make a new one:
4. Upload a source document
Upload a plain-text file the face wrote, such as an essay or a journal. Say what kind of writing it is withmedium: it is required, and a document without one is refused with 422:
medium, perspective and type are query parameters, not form fields. medium is what the text is, one of the 25 names GET /v1/media lists (essay, email, speech, journal entry, …). perspective is first-person when the face wrote the text and third-person (the default) when it is about the face.
.docx) files, audio, or video; see Faces guide.
A document is the face’s own writing. An interview, transcript or any other exchange
between speakers is a thread: upload it with
type=thread&face_speaker=Alice so only
Alice’s turns are used. See Uploading threads.5. Compile
Trigger compilation of the uploaded document, using thedocument_id from step 4:
202). Poll the document status until it completes:
status is compiled, the face is ready. While finishing is true the
compile is still in hand, so keep polling and offer no action. See Compile.
6. Ask the face
Describe a situation and ask a question.model is the face and its maestro,
@alice:maestro-1 (see Naming a model):
instructions out and it
proposes the question it would ask instead. See Choices.
To have the face answer in its own words on any chat model, name the model after a /: