🎵 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/image_editing/base64_to_url \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "init_image": "<string>" } '
{ "status": "success", "id": 123, "output": [ "<string>" ] }
This endpoint allows you to upload image in base64 format and get it in url format.
POST
--request POST 'https://modelslab.com/api/v6/image_editing/base64_to_url' \
{ "key":"api key", "init_image":"data:image/png;base64, <base64>" }
Your API Key used for request authorization
Base64 format of the image file
Base64 to URL response
success
Unique identifier for the upload
Array of URLs to the uploaded files
Was this page helpful?