Upload base64 to URL
curl --request POST \
--url https://modelslab.com/api/v6/base64_to_url \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"base64_string": "<string>"
}
'{
"status": "success",
"id": 123,
"output": [
"<string>"
]
}General APIs
Base64 to URL
Convert base64 strings of image, audio, video and 3d object file to a valid URL.
POST
/
base64_to_url
Upload base64 to URL
curl --request POST \
--url https://modelslab.com/api/v6/base64_to_url \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"base64_string": "<string>"
}
'{
"status": "success",
"id": 123,
"output": [
"<string>"
]
}The URL expires in 24 hours, supports max 5MB uploads, and requires valid base64 format.
Request
Send aPOST request to below endpoint.
curl
--request POST 'https://modelslab.com/api/v6/base64_to_url' \
Body
json
{
"key": "your_api_key",
"base64_string": "data:image/png;base64,<your_base_64_string>"
}
Body
application/json
Was this page helpful?
⌘I

