This commit is contained in:
董海洋
2026-05-24 21:31:50 +08:00
parent c621cbf46e
commit e0108eca71
+1 -1
View File
@@ -5,7 +5,7 @@ const router = new Router();
const AI_API_KEY = 'sk-7f5d6f370f824f2ab76480c01bb00d40';
const AI_API_URL = 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions';
// 2026-05-24 21:31:40
router.post('/generate-product', async (ctx) => {
try {
const { imageUrl, keywords } = ctx.request.body;