GET
/
streaming
/
ai
/
info
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
response = client.streaming.ai_tasks.get_ai_settings(
    type="language_support",
)
print(response.supported)
{
  "supported": true
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

type
enum<string>
required

The parameters section for which parameters are requested

Available options:
language_support
audio_language
string

The source language from which the audio will be transcribed. Required when type=language_support. Value is 3-letter language code according to ISO-639-2 (bibliographic code), (e.g., fre for French).

subtitles_language
string

The target language the text will be translated into. If omitted, the API will return whether the audio_language is supported for transcription only, instead of translation. Value is 3-letter language code according to ISO-639-2 (bibliographic code), (e.g., fre for French).

Response

200
application/json

Result of AI task execution

The response is of type object.