Audio

Add background music — estimate

Price the request without executing it. Same body as POST /v1/studio/music.

post/v1/studio/music/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/studio/music/estimate
  • Auth: HTTP bearer

Request body

duckboolean

Lower the music automatically while someone speaks

loopboolean
volumenumber
duck_dbnumber

With duck: how far the music dips under speech, dB — −6 (default) = half as loud under the voice, −3 a gentle dip, −18 a deep one. A fixed depth whatever the speaker's level; attack 40 ms, release 700 ms

start_msnumber

Start the music this far into the video

music_urlstring uri required
normalizeboolean

Bring the track to a standard loudness first, so volume means the same for every file (a quiet file is not lost under the speech)

video_urlstring uri required

Public URL of the source video (mp4, mov, webm, mkv…) — or the url of a previous render

fade_in_msnumber
fade_out_msnumber
original_volumenumber

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.