NEP DEVS
前往频道在 Telegram
NEPS DEV WHO WANT TO HELP YOU WITH FOSS PROJECT. WE COLLECT SCRIPTS THIS GROUP IS ONLY FOR EDUCATIONAL PURPOSE
显示更多无数据
订阅者
-3724 小时
-1357 天
-23530 天
帖子存档
All join this Channel
Our Target Is complete
To 300 Members
Fast
Join:-https://t.me/siyabots
join:-@siyabots
Title:-Black Ai Api Php Codes❤️
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$url = "https://www.blackbox.ai/api/chat";
$headers = [
"Content-Type: application/json",
"alt-svc: h3=\":443\"; ma=86400",
"cf-cache-status: DYNAMIC",
"cf-ray: 83b147d30ae724a8-KTM",
"content-encoding: br",
"content-type: text/plain; charset=utf-8",
"date: Mon, 25 Dec 2023 13:02:49 GMT",
"rndr-id: 5dcfc605-427b-4e43",
"server: cloudflare",
"vary: Accept-Encoding",
"x-experimental-stream-data: false",
"x-render-origin-server: Render"
];
if (!isset($_GET['question'])) {
echo "No 'question' parameter provided.";
die();
}
$question = $_GET['question'];
$data = [
"messages" => [
[
"id" => "CxG2ZAW",
"content" => $question,
"role" => "user"
]
],
"id" => "CxG2ZAW",
"previewToken" => null,
"userId" => "2796af59-2e11-47e7-95f2-d93a3c71021c",
"codeModelMode" => true,
"agentMode" => []
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($status_code == 200) {
$output = [
"answer" => $response,
"join" => "@devsnp"
];
echo json_encode($output);
} else {
echo "Request failed with status code: $status_code";
}
curl_close($ch);
?>
BlackAi Automated By Nepcoder @DEVSNP😎
Automated Form :-Blackai.box
Now use as your Api😊
And Create Your Own Ai API
Url
Format:-https://yourdomain/api.php?question=yourquestiontoask
Response
{"answer":"answerhere", "join":"yourchannelname"}
BlackAi Api Codes By @Devsnp❤️Title:-Black Ai Api Php Codes❤️
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$url = "https://www.blackbox.ai/api/chat";
$headers = [
"Content-Type: application/json",
"alt-svc: h3=\":443\"; ma=86400",
"cf-cache-status: DYNAMIC",
"cf-ray: 83b147d30ae724a8-KTM",
"content-encoding: br",
"content-type: text/plain; charset=utf-8",
"date: Mon, 25 Dec 2023 13:02:49 GMT",
"rndr-id: 5dcfc605-427b-4e43",
"server: cloudflare",
"vary: Accept-Encoding",
"x-experimental-stream-data: false",
"x-render-origin-server: Render"
];
if (!isset($_GET['question'])) {
echo "No 'question' parameter provided.";
die();
}
$question = $_GET['question'];
$data = [
"messages" => [
[
"id" => "CxG2ZAW",
"content" => $question,
"role" => "user"
]
],
"id" => "CxG2ZAW",
"previewToken" => null,
"userId" => "2796af59-2e11-47e7-95f2-d93a3c71021c",
"codeModelMode" => true,
"agentMode" => []
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($status_code == 200) {
$output = [
"answer" => $response,
"join" => "@devsnp"
];
echo json_encode($output);
} else {
echo "Request failed with status code: $status_code";
}
curl_close($ch);
?>
BlackAi Automated By Nepcoder @DEVSNP😎
Automated Form :-Blackai.box
Now use as your Api😊
And Create Your Own Ai API
Url
Format:-https://yourdomain/api.php?question=yourquestiontoask
Response
{"answer":"answerhere", "join":"yourchannelname"}
BlackAi Api Codes By @Devsnp❤️Title: Language Translation API: Effortless Multilingual Text Conversion
API PURPOSE: 🌐🔀 Facilitates seamless language translation, enabling effortless conversion of text between different languages. Access advanced tools for accurate and efficient translation.
USAGE: 💬🌟 Construct a URL with the "text" parameter for effortless language conversion, specifying the source and target languages to translate text effortlessly.
EXAMPLE: 📝 Use:
https://languagetransapi.nepcoderdevs.workers.dev/?text=yourlanguageoconvertit&lang=hi&source=enPROCESSING: ⚙️ Employs state-of-the-art algorithms to accurately translate text from a source language to a desired target language, ensuring linguistic precision. RESPONSE: 🌍✨ Obtain translated text, facilitating communication across diverse languages. Ideal for enriching global communication and content localization. 🧑💻 MADE BY NEP CODER JOIN: @DEVSNP Transform text effortlessly across languages using this API designed for accurate and efficient language translation. 🌐✨🔀
Title: Language Translation API: Effortless Multilingual Text Conversion
API PURPOSE: 🌐🔀 Facilitates seamless language translation, enabling effortless conversion of text between different languages. Access advanced tools for accurate and efficient translation.
USAGE: 💬🌟 Construct a URL with the "text" parameter for effortless language conversion, specifying the source and target languages to translate text effortlessly.
EXAMPLE: 📝 Use:
https://languagetransapi.nepcoderdevs.workers.dev/?text=yourlanguageoconvertit&lang=hi&source=enPROCESSING: ⚙️ Employs state-of-the-art algorithms to accurately translate text from a source language to a desired target language, ensuring linguistic precision. RESPONSE: 🌍✨ Obtain translated text, facilitating communication across diverse languages. Ideal for enriching global communication and content localization. 🧑💻 MADE BY NEP CODER JOIN: @DEVSNP Transform text effortlessly across languages using this API designed for accurate and efficient language translation. 🌐✨🔀
