Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
ୱିଣ୍ଡୋସ ପାଇଁ Free.ai
AI-ଶକ୍ତି ସମ୍ପନ୍ନ ବିଷୟବସ୍ତୁ ଉତ୍ପାଦନ, ପ୍ରତିଛବି ନିର୍ମାଣ, ପାଠ୍ୟ-ରୁ-ଭାଷା ଏବଂ ଅନୁବାଦକୁ ସଠିକ ଭାବରେ ଆପଣଙ୍କର WordPress ସାଇଟରେ shortcodes ଏବଂ ଆମର REST API ବ୍ୟବହାର କରି ଯୋଗ କରନ୍ତୁ।
ଦ୍ରୁତ ଆରମ୍ଭ: ୱିଜେଟକୁ ସନ୍ନିବେଶ କରନ୍ତୁ
ଆପଣଙ୍କର WordPress ସାଇଟରେ AI ଯୋଗ କରିବା ପାଇଁ ଦ୍ରୁତତମ ଉପାୟ। HTML ସମ୍ପାଦକକୁ ବ୍ୟବହାର କରି ଏହାକୁ କୌଣସି ପୃଷ୍ଠାରେ ଲଗାନ୍ତୁ, ପୋଷ୍ଟ, କିମ୍ବା ୱିଜେଟ:
<script src="https://free.ai/widget.js" data-tool="chat"></script>
ଏହା ଆପଣଙ୍କର ପୃଷ୍ଠାରେ ଗୋଟିଏ AI ଚାଟ ଅନ୍ତରାପୃଷ୍ଠ ଯୋଗ କରିଥାଏ। ସମସ୍ତ ଉପଲବ୍ଧ ସାଧନଗୁଡ଼ିକ ପାଇଁ 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"]
WordPress ପାଇଁ ମାମଲା ବ୍ୟବହାର କରନ୍ତୁ
- ପୋଷ୍ଟଗୁଡ଼ିକ ପାଇଁ SEO ମେଟା ବର୍ଣ୍ଣନାଗୁଡ଼ିକୁ ସ୍ୱୟଂଚାଳିତ ଭାବରେ ସୃଷ୍ଟି କରନ୍ତୁ
- ପ୍ରଦର୍ଶିତ ପ୍ରତିଛବିଗୁଡ଼ିକ ପାଇଁ AI-ଶକ୍ତିଯୁକ୍ତ ପ୍ରତିଛବି ସୃଷ୍ଟିକର୍ତ୍ତା
- ବହୁଭାଷାରେ ସ୍ୱୟଂଚାଳିତ ଭାବରେ ବସ୍ତୁଗୁଡ଼ିକୁ ଅନୁବାଦ କରନ୍ତୁ
- ପାଠ୍ୟ-ରୁ-ବାକ୍ୟ ଧ୍ୱନିକୁ ଲେଖାଗୁଡ଼ିକରେ ଯୋଗ କରନ୍ତୁ
- ଅତିଥି ସମର୍ଥନ ପାଇଁ AI ଚାଟବଟ
- ଲମ୍ବା-ଫର୍ମ ଲେଖା ପାଇଁ ବିଷୟବସ୍ତୁ ସାରାଂଶ