Free.ai WordPress Plugin
AI tools for WordPress. Content generation, images, and more.
పదవర్ధం కోసం Free.aiName
AI-ప్రకాశ స్వరూపీకరణ, రూపం, పాఠ్య--అంధక, మరియు అనువాదాన్ని నేరుగా మీ వాక్యపు బహిర్గత సైట్ మరియు మా క్లైంట్ మరియు మా RSTAPI ఉపయోగించి.
త్వరితప్రారంభము: విడ్జట్ ఎగుమతి
మీ WorldPrese సైట్కు AIPURE నకు అతి శీఘ్రమార్గం. దీనిని ఏ పుట, పోస్ట్, లేదా విడ్జెట్లో 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' => '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"]
(g) వ్యాసంని సంభాలించు
- పోస్టుల కొరకు స్వయంచాలక- నేకృత SEO మెటా వర్ణనలు
- speed చిత్రముల కొరకు II- పవర్ వుద్భావీకరణName
- ఫోల్విల్ ను స్వయంచాలకంగా అనేక భాషల్లో అనువదించు
- పాఠ్యము నుండి ఆడియోను ఆర్టికల్సుకు జతచేయుము
- వీక్షకు సహాయం II చాట్బార్ట్
- దీర్ఘకాలం- ఎడిషన్ ఆర్టికల్స్ కొరకు విషయవర్గీకరణ