Semua model

Clairic Flash

@cf/cloudflare/clairic-flash

Mulai cepat

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "@cf/cloudflare/clairic-flash",
    "fields": {}
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "@cf/cloudflare/clairic-flash", "fields": {}}'

Parameter

Input
fields object wajib

Required. Map of field name to a typed field spec. At least one field; no upper limit. Each prompt (state plus fields) must fit in 65,273 input tokens; input is never truncated and oversized requests are rejected. Unknown keys for a field's type are rejected.

documents array opsional

Optional embedded PDFs (4 MiB each). Rendered pages plus images must total at most 4. Encrypted PDFs are rejected. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

images array opsional

Optional embedded PNG, JPEG or WebP images placed before the state (max 4; 4 MiB each, 8 MiB total decoded across images and documents; request body max 16 MiB). Remote URLs are not accepted. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

model string opsional bawaan: "clairic-flash"

Fixed: "clairic-flash".

options object opsional
reference_date string opsional

ISO date that anchors dates written without a year.

state string opsional bawaan: ""

The text to read and predict from. Must be non-empty unless images or documents are sent. Text answers are spans of this string.

Output