Railway

Deploy Magika

An AI powered file type detection tool

Deploy Magika

Instructions

  1. Deploy and copy the endpoint URL.
  2. Add a Bearer Token header with the generated AUTH_TOKEN service variable
  3. POST either:
  • A file as raw bytes to the /identify_bytes slug
  • A URL to the /identify_from_url slug with format:
{"url":"file url here"}

Additional Information

  • It is recommended to only rely on the ct_label value for the file type. More information here

  • Add a custom domain routed through Cloudflare


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
112
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
1
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
51