@xuda.io/ai_module 1.1.4744 → 1.1.4746
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
|
@@ -5970,7 +5970,7 @@ export const create_avatar = async function (req, job_id, headers) {
|
|
|
5970
5970
|
if (!metadata) {
|
|
5971
5971
|
metadata = account_info;
|
|
5972
5972
|
}
|
|
5973
|
-
|
|
5973
|
+
metadata.is_user = true;
|
|
5974
5974
|
return await get_profile_avatar(url, uid, null, account_profile_info, account_type, docType, _id, metadata, undefined, name, account_info.email, job_id, headers);
|
|
5975
5975
|
} catch (err) {
|
|
5976
5976
|
return {
|
|
@@ -6144,7 +6144,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
6144
6144
|
imageBase64 = await create_image(
|
|
6145
6145
|
uid,
|
|
6146
6146
|
`
|
|
6147
|
-
Create a transparent PNG profile image show realistic ${obj?.[business_size]}.
|
|
6147
|
+
Create a transparent PNG profile image show realistic ${obj?.[business_size]} without labels or signs.
|
|
6148
6148
|
The building’s architecture, materials, and overall atmosphere must reflect the business nature,
|
|
6149
6149
|
aligned with ${mainCategory} and ${subCategory}.
|
|
6150
6150
|
Completely remove the background remove labels or signs.
|