feat: 支持图片生成响应格式切换并优化Markdown渲染

This commit is contained in:
yinpeng
2025-02-11 05:13:36 +08:00
parent cb4d26778e
commit 30858937b5
2 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ class ImageGenerationRequest(BaseModel):
size: Optional[str] = "1024x1024"
quality: Optional[str] = ""
style: Optional[str] = ""
response_format: Optional[str] = "b64_json"
response_format: Optional[str] = "url"