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>"
}
'{
"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>"
}
'{
"id": 123,
"output": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
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

