GET
/v1/schemas/gemini/video/gemini-omni-1.2-flash
Accept:
Request body
23 properties · 2 required · 88 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | enum | The model that generates the video. | gemini-omni-1.2-flash |
| input* | AudioContent | DocumentContent | ImageCo… | The input for the interaction. | |
| generation_config | GenerationConfig | Input only. Configuration parameters for the model interaction. | |
| id | string | Required. Output only. A unique identifier for the interaction completion. | |
| status | enum | Required. Output only. The status of the interaction. | in_progress | requires_action | completed | failed | cancelled | incomplete · +2 more |
| created | string | Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). | |
| updated | string | Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). | |
| system_instruction | string | System instruction for the interaction. | |
| tools | Tool[] | A list of tool declarations the model may call during interaction. | |
| response_modalities | ResponseModality[] | The requested modalities of the response (TEXT, IMAGE, AUDIO). | deprecated |
| response_format | AudioResponseFormat | ImageResponseForma… | Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field. | |
| response_mime_type | string | The mime type of the response. This is required if response_format is set. | deprecated |
| previous_interaction_id | string | The ID of the previous interaction, if any. | |
| environment | object | string | The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID. | |
| environment_id | string | Output only. The environment ID for the interaction. Only populated if environment config is set in the request. | |
| service_tier | enum | The service tier for the interaction. | flex | standard | priority |
| webhook_config | WebhookConfig | Optional. Webhook configuration for receiving notifications when the interaction completes. | |
| safety_settings | SafetySetting[] | Safety settings for the interaction. | |
| labels | object | The labels with user-defined metadata for the request. | |
| continuation_token | string | Opaque 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 |
| stream | boolean | Input only. Whether the interaction will be streamed. | |
| store | boolean | Input only. Whether to store the response and request for later retrieval. | |
| background | boolean | Input only. Whether to run the model interaction in the background. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"gemini","endpointId":"gemini-omni-1.2-flash","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}