@xuda.io/ai_module 1.1.3645 → 1.1.3647

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 +5 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5484,9 +5484,11 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5484
5484
  /////////////////
5485
5485
  const ai_avatar_response = await client.images.edit({
5486
5486
  model: 'chatgpt-image-latest',
5487
- image: images[0].image_blob, //base photo
5488
- prompt: `Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
5489
- Display the attached logo clearly as prominent exterior signage. Show a group of employees in front of the building/premises. The building’s architecture and overall atmosphere should reflect the nature of the business, aligning with ${mainCategory} and ${subCategory}. Use the provided bio (${bio}) to understand the company’s focus and personality, and adapt the architectural style to match the ${country} country’s local design language. Select an appropriate building type for the specific business category, and present a contemporary, creative office environment with a strong, recognizable brand identity.
5487
+ image: images[0].image_blob, //logo
5488
+ prompt: `
5489
+ Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
5490
+ Display the attached logo clearly as prominent exterior signage.
5491
+ Show a group of employees in front of the building/premises. The building’s architecture and overall atmosphere should reflect the nature of the business, aligning with ${mainCategory} and ${subCategory}. Use the provided bio (${bio}) to understand the company’s focus and personality, and adapt the architectural style to match the ${country} country’s local design language. Select an appropriate building type for the specific business category, and present a contemporary, creative office environment with a strong, recognizable brand identity.
5490
5492
  The background should be fully removed, remove trees,clouds,sky or any landscape objects`,
5491
5493
  background: 'transparent',
5492
5494
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3645",
3
+ "version": "1.1.3647",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",