POST
/
3d
/
base64_to_url
Upload 3D object from base64
curl --request POST \
  --url https://modelslab.com/api/v6/3d/base64_to_url \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "init_obj": "<string>"
}'
{
  "status": "success",
  "id": 123,
  "output": [
    "<string>"
  ]
}

Request

Make a POST request to below endpoint and pass the required parameters as a request body.
curl
--request POST 'https://modelslab.com/api/v6/3d/base64_to_url' \

Body

json
{       
    "key":"",    
    "init_obj":"data:model/obj;base64,<base64>"
}

Body

application/json
key
string
required

Your API Key used for authenticating your request

init_obj
string
required

The base64 format of the 3D object file to be uploaded

Response

Upload success response

status
enum<string>
Available options:
success
id
integer

Unique identifier for the uploaded file

output
string<uri>[]

Array containing the URL of the uploaded 3D object