@xuda.io/ai_module 1.1.5087 → 1.1.5089
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5419,7 +5419,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
5419
5419
|
person in the center of the picture return only a centered head-and-shoulders portrait facing the camera.
|
|
5420
5420
|
include no labels or text add top margin the person should cover the whole picture
|
|
5421
5421
|
`,
|
|
5422
|
-
|
|
5422
|
+
model,
|
|
5423
5423
|
undefined,
|
|
5424
5424
|
1,
|
|
5425
5425
|
undefined,
|
|
@@ -5539,6 +5539,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
5539
5539
|
};
|
|
5540
5540
|
|
|
5541
5541
|
export const get_profile_picture = async function (uid, account_type = 'business', name, metadata = {}, account_profile_info, job_id, headers = {}) {
|
|
5542
|
+
debugger;
|
|
5542
5543
|
const tempDir = os.tmpdir();
|
|
5543
5544
|
const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
|
|
5544
5545
|
const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
|