✨ NEW:Flux 2 Dev Generate photorealistic images. · Try it now
cURL
curl --request POST \ --url https://modelslab.com/api/base64_to_url \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "base64_string": "<string>" } '
{ "status": "success", "id": 123, "output": [ "<string>" ] }
Convert base64 strings of image, audio, video and 3d object file to a valid URL.
POST
--request POST 'https://modelslab.com/api/v6/base64_to_url' \
{ "key": "your_api_key", "base64_string": "data:image/png;base64,<your_base_64_string>" }
Your API Key used for request authorization
Image to be uploaded converted in base64 format
Base64 to URL response
success
Unique identifier for the upload
Array of URLs to the uploaded files
Was this page helpful?