POST
/
api
/
jobs
/
Enhance uploaded video
curl --request POST \
  --url https://backend.tensorpix.ai/api/jobs/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "codec": "libx264",
  "crf": 25,
  "qscale": 16,
  "container": "mov",
  "chroma_subsampling": "yuv420p",
  "preview": true,
  "start_frame": 1073741823,
  "end_frame": 1073741824,
  "input_video": 123,
  "output_video": 123,
  "ml_models": [
    123
  ],
  "output_resolution": -1,
  "grain": 0.5,
  "comparison": true,
  "stabilization_smoothing": 20,
  "target_fps": 120.5,
  "playback_speed": 0.55,
  "sharpen_strength": 5,
  "prores_profile": -1
}'
{
  "id": 123,
  "codec": "libx264",
  "crf": 25,
  "qscale": 16,
  "container": "mov",
  "chroma_subsampling": "yuv420p",
  "preview": true,
  "start_frame": 1073741823,
  "end_frame": 1073741824,
  "input_video": 123,
  "output_video": 123,
  "owner": "[email protected]",
  "ml_models": [
    123
  ],
  "output_resolution": -1,
  "grain": 0.5,
  "comparison": true,
  "stabilization_smoothing": 20,
  "target_fps": 120.5,
  "playback_speed": 0.55,
  "sharpen_strength": 5,
  "cost_usd": "<string>",
  "prores_profile": -1
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

Response

201
application/json

The response is of type object.