Skip to main content
GET
/
api
/
video-gen
/
jobs
/
{id}
Get uploaded video
curl --request GET \
  --url https://backend.tensorpix.ai/api/video-gen/jobs/{id}/ \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prompt": "<string>",
  "type": "i2v",
  "status": "<string>",
  "cost": "<string>",
  "model": "<string>",
  "generated_video": {
    "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>"
  },
  "input_images": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "file": "<string>",
      "name": "<string>"
    }
  ],
  "progress": 50,
  "started_at": "2023-11-07T05:31:56Z",
  "options": "<unknown>"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
string
required

Response

id
string<uuid>
required
prompt
string
required

Text prompt for the video generation.

Maximum string length: 2048
type
enum<string>
required

Type of the video generation job. I2V for Image to Video, T2V for Text to Video.

  • i2v - Image to Video
  • t2v - Text to Video
Available options:
i2v,
t2v
status
string
required
cost
string<decimal>
required

Cost in Credits

model
string
required
generated_video
object
required
input_images
object[]
required
progress
number<double>
Required range: 0 <= x <= 100
started_at
string<date-time>
options
any

Arbitrary options for the video generation job besides prompt