@xuda.io/ai_module 1.1.3649 → 1.1.3651

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 +21 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5484,7 +5484,26 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5484
5484
  /////////////////
5485
5485
 
5486
5486
  const obj = {
5487
- free: { building_size: 'small one store building', employees: '' },
5487
+ free: {
5488
+ building_size: 'small single-story office building',
5489
+ employees: 'Empty exterior with no people or employees visible',
5490
+ },
5491
+ pro: {
5492
+ building_size: 'small low-rise single-story office building',
5493
+ employees: 'One diverse professional employee standing prominently in the foreground in front of the building entrance',
5494
+ },
5495
+ team: {
5496
+ building_size: 'medium-sized modern office building',
5497
+ employees: 'A small group of five diverse professional employees (men and women in business attire) standing together smiling in the foreground in front of the building',
5498
+ },
5499
+ agency: {
5500
+ building_size: 'medium-sized modern office building',
5501
+ employees: 'A group of ten diverse professional employees (men and women in business attire) standing together smiling in the foreground in front of the building',
5502
+ },
5503
+ enterprise: {
5504
+ building_size: 'large modern multi-story office building',
5505
+ employees: 'A large group of thirty diverse professional employees (men and women in business attire) standing together smiling in the foreground in front of the building',
5506
+ },
5488
5507
  };
5489
5508
 
5490
5509
  const ai_avatar_response = await client.images.edit({
@@ -5493,7 +5512,7 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5493
5512
  prompt: `
5494
5513
  Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
5495
5514
  Display the attached logo clearly as prominent exterior signage.
5496
- 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.
5515
+ Show ${obj?[account_obj.membership_plan]?.employees || obj.free.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.
5497
5516
  The background should be fully removed, remove trees,clouds,sky or any landscape objects`,
5498
5517
  background: 'transparent',
5499
5518
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3649",
3
+ "version": "1.1.3651",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",