Create file upload
Create a new file and receive a pre-signed upload URL. PUT the file bytes to the returned URL, then poll GET /v1/files/{fileId} until the file is ready.
Create a new file and receive a pre-signed upload URL. PUT the file bytes to the returned URL, then poll GET /v1/files/{fileId} until the file is ready.
API key from app.videogen.io/developers. The full key is only shown once when you create it.
The type of file to upload. Optional; when omitted, the type is inferred after upload processing completes.
When true, the file is temporary. Temporary files are guaranteed to be available for 24 hours, after which they may be archived at any time. Temporary files are not analyzed (no description, transcript, or embedding will be generated), so they will not appear in search results. Defaults to false.
The file id to use in subsequent API calls (e.g. vg_file_...).
Pre-signed URL. PUT the raw file bytes to this URL to complete the upload.