Uploads

Get audio upload URL

Get a pre-signed URL for audio upload. Use this to upload audio for node parameters (e.g., background music). Max 500MB, 5 hour duration. After uploading, call /uploads/audio/finalize_upload to get the audio UUID.

post/uploads/audio/get_upload_url

Request

  • Base URL
    https://api.mosaic.so
  • URL
    https://api.mosaic.so/uploads/audio/get_upload_url
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Response

Upload URL generated successfully

audio_idstring

UUID for the audio. Use this to call finalize_upload and in update_params.

upload_urlstring

URL to POST the file to

upload_fieldsobject

Form fields to include before the file in the POST request

max_file_size_bytesinteger

Maximum file size (100MB)

Changes

No recorded changes to this operation across all 1 revision of this API.