Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
పదవర్గం కోసం Free.aiName
ఏఐ-పీడనం, స్వరూపం, రూపం, పాఠ్యం-ఉద్యోగం, మరియు అనువాదాన్ని నేరుగా మీ వాక్యపు బహిర్గత సైట్ మరియు మా క్లుప్త కోడ్లు మరియు మా RSTAPI ఉపయోగించి.
త్వరితప్రారంభము: విడ్జట్ను ప్రారంభించు
మీ WorldPrese సైట్కు ఏఐ వేగవంతమైన మార్గం. దీనిని ఏ పుట, పోస్టు లేదా విడ్జట్లో HTML సరికూర్పును ఉపయోగించి తుమ్మండి:
<script src="https://free.ai/widget.js" data-tool="chat"></script>
ఇది మీ పేజీకు II చాట్ ఇంటర్ఫేస్ను జతచేస్తుంది. అందుబాటులో వున్న అన్ని ఉపకరణాల కొరకు
నిర్దేశిత పొట్టి (PP)
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"]
(w) వర్క్స్ను పదముకు వుపయోగించుము
- పోస్టుల కొరకు స్వయంచాలకంగా- నేకృతీకరించు SEO మెటా వర్ణనలు
- పేజిటి చిత్రాల కొరకు II- పవర్ వుద్భావీకరణName
- (n) ఫోల్డరులను స్వయంచాలకంగా బహుళ భాషలకు అనువదించుము
- పాఠ్యము నుండి ఆడియోను శీర్షికలకు జతచేయుము
- వీక్షకుడు మద్దతు కొరకు II చాట్బాట్Name
- దీర్ఘకాలం- ఎడిషన్ ఆర్టికల్స్ కొరకు విషయవర్గీకరణ