@xuda.io/ai_module 1.1.3621 → 1.1.3623

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 +18 -18
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5812,29 +5812,29 @@ export const create_ai_agent_image = async function (req, job_id, headers) {
5812
5812
  //////////////////
5813
5813
  imageBase64 = Buffer.from(await images[0].image_blob.arrayBuffer()).toString('base64');
5814
5814
 
5815
- const { first_name, last_name, bio, country, mainCategory, subCategory } = account_obj.account_info;
5816
5815
  const ai_avatar_response = await client.images.edit({
5817
5816
  model: 'chatgpt-image-latest',
5818
5817
  image: images[0].image_blob,
5819
5818
 
5820
5819
  prompt: `
5821
- Create a futuristic, profile portrait with a transparent background.
5822
- make the character look like the person from the provided image with complete metal face hairless ,
5823
- Center the character facing forward, with subtle top spacing, showing only the head and shoulders.
5824
- Style the humanoid with functional, minimal attire integrated into its form (such as collars,
5825
- layered panels, shoulder structures, or fabric-like surfaces), avoiding human fashion tropes.
5826
- Select exactly ONE accessory category per generation (do not combine):
5827
- - Head-mounted element (visor, band, halo ring)
5828
- - Chest or collar element (badge, glyph, embedded tag)
5829
- - Floating or projected element (holographic symbol, light node)
5830
- - Structural or partially visible object that reinforces the role Accessories must directly reinforce the identity of "${db_doc.properties.menuName} - ${db_doc.studio_meta.agent_assistant_name}".
5831
- Use a consistent, fixed color palette across all generations. Do not introduce new colors.
5832
- All variation must come from geometry, materials, texture, and lighting.
5833
- Vary at least two of the following:
5834
- - Head geometry - Surface structure - Material finish
5835
- - Light interaction Use advanced or reflective materials to convey intelligence and sophistication.
5836
- The overall composition should symbolize the fusion of human creativity and machine intelligence.
5837
- `,
5820
+ Create a futuristic, profile portrait with a transparent background.
5821
+ make the character look like the person from the provided image with complete metal face hairless ,
5822
+ Center the character facing forward, with subtle top spacing, showing only the head and shoulders.
5823
+ Style the humanoid with functional, minimal attire integrated into its form (such as collars,
5824
+ layered panels, shoulder structures, or fabric-like surfaces), avoiding human fashion tropes.
5825
+ Select exactly ONE accessory category per generation (do not combine):
5826
+ - Head-mounted element (visor, band, halo ring)
5827
+ - Chest or collar element (badge, glyph, embedded tag)
5828
+ - Floating or projected element (holographic symbol, light node)
5829
+ - Structural or partially visible object that reinforces the role Accessories must directly reinforce the identity
5830
+ of "${ai_agent_doc.properties.menuName} - ${ai_agent_doc.studio_meta.agent_assistant_name}".
5831
+ Use a consistent, fixed color palette across all generations. Do not introduce new colors.
5832
+ All variation must come from geometry, materials, texture, and lighting.
5833
+ Vary at least two of the following:
5834
+ - Head geometry - Surface structure - Material finish
5835
+ - Light interaction Use advanced or reflective materials to convey intelligence and sophistication.
5836
+ The overall composition should symbolize the fusion of human creativity and machine intelligence.
5837
+ `,
5838
5838
  background: 'transparent',
5839
5839
  });
5840
5840
  imageBase64 = ai_avatar_response.data[0].b64_json;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3621",
3
+ "version": "1.1.3623",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",