Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
वर्डग्रेसिव के लिए Free.ai000
एआई- शक्ति वाली सामग्री जोड़ें, छवि बनाने, पाठ- से- वार्ता, और सीधे अपने वर्ड- रेपरल साइट को छोटे-छोटेकोड तथा हमारे stataaeaeaeae के उपयोग से अनुवाद करें.
त्वरित प्रारंभ: विजेट को नया आकार दें
अपने वर्डग्रेड साइट में एआई को जोड़ने का सबसे तेज तरीका. इसे किसी पृष्ठ, पोस्ट या विजेट में शामिल करें जो एचटीएमएल संपादक के प्रयोग से लिया जाता है:
<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' => 'qwen2.5-72b'], $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"]
वर्ड- रे के लिए केस इस्तेमाल करें
- पोस्ट्स के लिए मेटा- मेटा वर्णन स्वचालित करें
- छवियों के लिए एआई- शक्तिपूर्ण छवि पीढ़ी
- पोस्ट को अनेक भाषाओं में स्वचालित अनुवादित करें
- आलेखों में पाठ से वार्ता ऑडियो जोड़ें
- आगंतुक समर्थन के लिए एआई गपशपबेट
- लंबे- विस्तृत आलेखों के लिए सामग्री विस्तार