Skip to main content
POST
Upload File
Upload an image or video file using multipart form data. The response includes an id and path that can be used as a reference in generation requests.

Accepted MIME types

Direct multipart uploads are limited to 20MB.

Authorizations

Authorization
string
header
default:ta_live_your_api_key
required

Your TurboAds API key

Body

multipart/form-data
file
file
required

Image or video file to upload.

project_id
string

Optional project ID to associate with the uploaded file.

Response

File uploaded successfully

data
object
required