Skip to content

Upload with temporary token

This part describes the detailed method for uploading files towards our S3 bucket with temporary credentials. This is the most recommended method for uploading.

Upload with STS temporary credentials: workflow overview

Endpoint

Parameters

Required attributes:

format: For images, this field must be set in webp, jpeg or png. For 3D model files, this field must be set in glb, obj, fbx or stl.

Caution

The file should not be larger than 20 MB.

Returns

s3_host: Our S3 host, it always will be s3.us-west-2.amazonaws.com.

resource_bucket: Our bucket to store data, normally should be tripo-data.

resource_uri: The target path in S3 bucket for the uploading file to store. It will be useful in the process of generation.

session_token: Temporary token assigned by our system, used for uploading files.

sts_ak: Temporary access key id assigned by our system, used for uploading files.

sts_sk: Temporary secret access key assigned by our system, used for uploading files.

How to use