Skip to main content
GET
/
api
/
video-gen
/
videos
/
{id}
Get AI generated video
curl --request GET \
  --url https://backend.tensorpix.ai/api/video-gen/videos/{id}/ \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "job": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "uploaded_video": {
    "id": 123,
    "name": "<string>",
    "width": 123,
    "height": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "n_frames": 123,
    "framerate": 123,
    "size": 123,
    "owner": "[email protected]",
    "thumbnail": "<string>",
    "external_url": "<string>",
    "bitrate": 123,
    "codec_id": "<string>",
    "bit_depth": 123,
    "chroma_subsampling": "<string>",
    "color_space": "<string>",
    "file": "<string>"
  },
  "width": 2080,
  "height": 2080,
  "n_frames": 1073741824,
  "framerate": 500,
  "size": 200000000050,
  "file": "<string>",
  "thumbnail": "<string>"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
string
required

Response

id
string<uuid>
required
name
string
required

Media name

Maximum string length: 1024
created_at
string<date-time>
required

Date when the media was created

job
string<uuid>
required
uploaded_video
object
required
width
integer | null

Width of the video in pixels

Required range: 64 <= x <= 4096
height
integer | null

Height of the video in pixels

Required range: 64 <= x <= 4096
n_frames
integer | null

Number of frames in the video

Required range: 1 <= x <= 2147483647
framerate
number<double> | null

Video framerate in frames per second

Required range: 0 <= x <= 1000
size
integer<int64> | null

Size of the video in bytes

Required range: 100 <= x <= 400000000000
file
string<uri> | null

Pre-signed uploaded video URL. The URL may expire after some time. To generate a new URL, call the endpoint again. If the field is null, it means the video hasn't been completely uploaded to our servers yet. The field can also be null if the video was enhanced using the /jobs/from-url endpoint. In that case the video is not stored on our servers and the field is null

thumbnail
string<uri> | null