Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
Free.ai वरील व्ही.
ॲपलने आपल्या ॲपल वॉच, ॲपल वॉच प्रो, ॲपल वॉच प्रो मॅक्स, ॲपल वॉच प्रो मॅक्स प्रो आणि ॲपल वॉच प्रो मॅक्स प्रो या मोबाईल फोनसाठी ॲपल वॉच ही प्रणाली विकसित केली आहे.
विजेट अंतर्भूत करा
तुमच्या WordPress संकेतस्थळावर एआय जोडण्याकरीता सर्वात जलद मार्ग. HTML संपादक वापरून हे कोणत्याही पान, पोस्ट किंवा विजेट मध्ये चिकटवा:
<script src="https://free.ai/widget.js" data-tool="chat"></script>
हे तुमच्या पानावर एआय गप्पा संवाद जोडते. सर्व उपलब्ध साधन करीता Widget पान पहा.
इच्छिक शॉर्टकट (PHP) Name
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"]
Use Cases for WordPress
- पोस्ट करीता स्वयं-निर्मित SEO मेटा वर्णन
- विशेष प्रतिमा करीता एआय-powered प्रतिमा निर्मिती
- अनेक भाषांत स्वचलितपणे लेखाचे भाषांतर करा
- लेख करीता पाठ्य- ते- वक्तव्य ऑडिओ जोडा
- AI chatbot for visitor support
- Content summarization for long-form articles