Upload 3D Asset to Polyhive

Learn how to upload an asset to Polyhive for texturing

Upload a 3D model to Polyhive for texturing

POST https://prod.polyhive.ai/api/content/upload

Through this endpoint, you can upload an asset to Polyhive for texturing.

An example of a request to this endpoint through curl, for uploading a new asset to Polyhive:

curl -X POST -H "x-api-key: <YOUR API KEY>" -H "file-name: test.glb" -H "file-size: <FILE-SIZE>" -H "Content-Type: application/octet-stream" --data-binary "@test.glb" https://prod.polyhive.ai/api/content/upload

Headers

Name
Type
Description

X-API-KEY*

uuid

Your API Key, created through the dashboard

Content-Type*

String

The content type of the request, set to "application/octet-stream".

file-size*

Int

The size of the file being uploaded in bytes.

file-name*

String

The name of the file to be uploaded, including the file extension (e.g., "test.glb").

Request Body

Name
Type
Description

file*

binary

The binary data of the GLTF file to be uploaded.

7a2c3835-3355-475f-903f-66f51ec36bc0

Last updated

Copyright (C) 2023 Aqueduct Software, Inc. All rights reserved.