@xuda.io/ai_module 1.1.3645 → 1.1.3646
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5484,7 +5484,7 @@ 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, //
|
|
5487
|
+
image: images[0].image_blob, //logo
|
|
5488
5488
|
prompt: `Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
|
|
5489
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.
|
|
5490
5490
|
The background should be fully removed, remove trees,clouds,sky or any landscape objects`,
|