API Documentation
Programmatic access to AllKit's developer tools. Simple JSON API with no signup required.
Quick Start
curl -X POST https://allkit.dev/api/v1/hash \
-H "Content-Type: application/json" \
-d '{"text": "hello world"}'Rate Limits
Rate limit headers (X-RateLimit-Remaining) are included in every response. Pro users: include your API key as Authorization: Bearer YOUR_API_KEY.
Base URL
https://allkit.dev/api/v1All endpoints accept and return JSON. Set Content-Type: application/json for POST requests.
Endpoints
/api/v1/hashGenerate cryptographic hashes (MD5, SHA-1, SHA-256, SHA-384, SHA-512)
{ "text": "hello world" }Options: algorithm: "sha256" (default: all)
/api/v1/base64Encode or decode Base64 strings
{ "text": "hello", "mode": "encode" }Options: mode: "encode" | "decode" (default: encode)
/api/v1/url-encodeURL encode or decode strings
{ "text": "hello world", "mode": "encode" }Options: mode: "encode"|"decode", type: "component"|"full"
/api/v1/json-formatFormat, validate, or minify JSON
{ "json": "{\"key\":\"value\"}" }Options: indent: 2 (number), minify: true
/api/v1/uuidGenerate cryptographically secure UUIDs (v4)
Options: ?count=5 (max 100)
/api/v1/passwordGenerate secure random passwords
Options: ?length=20&count=5&symbols=false
/api/v1/timestampConvert Unix timestamps to dates and vice versa
{ "timestamp": 1700000000 }Options: Or: { "date": "2024-01-15T10:30:00Z" }. GET for current time.
/api/v1/word-countCount words, characters, sentences, reading time
{ "text": "Your text here..." }/api/v1/jwt-decodeDecode and inspect JSON Web Tokens
{ "token": "eyJhbGciOi..." }/api/v1/csv-jsonConvert between CSV and JSON formats
{ "csv": "name,age\nJohn,30" }Options: Or: { "json": [...] }. delimiter: ","
AI Endpoints
AI-powered tools for image, audio, and text processing. Image and audio inputs should be sent as base64 data URLs. These endpoints are ideal for LLM tool-use — let your AI agent process media on behalf of users.
/api/v1/ai/remove-backgroundRemove image backgrounds with AI. Returns transparent PNG as base64 data URL.
{ "image": "data:image/png;base64,..." }/api/v1/ai/ocrExtract text from images using AI OCR (DeepSeek).
{ "image": "data:image/png;base64,..." }/api/v1/ai/generate-imageGenerate images from text prompts using FLUX.1 Schnell.
{ "prompt": "a sunset over mountains" }/api/v1/ai/ttsConvert text to natural speech audio. Returns WAV as base64 data URL.
{ "text": "Hello world" }Options: exaggeration: 0.5 (0-1, voice expressiveness)
/api/v1/ai/upscaleUpscale and enhance images with AI. Returns higher-resolution image.
{ "image": "data:image/png;base64,..." }/api/v1/ai/face-swapSwap faces between two photos. Requires consent for all people in photos.
{ "target": "data:image/png;base64,...", "source": "data:image/png;base64,..." }/api/v1/ai/speech-to-textTranscribe or translate audio to text using Whisper AI.
{ "audio": "data:audio/wav;base64,..." }Options: task: "transcribe" (default) | "translate" (to English)
/api/v1/ai/voice-cloneClone a voice from a reference audio sample and generate speech.
{ "text": "Hello world", "audio": "data:audio/wav;base64,..." }Options: audio: 5-15 second voice sample recommended
/api/v1/ai/live-portraitAnimate a portrait photo using a driving video. Returns MP4 video.
{ "image": "data:image/png;base64,...", "video": "data:video/mp4;base64,..." }/api/v1/ai/image-to-videoGenerate a video from a still image and motion prompt.
{ "image": "data:image/png;base64,...", "prompt": "clouds moving slowly" }/api/v1/ai/regexDescribe a pattern in English, get a working regex with explanation.
{ "description": "match email addresses" }/api/v1/ai/cronDescribe a schedule in English, get a cron expression.
{ "description": "every Monday at 9am" }/api/v1/ai/privacy-policyGenerate a privacy policy for your app or website.
{ "appName": "MyApp", "dataCollected": ["email", "name"] }Error Handling
Errors return JSON with an error field. Rate limit exceeded (429) includes an upgrade URL.
// 429 Rate Limit Response
{
"error": "rate_limit_exceeded",
"message": "Free API limit reached. Upgrade to AllKit Pro for unlimited access.",
"upgrade_url": "https://allkit.dev/pricing"
}LLM & AI Agent Integration
AllKit's API is designed for use by AI assistants and LLM tool-use. See /llms.txt for a machine-readable tool inventory.
Each endpoint accepts simple JSON and returns structured results — perfect for function calling. No authentication needed for the free tier.