MediaFilez
DocumentationMEDIAFILEZ

Build with MediaFilez

Choose the hosted API, a standalone worker, or a local application.

MediaFilez downloads public video, images, albums, and audio. Choose the part that fits your project. You do not need to run every component.

Choose your path

You want toStart withRuns where
Add downloads to a bot, website, or backendFirst API downloadYour backend calls the hosted API
Run your own media processingWorker overviewYour server or Node.js process
Save media on a Windows PCDesktop appOn the user's device
Inspect a direct media URLMediaAnalyzerJava command line
Download without building an integrationWeb downloader or Discord botBrowser or Discord

How the hosted service works

Diagram

Rendering diagram…

View Mermaid source
sequenceDiagram
    accTitle: Hosted download lifecycle
    accDescr: A backend submits a job, the worker processes it, and file lookup returns a storage URL.
    participant Client as Your backend
    participant API as MediaFilez API
    participant Queue as Queue and worker
    participant Store as Storage
    Client->>API: POST /media/download + API key
    API-->>Client: 202 + job.id
    API->>Queue: Dispatch persistent job
    Queue->>Queue: Download, validate, process
    Queue->>Store: Commit every result file
    Queue-->>API: Completion and file identities
    Client->>API: GET /jobs/:id
    API-->>Client: completed + result.files
    Client->>API: GET /files/:fileId + API key
    API-->>Client: file.url
    Client->>Store: Fetch URL without the API key
    Store-->>Client: File bytes

The API authenticates the caller and tracks work. The worker downloads and checks the media, processes it when requested, and stores the result. Your application asks the API for a download URL when the job finishes.

A 202 Accepted response means the job was accepted. It does not mean the source has been downloaded successfully.

Find the right documentation

  • Guides explain complete tasks and common failure cases.
  • API reference lists methods, authentication, request bodies, and response fields.
  • Worker, Desktop, and MediaAnalyzer cover those projects separately.
  • Changelog links to verified releases and explains compatibility.

Use search or press Ctrl+K (⌘K on macOS). Every code block has a copy button. The page menu also provides the original Markdown.

Use media you have permission to download. Source sites can refuse access or change their behavior; a recognized platform is not a guarantee that a particular link will work.

Questions about access? Contact [email protected]. For help with an existing integration, use [email protected].