https://api.feyn.ai and called with the same workspace API key. As in the OpenAI API, each task has one route under /v1/, and the body’s model names the model; GET /v1/models lists the names your key may use. The older /pulpie/v1/extract and /multimatte/v1/cutout routes still work.
Failed requests are not charged. See rate limits and credits.
Pulpie
Pulpie is a 210M-parameter extraction model. It reads a whole page and keeps only the main content: no navigation, ads, cookie banners or footers.Pulpie request
Send JSON with exactly one ofhtml or pdf_base64.
Instead of
html: a text PDF, base64-encoded. Base64 adds a third to the size and request bodies are capped at 8 MB, so keep the PDF under about 6 MB before encoding. Scans without a text layer are rejected.pdf_base64:
Pulpie response
Pulpie pricing and limits
MultiMatte
MultiMatte is an 860M-parameter promptable matting model (SAM 3 with a LoRA). It returns an alpha matte, so hair, fur and soft edges stay soft.MultiMatte request
The photo (JPEG, PNG, WebP or HEIC), base64-encoded. Up to 5 MB before encoding. Images with a side longer than 2048 px are downscaled first.
MultiMatte response
The body is an RGBA PNG (image/png) at the input size, after any downscale.
MultiMatte pricing and limits
Jiffy
Jiffy 1.0 is a 27B decision model. Give it a state (an email, a ticket, a page, a JSON record) and any number of typed questions about it; it answers each one with a probability, not generated text. Jiffy speaks the System One API (POST /v1/systemone), the request and response shape TypeSafe’s Jev uses, so System One clients and SDKs work by changing the base URL to https://api.feyn.ai and the key. GET /v1/models lists jiffy-1.0 and jiffy-latest, in a TypeSafe-style models array as well as the OpenAI data list.
Jiffy request
What the questions are about. Text is used as it is; JSON is read in its compact form.
Up to 64 questions, keyed by your own names. Each one has a
type and instructions (a string, object or array):noul: a yes/no question or statement. Optionalcriteria{"true": "...", "false": "..."}say what each answer means.choice:criteriamaps each option’s name to its description (ornull), 2 to 255 mutually exclusive options.score:criteriais an array of 2 to 10 ordered levels, from the low end of the scale to the high end.
Jiffy response
One answer per question, under the same name.
noul is the probability of yes. choice is the most likely option and probabilities sums to 1 over your options. score is the probability-weighted level number, with legend mapping levels back to your descriptions. confidence (Choice and Score) is computed from how spread out probabilities is, with the same formulas as TypeSafe’s.The tokens you are charged for. Jiffy reads the state together with each question, so the state counts once per question. Output tokens are always 0.
Jiffy pricing and limits
Invalid requests answer
422 with a detail list naming the field. A busy model answers 529; retry after a short delay (the TypeSafe SDKs do this for you). Failed requests are not charged.
Chat completions
The language models on your workspace answerPOST /v1/chat/completions in the OpenAI Chat Completions format, so the official OpenAI SDKs work by changing the base URL and key.
Set FEYN_CHAT_MODEL to a model ID from the list of models your key can call.
"stream": true) works as it does with OpenAI.
Which models you can call
GET /v1/models lists the models your key may call right now:
id from the response’s data array. It also lists the Jiffy models, which answer POST /v1/systemone rather than chat completions; they are repeated in a models array in TypeSafe’s shape.
Models fine-tuned for your workspace are private: only your workspace sees them in this list or can call them. Any other workspace gets the same 404 as for an unknown model.