@xuda.io/ai_module 1.1.5088 → 1.1.5090

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
@@ -1540,6 +1540,7 @@ 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;
1543
1544
  try {
1544
1545
  let response;
1545
1546
  try {
@@ -5419,7 +5420,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
5419
5420
  person in the center of the picture return only a centered head-and-shoulders portrait facing the camera.
5420
5421
  include no labels or text add top margin the person should cover the whole picture
5421
5422
  `,
5422
- null,
5423
+ model,
5423
5424
  undefined,
5424
5425
  1,
5425
5426
  undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5088",
3
+ "version": "1.1.5090",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",