@xuda.io/ai_module 1.1.5090 → 1.1.5091
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 +0 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1540,7 +1540,6 @@ export const unarchive_ai_chat = async function (req) {
|
|
|
1540
1540
|
// };
|
|
1541
1541
|
|
|
1542
1542
|
const create_image = async function (uid, prompt, model = 'gpt-image-1-mini', size = '1024x1024', n = 1, width = 256, height = 256, metadata = {}, account_profile_info) {
|
|
1543
|
-
debugger;
|
|
1544
1543
|
try {
|
|
1545
1544
|
let response;
|
|
1546
1545
|
try {
|
|
@@ -5540,7 +5539,6 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
|
|
|
5540
5539
|
};
|
|
5541
5540
|
|
|
5542
5541
|
export const get_profile_picture = async function (uid, account_type = 'business', name, metadata = {}, account_profile_info, job_id, headers = {}) {
|
|
5543
|
-
debugger;
|
|
5544
5542
|
const tempDir = os.tmpdir();
|
|
5545
5543
|
const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
|
|
5546
5544
|
const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
|