Model Packs

Generate a pre-signed upload URL for a model pack file

Returns a pre-signed S3 PUT URL for uploading a file (image/video/any) to [modelId]/[packId]/[fileName]. The request data is echoed back in the response so the client can persist it.

post/v1/model-packs/upload-url

Headers

x-api-keystring required

API key for authentication

Request body

modelIdstring required

Model identifier, used as the top-level S3 folder

packIdstring required

Pack identifier, used as the second-level S3 folder

fileNamestring

File name to store under the pack. When omitted, a UUID-based name is generated (with an extension derived from contentType, if provided)

contentTypestring

MIME type the client will send in the PUT request, e.g. image/png or video/mp4

Response

Upload URL generated successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.