From 938dd7385caa68e1d9fff2ef2507fdbf1cd7eaab Mon Sep 17 00:00:00 2001
From: Wanlin Du Credentials resource. Voices resource. Returns whether the client is using the Vertex AI API. Canceling an interaction Cancels an interaction by id. This only applies to background interactions that are still running. Cancels an interaction by id. This only applies to background interactions
+that are still running. id ( api_version ( id ( api_version ( extra_headers ( extra_query ( timeout ( Creating an interaction Creates a new interaction. Creates a new interaction. api_version ( api_version ( background – Input only. Whether to run the model interaction in the background. environment – The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID. cached_content – The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: cachedContents/{cachedContent} environment – The environment configuration for the interaction. Can be an object
+specifying remote environment sources or a string referencing an existing
+environment ID. generation_config – Configuration parameters for model interactions. input – The input for the interaction. labels – The labels with user-defined metadata for the request. labels – The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters
+(Unicode codepoints) and can only contain lowercase letters, numeric
+characters, underscores, and dashes. International characters are allowed.
+Label values are optional. Label keys must start with a letter.Submodulesproperty chats: AsyncChats¶
+
+
+
+Submodulesproperty tunings: AsyncTunings¶
+
+
+
Submodules
+
+Submodules
-
+
+
GAOS Client Resources
-
str) – The unique identifier of the interaction to cancel.Optional[str]) – Which version of the API to use.str) – Required. The name of the interaction to cancel.Optional[str]) – API version for request routing.Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.Union[float, Timeout, None]) – Override the default request timeout configuration for this method in secondsGAOS Client Resources
-
Optional[str]) – Which version of the API to use.Optional[str]) – API version for request routing.
model – The model that will complete your prompt.nnSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
previous_interaction_id – The ID of the previous interaction, if any.
response_format – Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
response_format – Enforces that the generated response is a JSON object that complies with +the JSON schema specified in this field.
response_mime_type – The mime type of the response. This is required if response_format is set.
response_modalities – The requested modalities of the response (TEXT, IMAGE, AUDIO).
safety_settings – Safety settings for the interaction.
Deleting an interaction
-Deletes the interaction by id.
+Deletes the interaction by id.
id (str) – The unique identifier of the interaction to delete.
api_version (Optional[str]) – Which version of the API to use.
id (str) – Required. The name of the interaction to delete.
api_version (Optional[str]) – API version for request routing.
extra_headers (Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.
extra_query (Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.
timeout (Union[float, Timeout, None]) – Override the default request timeout configuration for this method in seconds
Retrieving an interaction
-Retrieves the full details of a single interaction based on its Interaction.id.
+Retrieves the full details of a single interaction based on its +Interaction.id.
id (str) – The unique identifier of the interaction to retrieve.
api_version (Optional[str]) – Which version of the API to use.
include_input (Any) – If set to true, includes the input in the response.
last_event_id (Any) – Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if stream is true.
stream (Any) – If set to true, the generated content will be streamed incrementally.
id (str) – Required. The name of the interaction to retrieve.
api_version (Optional[str]) – API version for request routing.
include_input (Any) – If true, includes the input in the response.
last_event_id (Any) – If set, resumes the interaction stream from the chunk after the event
+marked by the event id. Can only be used if stream is true.
stream (Any) – If true, streams the interaction events as Server-Sent Events.
extra_headers (Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.
extra_query (Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.
timeout (Union[float, Timeout, None]) – Override the default request timeout configuration for this method in seconds
Canceling an interaction
-Cancels an interaction by id. This only applies to background interactions that are still running.
+Cancels an interaction by id. This only applies to background interactions +that are still running.
id (str) – The unique identifier of the interaction to cancel.
api_version (Optional[str]) – Which version of the API to use.
id (str) – Required. The name of the interaction to cancel.
api_version (Optional[str]) – API version for request routing.
extra_headers (Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.
extra_query (Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.
timeout (Union[float, Timeout, None]) – Override the default request timeout configuration for this method in seconds
Creating an interaction
-Creates a new interaction.
+Creates a new interaction.
api_version (Optional[str]) – Which version of the API to use.
api_version (Optional[str]) – API version for request routing.
background – Input only. Whether to run the model interaction in the background.
environment – The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
cached_content – The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: cachedContents/{cachedContent}
environment – The environment configuration for the interaction. Can be an object +specifying remote environment sources or a string referencing an existing +environment ID.
generation_config – Configuration parameters for model interactions.
input – The input for the interaction.
labels – The labels with user-defined metadata for the request.
labels –
The labels with user-defined metadata for the request.
+Label keys and values can be no longer than 63 characters +(Unicode codepoints) and can only contain lowercase letters, numeric +characters, underscores, and dashes. International characters are allowed. +Label values are optional. Label keys must start with a letter.
+model – The model that will complete your prompt.nnSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
previous_interaction_id – The ID of the previous interaction, if any.
response_format – Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
response_format – Enforces that the generated response is a JSON object that complies with +the JSON schema specified in this field.
response_mime_type – The mime type of the response. This is required if response_format is set.
response_modalities – The requested modalities of the response (TEXT, IMAGE, AUDIO).
safety_settings – Safety settings for the interaction.
Deleting an interaction
-Deletes the interaction by id.
+Deletes the interaction by id.
id (str) – The unique identifier of the interaction to delete.
api_version (Optional[str]) – Which version of the API to use.
id (str) – Required. The name of the interaction to delete.
api_version (Optional[str]) – API version for request routing.
extra_headers (Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.
extra_query (Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.
timeout (Union[float, Timeout, None]) – Override the default request timeout configuration for this method in seconds
Retrieving an interaction
-Retrieves the full details of a single interaction based on its Interaction.id.
+Retrieves the full details of a single interaction based on its +Interaction.id.
id (str) – The unique identifier of the interaction to retrieve.
api_version (Optional[str]) – Which version of the API to use.
include_input (Any) – If set to true, includes the input in the response.
last_event_id (Any) – Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if stream is true.
stream (Any) – If set to true, the generated content will be streamed incrementally.
id (str) – Required. The name of the interaction to retrieve.
api_version (Optional[str]) – API version for request routing.
include_input (Any) – If true, includes the input in the response.
last_event_id (Any) – If set, resumes the interaction stream from the chunk after the event
+marked by the event id. Can only be used if stream is true.
stream (Any) – If true, streams the interaction events as Server-Sent Events.
extra_headers (Optional[Mapping[str, str]]) – Additional headers to set or replace on requests.
extra_query (Optional[Mapping[str, Any]]) – Additional query parameters to append to requests.
timeout (Union[float, Timeout, None]) – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
agent_config – Configuration parameters for the agent.
base_agent – The base agent to extend.
base_environment – The environment configuration for the agent.
id
api_version – Which version of the API to use.
id – Required. The name of the agent to delete.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id
api_version – Which version of the API to use.
id – Required. The name of the agent to retrieve.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
page_size
page_token
parent
parent – Required. The parent resource to list agents from. +Format: projects/{project}/locations/{location}
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
agent_config – Configuration parameters for the agent.
base_agent – The base agent to extend.
base_environment – The environment configuration for the agent.
id
api_version – Which version of the API to use.
id – Required. The name of the agent to delete.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id
api_version – Which version of the API to use.
id – Required. The name of the agent to retrieve.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
page_size
page_token
parent
parent – Required. The parent resource to list agents from. +Format: projects/{project}/locations/{location}
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
uri – Required. The URI to which webhook events will be sent.
api_version – Which version of the API to use.
api_version – API version for request routing.
name – Optional. The user-provided name of the webhook.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
id – Required. The ID of the webhook to delete. -Format: {webhook_id}
api_version – Which version of the API to use.
id – Required. The ID of the webhook to delete.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Required. The ID of the webhook to retrieve.
api_version – Which version of the API to use.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
page_size – Optional. The maximum number of webhooks to return. The service may return fewer than -this value. If unspecified, at most 50 webhooks will be returned. -The maximum value is 1000.
api_version – API version for request routing.
page_size – Optional. The maximum number of webhooks to return. The service may return +fewer than this value. If unspecified, at most 50 webhooks will be +returned. The maximum value is 1000.
page_token – Optional. A page token, received from a previous ListWebhooks call. Provide this to retrieve the subsequent page.
extra_headers – Additional headers to set or replace on requests.
id – Required. The ID of the webhook to ping. -Format: {webhook_id}
api_version – Which version of the API to use.
body – The request body.
id – Required. The ID of the webhook to ping.
api_version – API version for request routing.
body – Required. The request body.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
extra_body – Additional JSON object fields to merge into request bodies.
id – Required. The ID of the webhook for which to generate a signing secret. -Format: {webhook_id}
api_version – Which version of the API to use.
id – Required. The ID of the webhook for which to generate a signing secret.
api_version – API version for request routing.
revocation_behavior – Optional. The revocation behavior for previous signing secrets.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
id – Required. The ID of the webhook to update.
api_version – Which version of the API to use.
update_mask – Optional. The list of fields to update.
api_version – API version for request routing.
update_mask – Optional list of fields to update.
name – Optional. The user-provided name of the webhook.
state – Optional. The state of the webhook.
subscribed_events – Optional. The events that the webhook is subscribed to. @@ -1408,7 +1445,7 @@
uri – Required. The URI to which webhook events will be sent.
api_version – Which version of the API to use.
api_version – API version for request routing.
name – Optional. The user-provided name of the webhook.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
id – Required. The ID of the webhook to delete. -Format: {webhook_id}
api_version – Which version of the API to use.
id – Required. The ID of the webhook to delete.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Required. The ID of the webhook to retrieve.
api_version – Which version of the API to use.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
page_size – Optional. The maximum number of webhooks to return. The service may return fewer than -this value. If unspecified, at most 50 webhooks will be returned. -The maximum value is 1000.
api_version – API version for request routing.
page_size – Optional. The maximum number of webhooks to return. The service may return +fewer than this value. If unspecified, at most 50 webhooks will be +returned. The maximum value is 1000.
page_token – Optional. A page token, received from a previous ListWebhooks call. Provide this to retrieve the subsequent page.
extra_headers – Additional headers to set or replace on requests.
id – Required. The ID of the webhook to ping. -Format: {webhook_id}
api_version – Which version of the API to use.
body – The request body.
id – Required. The ID of the webhook to ping.
api_version – API version for request routing.
body – Required. The request body.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
extra_body – Additional JSON object fields to merge into request bodies.
id – Required. The ID of the webhook for which to generate a signing secret. -Format: {webhook_id}
api_version – Which version of the API to use.
id – Required. The ID of the webhook for which to generate a signing secret.
api_version – API version for request routing.
revocation_behavior – Optional. The revocation behavior for previous signing secrets.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
id – Required. The ID of the webhook to update.
api_version – Which version of the API to use.
update_mask – Optional. The list of fields to update.
api_version – API version for request routing.
update_mask – Optional list of fields to update.
name – Optional. The user-provided name of the webhook.
state – Optional. The state of the webhook.
subscribed_events – Optional. The events that the webhook is subscribed to. @@ -1591,18 +1625,21 @@
Creates a new trigger that will invoke the specified agent on the given cron schedule.
+Creates a new trigger that will invoke the specified agent on the given +cron schedule.
interaction – Required. The interaction request template to be executed.
schedule – Required. The cron schedule on which the trigger should run. Standard cron format.
schedule – Required. The cron schedule on which the trigger should run. +Standard cron format.
time_zone – Required. Time zone in which the schedule should be interpreted.
api_version – Which version of the API to use.
api_version – API version for request routing.
display_name – Optional. The display name of the trigger.
environment_id – Optional. The environment ID for the trigger execution.
execution_timeout_seconds – Optional. The execution timeout for the triggered interaction.
max_consecutive_failures – Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
max_consecutive_failures – Optional. The maximum number of consecutive failures allowed before +the trigger is automatically paused (status becomes ERROR).
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
extra_body – Additional JSON object fields to merge into request bodies.
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
filter – Optional. Filter expression (e.g., by state).
page_size – Optional. The maximum number of triggers to return per page.
page_token – Optional. A page token from a previous ListTriggers call.
trigger_id – Resource name of the trigger.
api_version – Which version of the API to use.
page_size – Optional. The maximum number of executions to return per page.
page_token – Optional. A page token from a previous ListTriggerExecutions call.
trigger_id – Required. The trigger ID to list executions from.
api_version – API version for request routing.
page_size – The maximum number of executions to return per page.
page_token – A page token from a previous ListTriggerExecutions call.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
trigger_id – Resource name of the trigger.
api_version – Which version of the API to use.
trigger_id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
display_name – Optional. The display name of the trigger.
status – Optional. The status of the trigger.
extra_headers – Additional headers to set or replace on requests.
Creates a new trigger that will invoke the specified agent on the given cron schedule.
+Creates a new trigger that will invoke the specified agent on the given +cron schedule.
interaction – Required. The interaction request template to be executed.
schedule – Required. The cron schedule on which the trigger should run. Standard cron format.
schedule – Required. The cron schedule on which the trigger should run. +Standard cron format.
time_zone – Required. Time zone in which the schedule should be interpreted.
api_version – Which version of the API to use.
api_version – API version for request routing.
display_name – Optional. The display name of the trigger.
environment_id – Optional. The environment ID for the trigger execution.
execution_timeout_seconds – Optional. The execution timeout for the triggered interaction.
max_consecutive_failures – Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
max_consecutive_failures – Optional. The maximum number of consecutive failures allowed before +the trigger is automatically paused (status becomes ERROR).
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
extra_body – Additional JSON object fields to merge into request bodies.
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
api_version – API version for request routing.
filter – Optional. Filter expression (e.g., by state).
page_size – Optional. The maximum number of triggers to return per page.
page_token – Optional. A page token from a previous ListTriggers call.
trigger_id – Resource name of the trigger.
api_version – Which version of the API to use.
page_size – Optional. The maximum number of executions to return per page.
page_token – Optional. A page token from a previous ListTriggerExecutions call.
trigger_id – Required. The trigger ID to list executions from.
api_version – API version for request routing.
page_size – The maximum number of executions to return per page.
page_token – A page token from a previous ListTriggerExecutions call.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
trigger_id – Resource name of the trigger.
api_version – Which version of the API to use.
trigger_id – Required. Resource name of the trigger.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource name of the trigger.
api_version – Which version of the API to use.
id – Required. Resource name of the trigger.
api_version – API version for request routing.
display_name – Optional. The display name of the trigger.
status – Optional. The status of the trigger.
extra_headers – Additional headers to set or replace on requests.
api_version – Which version of the API to use.
api_version – API version for request routing.
from_environment – Optional. The source environment to copy/fork from. Format: environments/{environment_id} or {environment_id}. When specified, sources and env must be empty.
id – Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
api_version – Which version of the API to use.
id – Required. Resource ID segment making up resource name. It identifies the resource +within its parent collection as described in https://google.aip.dev/122.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
api_version – Which version of the API to use.
id – Required. Resource ID segment making up resource name. It identifies the resource +within its parent collection as described in https://google.aip.dev/122.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
page_size – Optional. Maximum number of environments to return.nIf unspecified, defaults to 50. Maximum is 1000.
api_version – API version for request routing.
page_size – Optional. Maximum number of environments to return. +If unspecified, defaults to 50. Maximum is 1000.
page_token – Optional. Pagination token.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
api_version – Which version of the API to use.
api_version – API version for request routing.
from_environment – Optional. The source environment to copy/fork from. Format: environments/{environment_id} or {environment_id}. When specified, sources and env must be empty.
id – Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
api_version – Which version of the API to use.
id – Required. Resource ID segment making up resource name. It identifies the resource +within its parent collection as described in https://google.aip.dev/122.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
id – Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
api_version – Which version of the API to use.
id – Required. Resource ID segment making up resource name. It identifies the resource +within its parent collection as described in https://google.aip.dev/122.
api_version – API version for request routing.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
timeout – Override the default request timeout configuration for this method in seconds
api_version – Which version of the API to use.
page_size – Optional. Maximum number of environments to return.nIf unspecified, defaults to 50. Maximum is 1000.
api_version – API version for request routing.
page_size – Optional. Maximum number of environments to return. +If unspecified, defaults to 50. Maximum is 1000.
page_token – Optional. Pagination token.
extra_headers – Additional headers to set or replace on requests.
extra_query – Additional query parameters to append to requests.
Usage:
-``` +
@@ -3003,7 +3049,7 @@``` operation = client.models.generate_videos(
operation.result.generated_videos[0].video.uri -```
+```GAOS Client Resources
Usage:
-``` +
``` virtual_try_on_response = await client.aio.models.recontext_image(
@@ -3051,7 +3097,7 @@model=”virtual-try-on-001”, @@ -3025,7 +3071,7 @@
GAOS Client Resources
) image = virtual_try_on_response.generated_images[0].image -```
+```GAOS Client Resources
Usage:
-``` +
``` response = await client.aio.models.segment_image(
@@ -3483,7 +3529,7 @@GAOS Client Resources
Usage:
-``` +
@@ -3564,7 +3610,7 @@``` operation = client.models.generate_videos(
operation.result.generated_videos[0].video.uri -```
+```GAOS Client Resources
Usage:
-``` +
``` virtual_try_on_response = client.models.recontext_image(
@@ -3612,7 +3658,7 @@model=”virtual-try-on-001”, @@ -3586,7 +3632,7 @@
GAOS Client Resources
) image = virtual_try_on_response.generated_images[0].image -```
+```GAOS Client Resources
Usage:
-``` +
``` response = client.models.segment_image(
@@ -6492,7 +6538,7 @@GAOS Client Resources } ], "default": null, - "description": "BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.", + "description": "Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.", "title": "Languagecodes" }, "languageAuto": { @@ -6708,7 +6754,7 @@
GAOS Client Resources
- field language_codes:
-Optional[list[str]] = None (alias 'languageCodes')¶BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
- Validated by