new-api icon indicating copy to clipboard operation
new-api copied to clipboard

火山引擎的生图对接,参数不全。布尔不被支持

Open rui5man opened this issue 1 month ago • 0 comments

例行检查

  • [ ] 我已确认目前没有类似 issue
  • [ ] 我已确认我已升级到最新版本
  • [ ] 我已完整查看过项目 README,已确定现有版本无法满足需求
  • [ ] 我理解并愿意跟进此 issue,协助测试和提供反馈
  • [ ] 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述 curl -X POST https://ark.cn-beijing.volces.com/api/v3/images/generations
-H "Content-Type: application/json"
-H "Authorization: Bearer $ARK_API_KEY"
-d '{ "model": "doubao-seedream-4-0-250828", "prompt": "生成狗狗趴在草地上的近景画面", "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imageToimage.png", "size": "2K", "sequential_image_generation": "disabled", "stream": false, "response_format": "url", "watermark": true }'

其中的: "watermark": true和"stream": false 这种不被支持 应用场景 利用火山引擎的,图片生成 API(Seedream 4.0 API) 这种类似布尔参数无法正常使用,如果去掉这些参数将不能获取想要的结果。

rui5man avatar Nov 09 '25 05:11 rui5man