GET

/v1/schemas/gemini/video/gemini-omni-1.2-flash

kind inputactivity videohash 403ebb94…extracted Nov 20, 2026version currentsource upstream spec ↗

Request body

23 properties · 2 required · 88 $defs
propertytypedescriptionconstraints
model*enumThe model that generates the video.gemini-omni-1.2-flash
input*AudioContent | DocumentContent | ImageCo…The input for the interaction.
generation_configGenerationConfigInput only. Configuration parameters for the model interaction.
idstringRequired. Output only. A unique identifier for the interaction completion.
statusenumRequired. Output only. The status of the interaction.in_progress | requires_action | completed | failed | cancelled | incomplete · +2 more
createdstringRequired. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
updatedstringRequired. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
system_instructionstringSystem instruction for the interaction.
toolsTool[]A list of tool declarations the model may call during interaction.
response_modalitiesResponseModality[]The requested modalities of the response (TEXT, IMAGE, AUDIO).deprecated
response_formatAudioResponseFormat | ImageResponseForma…Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
response_mime_typestringThe mime type of the response. This is required if response_format is set.deprecated
previous_interaction_idstringThe ID of the previous interaction, if any.
environmentobject | stringThe environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
environment_idstringOutput only. The environment ID for the interaction. Only populated if environment config is set in the request.
service_tierenumThe service tier for the interaction.flex | standard | priority
webhook_configWebhookConfigOptional. Webhook configuration for receiving notifications when the interaction completes.
safety_settingsSafetySetting[]Safety settings for the interaction.
labelsobjectThe labels with user-defined metadata for the request.
continuation_tokenstringOpaque token to resume a long decode. Output: set when status is REQUIRES_CONTINUATION and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding.format: byte
streambooleanInput only. Whether the interaction will be streamed.
storebooleanInput only. Whether to store the response and request for later retrieval.
backgroundbooleanInput only. Whether to run the model interaction in the background.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"gemini","endpointId":"gemini-omni-1.2-flash","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}