@xuda.io/ai_module 1.1.4707 → 1.1.4709

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 +4 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4720,7 +4720,7 @@ const chat_email = async function (req, job_id, headers) {
4720
4720
  {
4721
4721
  type: 'message',
4722
4722
  role: 'user',
4723
- content: [{ type: 'input_text', text: body }],
4723
+ content: [{ type: 'input_text', text: body || '' }],
4724
4724
  },
4725
4725
  ],
4726
4726
  });
@@ -6113,9 +6113,9 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
6113
6113
  `
6114
6114
  analyze the the person info : name:${name || ''}, person_nationality: ${person_nationality}
6115
6115
  and create realistic fictional profile picture
6116
- transparent background ,person in the center of the picture
6117
- add top margin the person should cover the whole picture
6118
-
6116
+ transparent background ,
6117
+ person in the center of the picture return only a centered head-and-shoulders portrait facing the camera.
6118
+ include no labels or text add top margin the person should cover the whole picture
6119
6119
  `,
6120
6120
  undefined,
6121
6121
  undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4707",
3
+ "version": "1.1.4709",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",