Developed by Dhiraj 💖
The ultimate unified gateway for high-performance AI models and advanced services.
Extracts intelligent JSON structured information from images. Passes background visual context back dynamically.
image
File
required*
message
String
optional
authorization
String
required*
async function getVisionPrompt(userText, imageFile) {
const data = new FormData();
if (userText) data.append('message', userText);
data.append('image', imageFile);
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://dev-x-vision.vercel.app/api/vision", {
method: 'POST', body: data
});
const json = await res.json();
return json.reply; // Returns structured JSON data
}
Robust conversational endpoint maintaining chat memory history. Now supports image uploads for multimodal queries.
message
String
required*
history
Array (Stringified)
optional
image
File
optional
authorization
String
required*
async function normalChat(messageText, chatHistory = [], imageFile = null) {
const data = new FormData();
data.append('message', messageText);
data.append('history', JSON.stringify(chatHistory));
if (imageFile) data.append('image', imageFile);
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://dev-x-vision.vercel.app/api/chat", {
method: 'POST', body: data
});
const json = await res.json();
return json.reply; // Returns clear text string
}
{
"reply": "Here is the summary of the topic according to what you asked...",
"credit": {
"tg": "@ScriptDevX",
"developer": "@Dhiraj_9619"
}
}
Advanced configurable conversational endpoint supporting deep reasoning effort, stream mode, and custom model selection.
message
String
required*
model
String
optional
modelProvider
String
optional
modelType
String
optional
effort
String
optional
stream
String
optional
authorization
String
required*
async function chatModel(messageText, model = 'deepseek-v4-flash', provider = 'auto', type = 'chat', effort = 'Medium', stream = 'false') {
const data = new FormData();
data.append('message', messageText);
data.append('model', model);
data.append('modelProvider', provider);
data.append('modelType', type);
data.append('effort', effort);
data.append('stream', stream);
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://devx-free-api.onrender.com/api/chatmodel", {
method: 'POST', body: data
});
const json = await res.json();
return json.reply; // Returns clear text response
}
Generates AI songs with original lyrics and cover art based on a theme.
theme
String
required*
async function generateSong(theme) {
const data = new FormData();
data.append('theme', theme);
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://devx-free-api.onrender.com/api/songgen", {
method: 'POST', body: data
});
const json = await res.json();
return json.reply; // Returns title, genre, cover_art, and mp3_url
}
High-quality background removal using professional AI models. Perfectly handles hair, shadows, and complex edges. Returns the processed image as a PNG file.
image
File
required*
authorization
String
required*
async function removeBackground(imageFile) {
const data = new FormData();
data.append('image', imageFile);
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://devx-free-api.onrender.com/api/bgremove", {
method: 'POST', body: data
});
if (res.ok) {
const blob = await res.blob();
return URL.createObjectURL(blob); // URL to the processed image
}
const error = await res.json();
console.error(error);
}
This endpoint returns binary image data (image/png). On error, it returns a JSON response with the error details.
Uncensored chat model ensuring high creative freedom with built-in thinking capability, running a fresh session per request.
message
String
required*
model
String
optional
think_mode
String/Boolean
optional
history
Array (Stringified)
optional
authorization
String
required*
async function uncensoredChat(messageText, modelVersion = "v1", thinkMode = "false", chatHistory = []) {
const data = new FormData();
data.append('message', messageText);
data.append('model', modelVersion);
data.append('think_mode', thinkMode);
data.append('history', JSON.stringify(chatHistory));
data.append('authorization', 'Bearer YOUR_API_KEY');
const res = await fetch("https://devx-free-api.onrender.com/api/uncensoredchat", {
method: 'POST', body: data
});
const json = await res.json();
return json.reply;
}
{
"reply": "Here is the raw, unrestricted response...",
"credit": {
"tg": "@ScriptDevX",
"developer": "@Dhiraj_9619"
}
}