Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
वर्डग्रेसिव के लिए Free.ai000
एआई- शक्ति वाली सामग्री जोड़ें, छवि बनाने, पाठ- से- वार्ता, और सीधे अपने शब्द- रेफ़िल साइट को छोटे-छोटे कोड तथा हमारे पुनर्गं फलक के उपयोग से अनुवाद करें.
त्वरित प्रारंभ: विजेट को नया आकार दें
अपने वर्ड- रेफ़रेंस साइट में एआई को जोड़ने का सबसे तेज तरीका. इसे किसी भी पृष्ठ, पोस्ट या विजेट में रखें जो एचटीएमएल संपादक के प्रयोग से लिया जाता है:
<script src="https://free.ai/widget.js" data-tool="chat"></script>
यह एक एआई चैट इंटरफेस को आपके पृष्ठ पर जोड़ता है. देखें < hURUN="/ widget/> पृष्ठ सभी उपलब्ध औज़ारों के लिए देखें.
मनपसंद छोटाकोड (PPP)
Create a WordPress shortcode that calls the Free.ai API. Add this to your theme's functions.php:
function freeai_generate($atts) {
$atts = shortcode_atts(['prompt' => '', 'model' => 'qwen7b'], $atts);
$response = wp_remote_post('https://api.free.ai/v1/chat/completions', [
'headers' => [
'Authorization' => 'Bearer YOUR_API_KEY',
'Content-Type' => 'application/json',
],
'body' => json_encode([
'model' => $atts['model'],
'messages' => [['role' => 'user', 'content' => $atts['prompt']]],
]),
]);
if (is_wp_error($response)) return 'Error generating content.';
$body = json_decode(wp_remote_retrieve_body($response), true);
return '<div class="freeai-output">' .
esc_html($body['choices'][0]['message']['content'] ?? '') .
'</div>';
}
add_shortcode('freeai', 'freeai_generate');
फिर किसी भी पोस्ट या पृष्ठ में इसका इस्तेमाल करें:
[freeai prompt="Write a 100-word product description for organic coffee"]
वर्ड- रे के लिए केस इस्तेमाल करें
- पोस्ट के लिए मेटा- से- मेटा वर्णन स्वचालित करें
- छवियों के लिए एआई- शक्तिपूर्ण छवि पीढ़ी
- पोस्ट को अनेक भाषाओं में स्वचालित अनुवादित करें
- आलेखों में पाठ से वार्ता ऑडियो जोड़ें
- आगंतुक समर्थन के लिए एआई गपशप- बडी
- लंबे- विस्तृत आलेखों के लिए सामग्री विस्तार