Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY

Body

multipart/form-data
file
file
required

The file to upload. Accepted types: video/mp4, video/quicktime, video/webm, image/png, image/jpeg, image/webp

Response

File uploaded successfully

url
string<uri>
required

Public URL of the uploaded file. Use in generation requests (imageUrls, videoUrls) or pass to analyze-video.

contentType
string
required

MIME type of the uploaded file (e.g. video/mp4, image/png)

size
integer
required

File size in bytes