Login

AIGC

What is AIGC?
AIGC is the abbreviation of English AI-generated content, which is artificial intelligence-generated content.

Simply put, it uses some prompt words to generate text content, pictures, videos, animations, and even code.

The principle of AIGC
The principle of AIGC is actually very simple. With the development of artificial intelligence up to now, the ability of "emergence" has appeared. AIGC uses the "emergence" ability of artificial intelligence to allow artificial intelligence to imagine, reason, and Analyze, and ultimately, “emerge” content.

The meaning of AIGC
AIGC will change the entire content industry.

AIGC has greatly enhanced the productivity of text content, picture content, video content, and animation content, and improved content production efficiency. Therefore, in the future, a large amount of high-quality content will be produced or assisted in production through artificial intelligence.

For more introduction, please viewAIGCPage.

Moonshot AI: How to access Kimi large model?

The Kimi model has attracted attention in the domestic AIGC field and has been integrated into the AI SEO CN version of the Wordpress plug-in. Developed by the Dark Side of the Moon Technology Company, it features long text input and output, up to 2 million words. Users operate on the platform through registration and API keys, and can choose different context length models. The price varies according to the model and user level, and the integrated application is easy and has good performance.

Google Gemini 1.5 Pro personal test: powerful and fragile at the same time

After testing the newly upgraded multi-modal AI model Gemini 1.5 Pro, users found that although it supports a more comprehensive input type including text, pictures, videos, files and folders, the reasoning ability has not been significantly improved, especially in distinguishing right from wrong. Additionally, processing of video, file, and folder inputs takes a long time, and there are limitations in handling large amounts of data.

SDXL: How to use Stable Diffusion

Recently, a WordPress plugin based on the latest version of Stable Diffusion XL (SDXL) was developed. Stable Diffusion is a free, open source image generation model, and the code can be downloaded directly through the official website Stability AI. Although it is more expensive and difficult to deploy the model yourself, it is possible to use a Docker image or install it manually. In addition, large models and APIs can be consumed or deployed through the Replicate.com website. In general, Stable Diffusion and SDXL are widely used in AI image generation products.

Hot topics in February 2024: Sora - Open AI's large video generation model

On February 16, 2024, Open AI released its advanced video generation model named Sora, sparking interest almost rivalling that of GPT. Sora, which is not yet available for public use, combines Transformer and diffusion architectures for high-fidelity video simulation. Open AI's TikTok showcases Sora's capabilities with unedited videos from various prompts, previewing its potential impact in the burgeoning video generation field.

How to apply to use Baidu Wenxin large model?

My AI SEO WordPress plugin released a CN version today. AI SEO CN WordPress Plugin Subscription […]

What is AIGC: Understand AIGC in one article

AIGC refers to AI-generated content, which involves artificial intelligence generating text, pictures, videos, etc. based on prompts. Originated in 2022, the large language model is its foundation, interacting with AI agents through prompt words, context and AI. AIGC has begun to change the content industry and accelerate production efficiency. It is currently used in many directions such as chat robots and content generation, and has given rise to an industrial ecosystem with large model capabilities as its core.

Share several video-generated AI applications

Currently, in the AIGC area, there are not many Generative AI applications for video generation. The best one should be considered runway, but runway […]

The first wave of AIGC entrepreneurial teams have been disbanded. Is there still a future for AIGC?

Today, a friend shared an article. Recently, Jasper, the first unicorn company to do AIGC, has returned to zero. Jasper, based on GPT, is […]

The direction of generative AI—a breakthrough in robots

  AI is a big opportunity. Therefore, everyone is exploring, whether they know what to do or what they don’t know what to do. At present, the direction of exploration is mainly in […]

Time:2023/07/26

AIGC: Integrate Baidu’s Wenxin Qianfan large model into WordPress and compare it with GPT

# integrates Baidu’s Wenxin Qianfan large model into WordPress and compares it with GPT

Last weekend, Baidu’s Wenxin Qianfan model was integrated into WordPress.
1. Basic process:
1. First apply to experience the Wenxin Qianfan large model on Baidu, which requires certification first.

2. After passing, activate the large model, because Baidu's large model is charged for use and is charged by token. You need to have a balance in your account to activate it.

3. Then, create an application so that it has appid, api key and secret key

4. Then, read the documentation and connect the corresponding interface.
Basically, you get the access token through the api key and secret key, and then submit the question and get the answer.

2. Key code
1. Obtain the key code of the access token

"`php
private function getAccessToken(){
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://aip.baidubce.com/oauth/2.0/token?client_id=”.$this->client_id.”&client_secret=”.$this->client_secret.”&grant_type=client_credentials”,
CURLOPT_TIMEOUT => 30,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json'
),

));
$response = curl_exec($curl);
curl_close($curl);
$rtn = json_decode($response);
return $rtn->access_token;
}
“`

2. Call the key code of Ernie Bot large model

"`php
public function runErnieBot($message) {
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions?access_token={$this->getAccessToken()}”,
CURLOPT_TIMEOUT => 30,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>$message,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
return $response;
}
“`

3. Call the key code of Ernie Bot Turbo large model

"`php
public function runErnieBotTurbo($message) {
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/eb-instant?access_token={$this->getAccessToken()}”,
CURLOPT_TIMEOUT => 30,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>$message,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
return $response;
}
“`

In the past few days of testing, the performance of Baidu Wenxin Qianfan's large model in Chinese is indeed much better than GPT.
The Chinese level of GPT is the level of "explanatory text".
The Chinese level of Baidu Wenxin Qianfan Large Model is at least better than the "explanatory text".



copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang