POST
/
streaming
/
ai
/
tasks
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
ai_task = client.streaming.ai_tasks.create(
    task_name="transcription",
    url="url",
)
print(ai_task.task_id)
{
  "task_id": "aafe70c6-0000-0000-0000-327b65f7670f"
}

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

Body

application/json

Response

201
application/json

Response returns ID of the created AI task. Using this AI task ID, you can check the status and get the video processing result. Look at GET /ai/results method.

The response is of type object.