@xuda.io/ai_module 1.1.4448 → 1.1.4450

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5678,6 +5678,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
5678
5678
  imageBase64 = await create_image(uid, prompt, undefined, undefined, 1, undefined, undefined, { url: profile_picture }, account_profile_info);
5679
5679
  avatar_source = 'fictional';
5680
5680
  };
5681
+ debugger;
5681
5682
  // personal account
5682
5683
  const is_real_person_in_picture = await detect_real_person_in_image(imageBase64);
5683
5684
  if (is_real_person_in_picture) {
@@ -6467,7 +6468,7 @@ export const get_profile_picture = async function (uid, account_type = 'business
6467
6468
  }
6468
6469
 
6469
6470
  case 'business': {
6470
- prompt = `find "${name}" icon/logo, Return only png,jpg image url single result e.g: "https://example.com/logo_image.png", nothing else`;
6471
+ prompt = `Search for a large, high-quality "${name}" logo or icon in PNG or JPG format. Output **exclusively** a single valid image URL, like this: "https://example.com/large-logo.png". Do not include any other text, descriptions, or additional information.`;
6471
6472
  factual_prompt = `create logo for the company named: "${name}" the logo should only be initials of the name or geometric shape`;
6472
6473
  originalname = normalizeFilename(name) + '_xu_logo.png';
6473
6474
  resize = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4448",
3
+ "version": "1.1.4450",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",