Bring media in

10 tools: import_media, import_media_bytes, convert_media, add_to_timeline…

import_media

Import media · Changes the project · Reaches outside the studio

Bring a NEW file the user gave you INTO the project by URL — the browser fetches it, ingests it and (by default) adds it to the timeline. Use this first when the bin is empty and the user handed you a clip. The URL must be directly fetchable (public / presigned / CORS-enabled). Returns the new mediaId; then transcribe / edit / export as usual.

InputType
urlstringRequired
addToTimelineboolean
namestring

import_media_bytes

Import media from base64 · Changes the project

Import media from base64 into the open Studio board (chunked: chunkId + chunkIndex + chunkTotal). Chat files are NOT on the board until imported. Requires live Studio tab at https://eziclip.com/studio.

InputType
base64string
mimestring
namestring
addToTimelineboolean
chunkIdstring
chunkIndexnumber
chunkTotalnumber

convert_media

Convert media · Changes the project

Convert a camera-codec library item (ProRes, DNxHD, CineForm, 10-bit 4:2:2 HEVC…) this browser can't decode into an editable H.264+AAC copy. Import already triggers this automatically for anything undecodable under 10 minutes — use this only to retry a failed conversion, or for media that arrived some other way and is still marked undecodable in list_media/get_project_digest. Takes real minutes on a real camera file; the mediaId is REPLACED on success (the returned media is the new id — re-fetch get_project_digest before referencing this clip again).

InputType
mediaIdstringRequired

add_to_timeline

Add to timeline · Changes the project

Add a bin media item to the timeline (video/image → main track, audio → an audio track). Pass asAudio:true to put a video's SOUND only on an audio track (picture discarded — same as dropping the video onto an audio lane). Pass a mediaId from list_media.

InputType
mediaIdstringRequired
asAudioboolean

remove_media_from_project

Remove media from project · Changes or removes

Remove a media file from the ACTIVE BOARD (every sheet's library). By default also deletes timeline clips that use it on this board. Other boards are untouched. Pass removeClips:false to only strip the bin entry when nothing is placed.

InputType
mediaIdstringRequired
removeClipsboolean

search_stock_video

Search stock video · Reads · Reaches outside the studio

Search free STOCK FOOTAGE. Returns hits + JPEG samples — SEE before import_media. Then match_grade to the plate. Supports the story, never replaces it.

InputType
querystringRequired
includeSamplesboolean

search_stickers

Search stickers · Reads · Reaches outside the studio

Search the built-in visual-asset library (Klipy). Returns hits + JPEG samples for the first hits — SEE before add_sticker, never blind-add. kind: stickers|gifs|clips. Taste guides: meme-grammar, stickers-and-text-overlays.

InputType
querystringRequired
kindone of stickers | gifs | clips
includeSamplesboolean

add_sticker

Add sticker · Changes the project · Reaches outside the studio

Add a hit from search_stickers onto the video. image = the hit's image URL; for a CLIP also pass its video — it lands as a video overlay with its own sound (mind the mix: duck or mute it under speech). Optional: tlStart (timeline second, defaults to playhead), durationSec (default 4), x/y (fractions of canvas from centre, −0.5..0.5, y negative = up; keep clear of captions and platform UI), scale (default 0.7). One asset per beat, synced to the audio accent — a meme lands when it PUNCTUATES a moment; scattered decoration reads amateur. Restraint reads professional.

InputType
imagestringRequired
videostring
tagsstring
tlStartnumber
durationSecnumber
xnumber
ynumber
scalenumber

search_audio

Search audio · Reads · Reaches outside the studio

Search the built-in stock sound library (Freesound, CC0-only — safe for any use). ONE pool; kind narrows it: 'music' (beds/loops), 'sfx' (whoosh, riser, click, impact), 'ambient' (soundscapes/room tone), 'voice', 'instrument' (single-instrument samples), 'all' (default). Optional minDuration prefers longer beds but is NOT required — if a bed is longer than the cut, just trim_clip + fadeInSec/fadeOutSec. Returns hits with name/tags/duration + a url to pass to add_audio_asset.

InputType
kindone of music | sfx | ambient | voice | instrument | allRequired
querystringRequired
minDurationnumber

add_audio_asset

Add audio asset · Changes the project · Reaches outside the studio

Import a track/effect from search_audio (pass its url) and lay it on the Music or SFX track. Music defaults to tlStart 0 and is trimmed to the picture end so the timeline length does not blow out. Optional tlStart overrides. loop:true tiles a SHORT loop across a longer cut. Returns mediaId, clipId (+ clipIds), clipsAdded, report — use clipId for set_audio_props / trim. Then duck_music + get_mix_audio.

InputType
urlstringRequired
kindone of music | sfx
namestring
tlStartnumber
loopboolean