@xuda.io/ai_module 1.1.3646 → 1.1.3648
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 +9 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5482,11 +5482,18 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
|
|
|
5482
5482
|
// background: 'transparent',
|
|
5483
5483
|
// });
|
|
5484
5484
|
/////////////////
|
|
5485
|
+
|
|
5486
|
+
const obj = {
|
|
5487
|
+
free: { building_size: '1 store building' },
|
|
5488
|
+
};
|
|
5489
|
+
|
|
5485
5490
|
const ai_avatar_response = await client.images.edit({
|
|
5486
5491
|
model: 'chatgpt-image-latest',
|
|
5487
5492
|
image: images[0].image_blob, //logo
|
|
5488
|
-
prompt: `
|
|
5489
|
-
|
|
5493
|
+
prompt: `
|
|
5494
|
+
Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
|
|
5495
|
+
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.
|
|
5490
5497
|
The background should be fully removed, remove trees,clouds,sky or any landscape objects`,
|
|
5491
5498
|
background: 'transparent',
|
|
5492
5499
|
});
|