✨ NEW:Flux 2 Dev Generate photorealistic images. · Try it now
cURL
curl --request POST \ --url https://modelslab.com/api/v6/video/base64_to_url \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "init_obj": "<string>" } '
{ "status": "success", "id": 123, "output": [ "<string>" ] }
Upload a video in base64 format and retrieve it as a URL.
POST
--request POST 'https://modelslab.com/api/v6/video/base64_to_url' \
{ "key":"your_api_key", "init_obj":"data:video/mp4;base64,<base64>" }
Your API Key used for request authorization
Base64 encoded video data with data URI format (data:video/mp4;base64,)
Base64 conversion response
Status of the conversion
success
error
Unique identifier for the conversion
Array of converted video URLs
Was this page helpful?