🎵 NEW: Song Generator API powered by ACE-Step v1.5 - Create full songs with vocals in 50+ languages (30s-8min) 🎶 · Try it now · Read Guide
cURL
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>" ] }
Let’s you to upload a 3D object in base64 format and retrieve a URL for the object.
POST
--request POST 'https://modelslab.com/api/v6/3d/base64_to_url' \
{ "key":"", "init_obj":"data:model/obj;base64,<base64>" }
Your API Key used for authenticating your request
The base64 format of the 3D object file to be uploaded
^data:model\/[a-zA-Z0-9]+;base64,[A-Za-z0-9+\/]+=*$
Upload success response
success
Unique identifier for the uploaded file
Array containing the URL of the uploaded 3D object
Was this page helpful?