@xuda.io/ai_module 1.1.3770 → 1.1.3771
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5965,8 +5965,8 @@ const create_ai_agent_image = async function (req, job_id, headers) {
|
|
|
5965
5965
|
|
|
5966
5966
|
`;
|
|
5967
5967
|
|
|
5968
|
-
const images_arr =
|
|
5969
|
-
return images_arr[0];
|
|
5968
|
+
const images_arr = await create_and_upload_image_to_drive('studio', 'Progs Thumbnails', ai_agent_id, prompt, 1, uid, app_id, job_id, headers, false, tags);
|
|
5969
|
+
return { code: 1, data: images_arr[0] };
|
|
5970
5970
|
}
|
|
5971
5971
|
|
|
5972
5972
|
let url = account_doc.account_info.profile_avatar;
|