Build with Free.ai — one Bearer token, 400+ AI tools.
Chat, setšoantšo, video,'mino, puo, OCR, fetolela - tsohle ka nako e le' ngoe e lumellanang le OpenAI. Li-pool tse ntle tsa mahala, li-markup tse hlakileng, litheko tsa mokhatlo ka boholo.
10,000 tokens mahala ka ho ngolisa. Cards ha ho hlokahale ho qala.
Sebopeho sa sehlooho
URL e le 'ngoe e sebetsana le mofuta oa puisano ka mong. URL e le 'ngoe bakeng sa mofuta oa setšoantšo ka mong. Khetha mofuta ka lentsoe le le leng. Ha ho na ho arolelana SDK ka mofani.
Ho lefa ka ho hlaka, ho lefa ka ho lefa ka ho lefa
Li-models tse sebete tse bolokiloeng li lefa ka theko e sa sebetseng. Li-models tsa Premium li eketsa markup e hlakileng e tlala ha u theola. Likarabo tsohle li phatlalatsa theko e nepahetseng ea token.
Li-languages tse 99 kantle ho lebokose
Chat, fetolela, TTS, STT - kamehla modality e kholo e kenyelletsa 99 lipuo le ha ho na config khethehileng. Pass a puo ea khoutu le e sebetsa.
60-second quickstart
API e tšoanang, lipuo tse tharo. Tlosa konopo ea hau ea sk-free-...'me u e phethe.
curl https://api.free.ai/v1/chat/ \
-H "Authorization: Bearer sk-free-YOUR-KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen2.5-7b",
"messages": [{"role":"user","content":"Hello!"}]
}'import requests
r = requests.post(
"https://api.free.ai/v1/chat/",
headers={"Authorization": "Bearer sk-free-YOUR-KEY"},
json={
"model": "qwen2.5-7b",
"messages": [{"role": "user", "content": "Hello!"}],
},
)
print(r.json()["choices"][0]["message"]["content"])const r = await fetch("https://api.free.ai/v1/chat/", {
method: "POST",
headers: {
"Authorization": "Bearer sk-free-YOUR-KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "qwen2.5-7b",
messages: [{role: "user", content: "Hello!"}],
}),
});
const data = await r.json();
console.log(data.choices[0].message.content);package main
import (
"bytes"; "fmt"; "io"; "net/http"
)
func main() {
body := []byte(`{"model":"qwen2.5-7b","messages":[{"role":"user","content":"Hello!"}]}`)
req, _ := http.NewRequest("POST", "https://api.free.ai/v1/chat/", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer sk-free-YOUR-KEY")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(string(out))
}require "net/http"
require "json"
uri = URI("https://api.free.ai/v1/chat/")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer sk-free-YOUR-KEY",
"Content-Type" => "application/json",
})
req.body = {
model: "qwen2.5-7b",
messages: [{role: "user", content: "Hello!"}],
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |h| h.request(req) }
puts JSON.parse(res.body)["choices"][0]["message"]["content"]Pricing - litheko kick ka ho toba
$ 1 = 750,000 tokens. Li-models tse sebete li lefa ka theko e boima. Li-markup tsa model premium li theoha ka letsatsi la 30.
Ho hlaka ha theko e felletseng →
Seo u ka se etsang
E-ba le @handle ea hau e le motsamaisi oa puisano
Ho ruta AI persona ka boiphihlelo ba hau, ho tlosa tag ea script ea lebokose le le leng ho leqepheng lefe kapa lefe. Baeti ba bua ka AI ea hau; ak'haonte ea hau e nka theko.
Webhooks
Qwalasela ho khutlisa ho ngolisoa ka ho tšoauoa bakeng sa mesebetsi e sebetsang ka nako e telele (ho theha video, ho ngolisa ka palo, ho theha li-link tsa ho arolelana, ho tsebisa ka li-credit tse tlase). Ho ngolisoa ka HMAC-SHA256 ho X-Free-Signature.
Sebetsa webhooks →