@xuda.io/ai_module 1.1.4359 → 1.1.4361
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 +6 -31
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5900,37 +5900,12 @@ export const create_profile_avatar = async function (req, job_id, headers) {
|
|
|
5900
5900
|
// },
|
|
5901
5901
|
// };
|
|
5902
5902
|
const obj = {
|
|
5903
|
-
unknown:
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
}
|
|
5909
|
-
team: {
|
|
5910
|
-
building_size: 'medium-sized building',
|
|
5911
|
-
employees:
|
|
5912
|
-
'A small group of five diverse professional employees, all appearing to be from ${country} (with ethnic features, skin tones, and facial characteristics typical of ${country}), men and women in business attire, standing together smiling in the foreground in front of the building',
|
|
5913
|
-
},
|
|
5914
|
-
agency: {
|
|
5915
|
-
building_size: 'medium-sized building',
|
|
5916
|
-
employees: 'A group of ten diverse professional employees, all appearing to be from ${country} (with ethnic features, skin tones, and facial characteristics typical of ${country}), men and women in business attire, standing together smiling in the foreground in front of the building',
|
|
5917
|
-
},
|
|
5918
|
-
|
|
5919
|
-
enterprise_t1: {
|
|
5920
|
-
building_size: 'large modern multi-story office building',
|
|
5921
|
-
employees:
|
|
5922
|
-
'A large group of thirty diverse professional employees, all appearing to be from ${country} (with ethnic features, skin tones, and facial characteristics typical of ${country}), men and women in business attire, standing together smiling in the foreground in front of the building',
|
|
5923
|
-
},
|
|
5924
|
-
enterprise_t2: {
|
|
5925
|
-
building_size: 'large modern hight tower multi-story office building',
|
|
5926
|
-
employees:
|
|
5927
|
-
'A large group of thirty diverse professional employees, all appearing to be from ${country} (with ethnic features, skin tones, and facial characteristics typical of ${country}), men and women in business attire, standing together smiling in the foreground in front of the building',
|
|
5928
|
-
},
|
|
5929
|
-
enterprise_t3: {
|
|
5930
|
-
building_size: 'large modern hight tower multi-story office building',
|
|
5931
|
-
employees:
|
|
5932
|
-
'A large group of thirty diverse professional employees, all appearing to be from ${country} (with ethnic features, skin tones, and facial characteristics typical of ${country}), men and women in business attire, standing together smiling in the foreground in front of the building',
|
|
5933
|
-
},
|
|
5903
|
+
unknown: `small single-story office building located in ${country}`,
|
|
5904
|
+
sole: `town house located in ${country} `,
|
|
5905
|
+
small: `small-sized building located in ${country} `,
|
|
5906
|
+
medium: `medium-sized multi-story office building located in ${country} `,
|
|
5907
|
+
large: `large modern multi-story office building located in ${country}`,
|
|
5908
|
+
enterprise: `large modern hight rise multi-story office building located in ${country}`,
|
|
5934
5909
|
};
|
|
5935
5910
|
const model = 'chatgpt-image-latest';
|
|
5936
5911
|
const ai_avatar_response = await client.images.edit({
|