fix(baoyu-image-gen): use correct prompt field name for Jimeng API

This commit is contained in:
Jim Liu 宝玉
2026-03-24 20:04:21 -05:00
parent 12e207dc3f
commit 151f1ec2a8
2 changed files with 115 additions and 1 deletions
@@ -246,7 +246,7 @@ async function submitTask(
const [width, height] = size.split("x").map(Number);
const bodyObj = {
req_key: model,
prompt_text: prompt,
prompt,
// Use separate width and height parameters instead of size string
width: width,
height: height,