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.
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.
Currently, in the AIGC area, there are not many Generative AI applications for video generation. The best one should be considered runway, but runway […]
Today, a friend shared an article. Recently, Jasper, the first unicorn company to do AIGC, has returned to zero. Jasper, based on GPT, is […]
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 […]
# 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".
AIGC is so popular that everyone is discussing what to do. I summarized it, and the discussion focused on two points: 1. Upgrading and iterating or looking for the so-called "innovation [...]
Recently, I have discussed with many friends the topic of what "GPT" can be used for. Sort it out. 1. SEO and self-media creation in 2018 […]
In the past two years, there has been an obvious trend.
More and more artificial intelligence software and hardware products are emerging.
Most of these products are used in various fields such as smart cities, AIOT, edge computing, smart agriculture, smart factories, robots, etc.
This general direction will only become more and more promising in the future.
Compared with the purely information-dimensional metaverse, this is a product direction that can directly intervene in the real world, profoundly affect the world, and ultimately lead to large-scale iterations in all directions of the entire society.
1. Changes of the Times and Business Opportunities 1. The Age of Carriages and the Age of Cars Before the emergence of automobiles, horse-drawn carriages were an important means of transportation. After the advent of automobiles, horse-drawn carriages […]