You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👀 @jhezjkp
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
curl -X "POST""http://localhost:3400/api/text2image" \
-H 'x-lobe-plugin-settings: {"SERVICE_BASE_URL":"https://api.ai.xxx.com/v1/images/generations","SERVICE_API_KEY":"sk-xxxx"}' \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{ "size": "1080x1080", "prompt": "a girl with a red hat"}'
{"success":true,"url":"https://sf-maas-uat-prod.oss-cn-shanghai.aliyuncs.com/outputs/33159cf8-1a13-49b8-82d6-e3528c3f1804_0.png","revised_prompt":"a girl with a red hat"}
🧐 问题描述 | Proposed Solution
开发的是一个text to image的插件,初版相关url和api key参数写死的,调用一切正常:
接着进一步迭代,把url和api key提取可以配置的参数,调用就出现问题了:
日志:
gateway.ts
text2image.ts
📝 补充信息 | Additional Information
No response
The text was updated successfully, but these errors were encountered: