TG Telegram Group & Channel
RoboLine | United States America (US)
Create: Update:

<?php
$ol = $_GET['tx'];
// API so'rovi uchun ma'lumotlar
$apiUrl = 'https://mohir.ai/api/v1/tts';
$apiKey = 'API_KEY'; // API kaliti o'zgartiring

// So'rovni tuzish
$data = [
'text' => $ol,
'model' => 'dilfuza',
'mood' => 'happy',
];

$options = [
'http' => [
'header' => "Content-type: application/json\r\n" .
"Authorization: $apiKey\r\n",
'method' => 'POST',
'content' => json_encode($data),
],
];

$context = stream_context_create($options);
$response = file_get_contents($apiUrl, false, $context);

// Natijani ekranga chiqarish
if ($response === FALSE) {
echo "Xatolik yuz berdi";
} else {
echo $response;
}

?>


Mohir.ai tts api 🔊
Api keyni
mohir.ai saytidan olasizlar

Forwarded from Название
<?php
$ol = $_GET['tx'];
// API so'rovi uchun ma'lumotlar
$apiUrl = 'https://mohir.ai/api/v1/tts';
$apiKey = 'API_KEY'; // API kaliti o'zgartiring

// So'rovni tuzish
$data = [
'text' => $ol,
'model' => 'dilfuza',
'mood' => 'happy',
];

$options = [
'http' => [
'header' => "Content-type: application/json\r\n" .
"Authorization: $apiKey\r\n",
'method' => 'POST',
'content' => json_encode($data),
],
];

$context = stream_context_create($options);
$response = file_get_contents($apiUrl, false, $context);

// Natijani ekranga chiqarish
if ($response === FALSE) {
echo "Xatolik yuz berdi";
} else {
echo $response;
}

?>


Mohir.ai tts api 🔊
Api keyni
mohir.ai saytidan olasizlar
Please open Telegram to view this post
VIEW IN TELEGRAM
👍21


>>Click here to continue<<

RoboLine




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)