How to upload video to bunyy.net using API PHP

I’m trying to upload video to my library on bunny cdn using API but I can’t find how to upload it.
In thier docs you I can’t find how to upload the video only create a title for the video but no upload the video its self.

Here is the API request from the docs

<?php
require_once('vendor/autoload.php');

$client = new GuzzleHttpClient();

$response = $client->request('PUT', 'https://video.bunnycdn.com/library/libraryId/videos/videoId', [
  'headers' => [
    'accept' => 'application/json',
  ],
]);

echo $response->getBody();

I have found here that you have to create a video first and this ok but the part of uploading the video content is not the same.
You can see they add a link to the docs but its not the same same as in the image as there is a upload video button in the image but in the docs there isn’t
The image from bunny support webste