Model Name | Type | Description | Supports Image? |
---|---|---|---|
Qwen | Text | Advanced coding, math, and reasoning | No |
Gemini Flash | Text & Vision | Logic, reasoning, general tasks, images | Yes |
Codestral | Text | High-performance code generation | No |
DeepSeek V3 | Text | General-purpose, reasoning, conversation | No |
Claude 3 Haiku (beta) | Text & Vision | Fast, affordable, supports image input | Yes |
Text models are ideal for chat, code, math, and reasoning tasks. They do not accept images. Use these models for pure text-based interactions.
curl -X POST \
https://backend.aikipedia.workers.dev/chat \
-H 'Content-Type: application/json' \
-d '{
"user_id": "your_user_id",
"message": "your_message",
"model": "qwen/qwen-2.5-coder-32b-instruct",
"history": [],
"systemPrompt": ""
}'
import requests
response = requests.post(
"https://backend.aikipedia.workers.dev/chat",
json={
"user_id": "your_user_id",
"message": "your_message",
"model": "qwen/qwen-2.5-coder-32b-instruct",
"history": [],
"systemPrompt": "" # systemPrompt is required; leave blank for default or fill in your own
}
)
print(response.json())
fetch("https://backend.aikipedia.workers.dev/chat", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
user_id: "your_user_id",
message: "your_message",
model: "qwen/qwen-2.5-coder-32b-instruct",
history: [],
systemPrompt: ""
})
})
.then(res => res.json())
.then(console.log);
const axios = require("axios");
axios.post("https://backend.aikipedia.workers.dev/chat", {
user_id: "your_user_id",
message: "your_message",
model: "qwen/qwen-2.5-coder-32b-instruct",
history: [],
systemPrompt: ""
}).then(res => console.log(res.data));
package main
import (
"bytes"
"encoding/json"
"net/http"
"fmt"
)
func main() {
payload := map[string]interface{}{
"user_id": "your_user_id",
"message": "your_message",
"model": "qwen/qwen-2.5-coder-32b-instruct",
"history": []string{},
"systemPrompt": ""
}
jsonData, _ := json.Marshal(payload)
resp, _ := http.Post("https://backend.aikipedia.workers.dev/chat", "application/json", bytes.NewBuffer(jsonData))
fmt.Println(resp.Status)
}
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://backend.aikipedia.workers.dev/chat"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString("{\"user_id\":\"your_user_id\",\"message\":\"your_message\",\"model\":\"qwen/qwen-2.5-coder-32b-instruct\",\"history\":[],\"systemPrompt\":\"\"}"))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
<?php
$payload = json_encode([
"user_id" => "your_user_id",
"message" => "your_message",
"model" => "qwen/qwen-2.5-coder-32b-instruct",
"history" => [],
"systemPrompt" => ""
]);
$options = [
'http' => [
'header' => "Content-type: application/json\r\n",
'method' => 'POST',
'content' => $payload,
],
];
$context = stream_context_create($options);
$result = file_get_contents("https://backend.aikipedia.workers.dev/chat", false, $context);
echo $result;
?>
require 'net/http'
require 'json'
uri = URI('https://backend.aikipedia.workers.dev/chat')
res = Net::HTTP.post(uri, {
user_id: "your_user_id",
message: "your_message",
model: "qwen/qwen-2.5-coder-32b-instruct",
history: [],
systemPrompt: ""
}.to_json, "Content-Type" => "application/json")
puts res.body
using System.Net.Http;
using System.Text;
using System.Text.Json;
var client = new HttpClient();
var content = new StringContent(JsonSerializer.Serialize(new {
user_id = "your_user_id",
message = "your_message",
model = "qwen/qwen-2.5-coder-32b-instruct",
history = new string[] {},
systemPrompt = ""
}), Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://backend.aikipedia.workers.dev/chat", content);
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
Vision models support both text and image input. Use these models to send images along with your message. Only Gemini Flash and Claude 3 Haiku currently support images.
curl -X POST \
https://backend.aikipedia.workers.dev/chat \
-H 'Content-Type: application/json' \
-d '{
"user_id": "your_user_id",
"message": "Describe this image",
"model": "google/gemini-2.5-flash-preview",
"image_url": "https://your-uploaded-image-url",
"history": [],
"systemPrompt": ""
}'
import requests
response = requests.post(
"https://backend.aikipedia.workers.dev/chat",
json={
"user_id": "your_user_id",
"message": "Describe this image",
"model": "google/gemini-2.5-flash-preview",
"image_url": "https://your-uploaded-image-url",
"history": [],
"systemPrompt": "" # systemPrompt is required; leave blank for default or fill in your own
}
)
print(response.json())
fetch("https://backend.aikipedia.workers.dev/chat", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
user_id: "your_user_id",
message: "Describe this image",
model: "google/gemini-2.5-flash-preview",
image_url: "https://your-uploaded-image-url",
history: [],
systemPrompt: ""
})
})
.then(res => res.json())
.then(console.log);
const axios = require("axios");
axios.post("https://backend.aikipedia.workers.dev/chat", {
user_id: "your_user_id",
message: "Describe this image",
model: "google/gemini-2.5-flash-preview",
image_url: "https://your-uploaded-image-url",
history: [],
systemPrompt: ""
}).then(res => console.log(res.data));
package main
import (
"bytes"
"encoding/json"
"net/http"
"fmt"
)
func main() {
payload := map[string]interface{}{
"user_id": "your_user_id",
"message": "Describe this image",
"model": "google/gemini-2.5-flash-preview",
"image_url": "https://your-uploaded-image-url",
"history": []string{},
"systemPrompt": ""
}
jsonData, _ := json.Marshal(payload)
resp, _ := http.Post("https://backend.aikipedia.workers.dev/chat", "application/json", bytes.NewBuffer(jsonData))
fmt.Println(resp.Status)
}
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://backend.aikipedia.workers.dev/chat"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString("{\"user_id\":\"your_user_id\",\"message\":\"Describe this image\",\"model\":\"google/gemini-2.5-flash-preview\",\"image_url\":\"https://your-uploaded-image-url\",\"history\":[],\"systemPrompt\":\"\"}"))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
<?php
$payload = json_encode([
"user_id" => "your_user_id",
"message" => "Describe this image",
"model" => "google/gemini-2.5-flash-preview",
"image_url" => "https://your-uploaded-image-url",
"history" => [],
"systemPrompt" => ""
]);
$options = [
'http' => [
'header' => "Content-type: application/json\r\n",
'method' => 'POST',
'content' => $payload,
],
];
$context = stream_context_create($options);
$result = file_get_contents("https://backend.aikipedia.workers.dev/chat", false, $context);
echo $result;
?>
require 'net/http'
require 'json'
uri = URI('https://backend.aikipedia.workers.dev/chat')
res = Net::HTTP.post(uri, {
user_id: "your_user_id",
message: "Describe this image",
model: "google/gemini-2.5-flash-preview",
image_url: "https://your-uploaded-image-url",
history: [],
systemPrompt: ""
}.to_json, "Content-Type" => "application/json")
puts res.body
using System.Net.Http;
using System.Text;
using System.Text.Json;
var client = new HttpClient();
var content = new StringContent(JsonSerializer.Serialize(new {
user_id = "your_user_id",
message = "Describe this image",
model = "google/gemini-2.5-flash-preview",
image_url = "https://your-uploaded-image-url",
history = new string[] {},
systemPrompt = ""
}), Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://backend.aikipedia.workers.dev/chat", content);
string responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);