@xuda.io/ai_module 1.1.4399 → 1.1.4400

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5844,7 +5844,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
5844
5844
  const create_fictional_avatar = async function () {
5845
5845
  // const { name, bio, country, mainCategory, subCategory } = account_obj.account_info;
5846
5846
 
5847
- const prompt = `analyze the the person info : ${JSON.stringify({ name, bio, country, mainCategory, subCategory })}
5847
+ const prompt = `analyze the the person info : ${JSON.stringify(metadata)}
5848
5848
  and create realistic fictional profile picture transparent background ,person in the center of the picture return only a centered head-and-shoulders portrait facing the camera. include no labels or text add top margin the person should cover the whole picture`;
5849
5849
 
5850
5850
  imageBase64 = await create_image(uid, prompt, undefined, undefined, 1, undefined, undefined, { url: profile_picture }, account_profile_info);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4399",
3
+ "version": "1.1.4400",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",