POST https://api.omniakey.com/v1/alpha/search
Check
GET /v1/models with your key before choosing a model. Model access also depends on your group and key permissions.Models and pricing
Use
jev-1.14.0 to select this version explicitly. OmniaKey pins jev-preview to the same version. Both use the same pricing configuration as jev-latest; check the Dashboard for current charges. jev-latest retains its existing alias behavior.
Text input
Image input
OmniaKey supplies the TypeSafe image opt-in header on this route. Clients only send their normal authorization header and the image JSON. This route accepts JSON with Base64 assets; multipart uploads and remote image URLs are not supported. The image bytes belong inassets; TypeSafe-Danger-Zone-Images is an HTTP header, never a JSON body field.
Prepare a still PNG or JPEG before sending. Rotate its pixels upright and resize it on your side; the gateway preserves the uploaded bytes. Each asset reference must appear in state, question instructions, or criteria. References can occur in nested values or inside a sentence; use a UUID to avoid accidental matches.
Image limits
Base64 must use standard encoding with padding, without a
data: prefix or whitespace. Repeated references count the image again toward the provider’s expanded-input limit. Images and Box are experimental.
Save a prepared image as photo.png. This complete Python example uses only the standard library and reads OMNIAKEY_API_KEY from the environment.
Read the response
answers uses your question names. Noul returns a probability; Choice returns an option; Score returns a score; Box returns normalized top, bottom, left, and right coordinates. Box requires Jev 1.14. Multiply horizontal coordinates by image width and vertical coordinates by height. confidence can be null. Log the returned model to verify the version; usage includes image input.
Errors
For 400/422, check required fields, Base64, asset references, and image format. For 413, reduce image or request size. For 401, verify the OmniaKey key. If the model is unavailable, check/v1/models and the key’s permissions. Retry 429/5xx with bounded backoff. Never repeatedly retry an invalid image.