@xuda.io/ai_module 1.1.4750 → 1.1.4752
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5984,7 +5984,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
5984
5984
|
const tempDir = os.tmpdir();
|
|
5985
5985
|
const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
|
|
5986
5986
|
const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
|
|
5987
|
-
|
|
5987
|
+
const { is_user } = metadata;
|
|
5988
5988
|
const detect_real_person_in_image = async function (base64) {
|
|
5989
5989
|
const ret = await submit_chat_gpt_prompt({
|
|
5990
5990
|
uid,
|
|
@@ -6132,7 +6132,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
6132
6132
|
Create a transparent PNG profile image for a business account featuring building branded as ${name}.
|
|
6133
6133
|
Display the attached logo clearly as prominent exterior signage.
|
|
6134
6134
|
|
|
6135
|
-
show ${obj?.[business_size] || 'office building'}
|
|
6135
|
+
show ${obj?.[business_size] || 'office building'} located in ${country}
|
|
6136
6136
|
The building’s architecture and overall atmosphere should reflect the nature of the business,
|
|
6137
6137
|
aligning with ${mainCategory} and ${subCategory}.
|
|
6138
6138
|
|