Cut.ProDocs
Personas

Upload a source video

Starts the upload of the video whose person will be swapped for a persona. Returns a media_id and a presigned PUT URL: PUT the raw bytes to upload_url with the same Content-Type, then call POST /personas/sources/upload/complete.

MP4 or MOV only, within video_limits of GET /personas/catalog. The video goes to the workspace library and counts toward its storage. A video already in the library needs no upload: use its id as media_id.

Authorization

apiKey
X-Api-Key<token>

In: header

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

POST
/personas/sources/upload
curl -X POST "https://example.com/personas/sources/upload" \  -H "Content-Type: application/json" \  -d '{    "file_name": "string",    "file_size": 0  }'
{  "media_id": "string",  "upload_url": "string",  "expires_in": 0}