അത്‌ എങ്ങനെ പ്രവർത്തിക്കുന്നു?

1
API കീ എടുക്കുക

ഗ്നോറ്റ് ചിഹ്നങ്ങള്‍, പിന്നെ നിങ്ങളുടെ സ്ക്- ഫ്രീ- കീ നിര്‍മ്മിക്കുക

2
ഏതു് അവസാനം വരെയെങ്കിലും വിളിക്കുക

Chat, images, TTS, STT, music, translation: all one API

3
ടോക്കൻസിൽ പണം

ഒരു സമനില, എല്ലാ ഉപകരണത്തിനും ഒരു ലക്ഷണമുണ്ട്.

പെട്ടെന്നു് തുടങ്ങുക

# Chat with AI
curl -X POST https://api.free.ai/v1/chat/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "Hello!"}],
    "model": "qwen7b"
  }'

# Generate an image — self-hosted (free within daily allowance)
curl -X POST https://api.free.ai/v1/image/generate/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A sunset over mountains", "model": "sdxl"}'

# Generate with a premium model (paid tokens only — FLUX Kontext, Seedream,
# Ideogram, Nano Banana, Gemini 3 Pro, etc.). Full list at /v1/providers.
curl -X POST https://api.free.ai/v1/image/generate/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A sunset over mountains", "model": "premium/flux-pro/kontext"}'

# Generate a video (premium)
curl -X POST https://api.free.ai/v1/video/generate/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A cat running in slow motion", "duration": 5, "model": "premium/kling-video/v2.6/pro/text-to-video"}'

# Text to speech
curl -X POST https://api.free.ai/v1/tts/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world", "voice": "default", "model": "kokoro"}'

# Translate text
curl -X POST https://api.free.ai/v1/translate/ \
  -H "Authorization: Bearer sk-free-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world", "target": "es"}'
import requests

API_KEY = "sk-free-YOUR_KEY"
BASE = "https://api.free.ai"
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}

# Chat
r = requests.post(f"{BASE}/v1/chat/", headers=HEADERS, json={
    "messages": [{"role": "user", "content": "Hello!"}],
    "model": "qwen7b"  # or "openai/gpt-4o", "anthropic/claude-sonnet-4", etc.
})
print(r.json()["choices"][0]["message"]["content"])

# Generate image — self-hosted (free within daily allowance)
r = requests.post(f"{BASE}/v1/image/generate/", headers=HEADERS, json={
    "prompt": "A sunset over mountains",
    "model": "sdxl",  # or "premium/flux-pro/kontext" for paid tier
    "aspect_ratio": "16:9"
})
print(r.json()["image_url"])

# Generate video (premium — see /v1/providers for the full list)
r = requests.post(f"{BASE}/v1/video/generate/", headers=HEADERS, json={
    "prompt": "A cat running in slow motion",
    "duration": 5,
    "model": "premium/kling-video/v2.6/pro/text-to-video"
})
print(r.json()["video_url"])

# Text to speech
r = requests.post(f"{BASE}/v1/tts/", headers=HEADERS, json={
    "text": "Hello world",
    "model": "kokoro",
    "voice": "af_heart"
})
print(r.json()["audio_url"])

# Transcribe audio
r = requests.post(f"{BASE}/v1/stt/transcribe/", headers=HEADERS, json={
    "url": "https://example.com/audio.mp3",
    "model": "whisper"
})
print(r.json()["text"])
const API_KEY = "sk-free-YOUR_KEY";
const BASE = "https://api.free.ai";

// Chat
const chat = await fetch(`${BASE}/v1/chat/`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    messages: [{ role: "user", content: "Hello!" }],
    model: "qwen7b"
  })
});
const data = await chat.json();
console.log(data.choices[0].message.content);

// Generate image — self-hosted (free within daily allowance)
const img = await fetch(`${BASE}/v1/image/generate/`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "A sunset over mountains", model: "sdxl" })
});

// Premium image model (paid tokens) — full list at /v1/providers
const imgPro = await fetch(`${BASE}/v1/image/generate/`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "A sunset over mountains", model: "premium/flux-pro/kontext" })
});
console.log((await img.json()).image_url);

ടോക്കന്‍ പ്രിക്കിങ്

എല്ലാത്തിനും സൂചനകള്‍ ഉണ്ട്. എല്ലാ ഉപകരണങ്ങളും ഒരു സമനില. നിങ്ങള്‍ API അല്ലെങ്കില്‍ വെബ്സൈറ്റും ഉപയോഗിക്കുന്നത് ഒരേ പോലെ.

സ്വയം സമര്‍പ്പിച്ച മോഡലുകള്‍ കെപ്പെസ്റ്റ്
മോഡ്തരംടോക്കണ്‍ വിലഅനുമതി
Qwen 3.6 35BChat/ രേഖ/Codeഉപയോഗിച്ചിട്ടുള്ള യഥാര്‍ത്ഥ അടയാളങ്ങള്‍ (input+output)Apache 2.0
FLUX.2 ക്ലിൻചിത്രത്തിന്റെ ഉല്‍പ്പന്നം5,000 അടയാളം/വിജയംApache 2.0
Kokoroസംസാരത്തിനുള്ള പദാവലി4 അക്ഷരങ്ങളില്‍ 1 അടയാളംApache 2.0
faster-whisperവാചകത്തോടു് സംസാരം4 അടയാളം/ഒബ്ലിയുഎം ഓഡിയോഎംഐടിName
AudioLDM 2സംഗീത നിർമ്മാണം2000 ചിഹ്നങ്ങള്‍/തട്ടല്‍Apache 2.0
MadLAD-400പരിഭാഷ (450+ആംഗ്ലീഷുകള്‍)ഉപയോഗിച്ചിരിക്കുന്ന യഥാര്‍ത്ഥ അടയാളങ്ങള്‍Apache 2.0
Real-ESRGANചിത്രം അപ്‌ലോഡ് ചെയ്യുന്നു500 ചിഹ്നങ്ങള്‍/ഛായബി.എസ്.ഡി
റിംബിപശ്ചാത്തലം നീക്കം ചെയ്യുക500 ചിഹ്നങ്ങള്‍/ഛായApache 2.0
CogVideoXവീഡിയോ നിർമ്മാണം30,000 അടയാളം/വിഡിയോApache 2.0
Stem Separator (Mel-Band RoFormer + SCNet)വോള്‍ട്ടിക് വേര്‍ഷന്‍500 ചിഹ്നങ്ങള്‍/തട്ടുകMIT + Apache-2.0
പുറമേയുള്ള മോഡലുകള്‍ 575 models

Access GPT-6, Claude, Gemini, Llama, DeepSeek and the rest of the 575 models. Token cost is based on provider pricing converted to our tokens.

മോഡ്ദാതാവ്ഓരോ സന്ദേശത്തിനും ~a കൌണ്ടുകള്‍ (500, 300 ഔട്ട്)
GPT-4o-miniOpenAI~286
Mistral NemoMistral~100
Llama 3.3 70B InstructMeta~639
Qwen2.5 72B InstructQwen~337
DeepSeek V3DeepSeek~493
GPT-4oOpenAI~4,781

Full list of 575 models at /models/. All use the same /v1/chat/ endpoint: just change the model parameter.

ടോക്കണ്‍ സന്തുലിതാവസ്ഥ

സ്വയം ചേര്‍ത്തിരിക്കുന്ന മോഡലുകള്‍: ഉപയോഗിച്ചിരിക്കുന്ന ക്യാപ് ചിഹ്നങ്ങള്‍ നിങ്ങള്‍ക്ക് നല്‍കുന്നു. മാര്‍ക്കപ്പ് ലഭ്യമല്ല.

പുറമേയുള്ള മോഡലുകള്‍: our_tokens = provider_usd_cost × 750,000 × 1.5

Example: GPT-4o costs $0.0025 per 1,000 prompt tokens, so 1,000 prompt tokens cost $0.0025 x 750,000 x 1.5 = 2,812 tokens from your balance.

The 1.5 markup is the standard rate. Accounts with a high monthly spend pay a lower one.

എല്ലാ അവസാനബിന്ദു

Chat / LLM
POST /v1/chat/Chat ഏതു് മോഡലിനോടും (സ്വയം ഹോസ്റ്റ് ചെയ്തോ പുറത്തോ). സ്ട്രീമിങ് പിന്തുണയുണ്ടു്.
ചിത്രം
POST /v1/image/generate/ഇമേജ് FLUX, SDXL-ലേക്ക് ടെക്സ്റ്റ് (FLUX)
POST /v1/image/edit/ബാറ്ററി, പോപ്പറ്റ്, ശൈലി മാറ്റല്‍
POST /v1/image/enhance/മുകളിലെ സ്കോട്ട്രോം 2x/ 4x (Real-ESRGAN)
POST /v1/image/remove-bg/പശ്ചാത്തലം നീക്കം ചെയ്യുക (BRA RMBG)
വീഡിയോ
POST /v1/video/generate/പദാവലി/വീഡിയോയില്‍ നിന്നും (CogVideoX)
സംസാരത്തിനുള്ള പദാവലി
POST /v1/tts/സംസാരം നിര്‍മ്മിയ്ക്കുക (Kokoro, Piper, MeloTTS, Chatterbox)
POST /v1/tts/stream/TTS സ്ട്രീം ചെയ്യുന്നു (യഥാര്‍ത്ഥ സമയം ഓഡിയോ ഭാഗങ്ങള്‍)
വാചകത്തോടു് സംസാരം
POST /v1/stt/transcribe/Transcribe audio/video (faster-whisper, 99 languages)
സംഗീതവും ഓഡിയോയും
POST /v1/music/generate/വാചകവിവരത്തില്‍ നിന്നും സംഗീതം തയ്യാറാക്കുക
POST /v1/music/separate/വ്യത്യസ്തമായ വോക്കല്‍/സ്റ്റെം (Mel-Band RoFormer + SCNet)
Text Tools
POST /v1/write/ഉള്ളടക്കങ്ങള്‍ സൃഷ്ടിക്കുക (സെസ്ക്, ഇമെയില്‍, കഥ, തുടങ്ങിയവ.)
POST /v1/code/generate/ഏതെങ്കിലും ഭാഷയില്‍ കോഡ് ഉണ്ടാക്കുക
POST /v1/summarize/ക്വോട്ടൈന്‍ഡ് പദാവലി
POST /v1/humanize/AI ടെക്സ്‌ ഫോര്‍ണുക്ക്‌
POST /v1/detect/തിരിച്ചറിയല്‍ AI-SLesson ഉള്ളടക്കം
POST /v1/embeddings/Text embeddings: BGE-M3 by default, or "model": "embeddinggemma-2" for EmbeddingGemma 2 (768 dims, dimensions 128 to 768, input_type query or document)
പരിഭാഷയും ഒസിഐ
POST /v1/translate/വാചകം MadLAD-400, 450+ ഭാഷകള്‍ പരിഭാഷപ്പെടുത്തുക (iple+ts)
POST /v1/ocr/ചിത്രങ്ങളില്‍ നിന്നും പദാവലി തുറന്നിടുക
ഉപയോഗം
GET /v1/modelsList all available models (self-hosted + external)
GET /v1/status/{job_id}/ഒരു പൊരുത്തമുള്ള ജോലിയുടെ അവസ്ഥ പരിശോധിക്കുക
GET /healthഎപിഐ ആരോഗ്യ പരിശോധന

ആധികാരകത ഉറപ്പുവരുത്തല്‍

നിങ്ങളുടെ PI കീ ഉള്‍പ്പെടുത്തുക Auctioniative ഹെഡറില്‍:

Authorization: Bearer sk-free-YOUR_API_KEY

എല്ലാ മറുപടികളും ഫ്രീ_ i_usa_ puse_ ബ്ലോക്ക് ആണ്. ഇതു് ഉപയോഗിക്കുന്ന അടയാളങ്ങള്‍ കാണിക്കുന്നതിനുള്ള സൂചനകള്‍:

{
  "choices": [...],
  "free_ai_usage": {
    "tokens_used": 142,      // actual tokens processed
    "tokens_charged": 142,   // tokens deducted from your balance
    "source": "self_hosted", // or "external"
    "model": "qwen7b"
  }
}

പരിധികളും പദ്ധതികളും

അതേ അടയാളം വെബ്സൈറ്റിലും API- ലും ഉള്ളതാണ്. വേറെ ഒരു ആപ്സിങ്ങും ഇല്ല.

പദ്ധതിടോക്കന്‍സ്API ആവശ്യങ്ങള്‍/മാസംAPI അഭ്യാസം/മൈന്‍വില
ഫ്രീ30,000 a day (free pool)1,00060$0
അടിസ്ഥാനം250,00010,000120$5 a month
പ്രൊഫൈല്‍1,250,000100,000300$19 a month
വ്യാപാരം6,250,0001,000,000600$49 a month
ഇന്‍റര്‍നാഷണല്‍യഥേഷ്ടം1,000,000 സഹജമായി, അപേക്ഷയിലായി ഉയര്‍ത്തിയിരിക്കുന്നു600 സഹജമായി, അപേക്ഷയിലായി ഉയര്‍ത്തിയിരിക്കുന്നുവിലാസം

ലഭ്യ‌മായ ടോക്കണ്‍ പാക്ക്: 200K/$5, 1M/1$15, 5M/$40. ടോക്കന്‍സ് ഒരിക്കലും അവസാനിക്കുകയില്ല.

Python SDK & CLI

പൈത്തണ്‍ എസ്ഡികെComment

നിങ്ങളുടെ പൈത്തണ്‍ കോഡ്-യില്‍ നിന്നും എല്ലാ ഐഐ ഉപകരണങ്ങളും ലഭ്യമാക്കുക.

pip install free-dot-ai
from freeai import FreeAI

ai = FreeAI(api_key="sk-free-xxx")

# Chat
response = ai.chat("What is Python?")
print(response.text)

# Image generation
image = ai.image("A sunset over mountains")
image.save("sunset.png")

# Text to speech
audio = ai.tts("Hello world", voice="af_heart")
audio.save("hello.mp3")

# Translation
result = ai.translate("Hello", to="es")
print(result.text)  # "Hola"
PyPI പിപിഐ
CLI കൊഡിങ്ങ് സഹായി

Free, open-source alternative to Claude Code, Cursor, and GitHub Copilot.

# macOS / Linux
curl -fsSL https://free.ai/install.sh | sh
# Windows (PowerShell)
irm https://free.ai/install.ps1 | iex
# Start a coding session
cd your-project/
free-code

# Ask about your codebase
free-code ask "How does auth work?"

# Execute a task
free-code run "Add unit tests for User model"

30K free tokens/day. BYOK supported. 575 models. Session sync with Web IDE.

PyPI ഇന്‍സ്റ്റോള്‍ ചെയ്യലും സജ്ജീകരണവും Web IDE

ബൈക്ക് (നിങ്ങളുടെ സ്വന്തം കീ കൊണ്ടുവരുക)

ഏതെങ്കിലും ദാതാവില്‍ നിന്നും നിങ്ങളുടെ സ്വന്തം API കീകള്‍ ഉപയോഗിക്കുക. സെറോ മാര്‍ക്കസ്, പൂജ്യ ഫീസ്. Free.ai ആ അപേക്ഷയെ അംഗീകരിക്കുന്നു.

ദാതാവ്കീ ഫോര്‍മാറ്റ്മാതൃകകള്‍മാര്‍ക്കാപ്പ്
ഓപ്പണ്‍AINamesk-proj-xxxGPT-4o, GPT-4o Mini, o1, o3, etc.$0
ആന്‍ട്രോപിക്sk-ant-xxxClaude Sonnet 4, ഓകൂസ് 4, ഹൈകു എന്നിവ.$0
ഗൂഗിള്‍QueryAIzaSyxxxGemini 2.5 Pro, Flash, etc.$0
മറ്റു ദാതാവുകള്‍sk-or-xxx etc.575 models from all providers$0
# Python SDK with BYOK
from freeai import FreeAI

ai = FreeAI(provider="openai", api_key="sk-proj-xxx")
response = ai.chat("Hello", model="gpt-4o")

# CLI with BYOK
# free-code config set provider openai
# free-code config set api_key sk-proj-xxx

നിങ്ങളുടെ താക്കോൽ, നിങ്ങളുടെ ഉപയോഗം, ബില്ൽ, ലോക്ക്‌ ചെയ്യല്‍, ഒരു സൂചനയും ഇല്ല നിങ്ങളുടെ Free.ai തൂക്കത്തില്‍ നിന്നും വിലയിടുന്ന ഒരു സൂചനയുമില്ല.

എപിപിഎക്സി

അതെ, സ്വതന്ത്രമായ അക്കൌണ്ടുകള്‍ക്ക് 30K/ഡേ പാഡ് പദ്ധതികള്‍ കൂടുതല്‍ അടയാളങ്ങളും റേറ്റ് പരിധികളും നല്‍കുന്നു.

അല്ല, ഒരേ അടയാളങ്ങള്‍, ഒരേ പ്രിഫൈന്‍സിങ്ങ്. നിങ്ങളുടെ സൂചകം വെബ്സൈറ്റും API ഉം തമ്മില്‍ പങ്കിടുന്നു. ഇതുപയോഗിക്കുക, അതേ വിലയ്ക്ക് കൊടുക്കുക.

Same endpoint, just change the model parameter. For example: "model": "openai/gpt-4o" or "model": "anthropic/claude-sonnet-4". Full list at /models/ or GET /v1/models.

Yes! The /v1/chat/ endpoint follows the OpenAI chat completions format. You can use any OpenAI-compatible SDK: just change the base URL to https://api.free.ai and use your Free.ai API key.

Yes! Set "stream": true in your chat request. Responses are delivered via Server-Sent Events (SSE).

ഒരു പിശകിന്റെ സന്ദേശം കൊണ്ട് നിങ്ങള്‍ക്ക് 402 മറുപടി ലഭിക്കും. / print/ അല്ലെങ്കില്‍ നിങ്ങളുടെ ദിവസവും സ്വതന്ത്ര കുളത്തില്‍ നിന്നും കൂടുതല്‍ അടയാളങ്ങള്‍ വാങ്ങുക. സ്വയം ചേര്‍ത്ത മോഡലുകള്‍ ദൈനംദിന പരിധിയില്‍ എപ്പോഴും ലഭ്യമാണ്.

Yes! All self-hosted models are MIT/Apache 2.0 licensed. Generated content is yours for commercial use.

Self-hosted: runs on our GPU. Cheapest, fastest, most private. External: proxied to the model provider. Access to GPT-4, Claude, Gemini, and more. Costs more tokens due to provider API fees.

Visit your account page at /account/ or check the free_ai_usage.tokens_charged field in each API response.

Yes! Install our Python SDK: pip install free-dot-ai. It wraps every endpoint with typed responses. For coding assistance, install pip install freeai-code. The API also follows OpenAI's format, so you can use the openai Python/Node SDK with our base URL. API docs

99.9% മുകളിലേക്ക് നമ്മള്‍ ലക്ഷ്യമിടുന്നു. പക്ഷെ ഇപ്പോള്‍ ഒരു കമ്മ്യൂണിറ്റി സ്ലായുമായി ഒരു പദ്ധതിയും ഉണ്ടാകില്ല. ശരിക്കുള്ള സമയ നിലവാരത്തിന് / halett time- haitiable. remouse

Email hello@free.ai or visit /contact/. Pro+ plans get priority support. Error responses include an error_id for debugging.

Free.ai ഇഷ്ടപ്പെട്ടോ? സുഹൃത്തുക്കളോട് പറയൂ!

കൂടുതല്‍ വേണോ? സൗജന്യമായി സൈൻ അപ്പ് ചെയ്യൂ: ദിവസം 30,000 ടോക്കണുകൾ സ്വതന്ത്രനായി ഒപ്പ് വയ്ക്കുക

ഈ പേജിന് റേറ്റിംഗ് നൽകുക