galileo2-pm as the model name. See pricing.
At a glance
Video formats, size, and length limits are listed in
video inputs.
Send a prompt
A prompt is required. It is the text the video is checked against, so a request without one, or with an empty or whitespace-only one, is refused with400 missing_prompt and nothing is charged.
Leave glitch_types out, or set it to ["prompt_misalignment"]. Any other value
is refused with 400 unsupported_glitch_type before anything is charged.
Evaluate a video
Submit the evaluation, then retrieve it byid until its status is completed,
partial, or failed. From Python 0.1.0rc12 and TypeScript 0.1.0-rc.12
the SDKs name it galileo2-pm and use it as the default model. Earlier Python
releases cannot read galileo2-pm responses; upgrade. The HTTP calls are:
galileo2-pm is what runs when model is omitted. galileo-1.0 and galileo
are not available on the API: a request that names either is refused with
400 model_not_available, and nothing is charged.
Results
The result contains prompt-alignment findings only. Each entry inresult.glitches is one thing the prompt asked for that the video does not fully
show. detectors lists prompt_misalignment only.
Finding fields
These definitions use the example above. Its prompt is"A red ball rolls off a table and bounces twice."
Positions count the prompt exactly as you sent it, including leading spaces and
line breaks. They count UTF-16 code units, the same as JavaScript string
indexes. For text without emoji, this is the same as Python string indexes.
A requirement the video fully matches is not reported, so every finding is a
mismatch of some degree. To flag only clear problems, keep findings with
severity of 2 or higher.
usage.billable_units is what the evaluation was charged, in credits; one credit
is $0.01. It can have up to 4 decimals: the 5-second example above is 0.3334
($0.003334) at list price, and 0.1667 during the launch promotion’s 50% discount.
See pricing. An empty
glitches list means no mismatches were reported by the completed check. See evaluations for statuses and result fields.