File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
apps/setting/models_provider/impl
openai_model_provider/credential
xinference_model_provider/credential Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313
1414class OpenAITTIModelParams (BaseForm ):
1515 size = forms .SingleSelect (
16- TooltipLabel ('图片尺寸' , '指定生成图片的尺寸, 如: 1024x1024' ),
16+ TooltipLabel ('图片尺寸' , '图像生成端点允许您根据文本提示创建原始图像。使用 DALL·E 3 时,图像的尺寸可以为 1024x1024、1024x1792 或 1792x1024 像素。 ' ),
1717 required = True ,
1818 default_value = '1024x1024' ,
1919 option_list = [
@@ -26,7 +26,7 @@ class OpenAITTIModelParams(BaseForm):
2626 )
2727
2828 quality = forms .SingleSelect (
29- TooltipLabel ('图片质量' , '' ),
29+ TooltipLabel ('图片质量' , '默认情况下,图像以标准质量生成,但使用 DALL·E 3 时,您可以设置质量:“hd”以增强细节。方形、标准质量的图像生成速度最快。 ' ),
3030 required = True ,
3131 default_value = 'standard' ,
3232 option_list = [
@@ -38,7 +38,7 @@ class OpenAITTIModelParams(BaseForm):
3838 )
3939
4040 n = forms .SliderField (
41- TooltipLabel ('图片数量' , '指定生成图片的数量 ' ),
41+ TooltipLabel ('图片数量' , '您可以使用 DALL·E 3 一次请求 1 个图像(通过发出并行请求来请求更多图像),或者使用带有 n 参数的 DALL·E 2 一次最多请求 10 个图像。 ' ),
4242 required = True , default_value = 1 ,
4343 _min = 1 ,
4444 _max = 10 ,
Original file line number Diff line number Diff line change 1313
1414class XinferenceTTIModelParams (BaseForm ):
1515 size = forms .SingleSelect (
16- TooltipLabel ('图片尺寸' , '指定生成图片的尺寸, 如: 1024x1024' ),
16+ TooltipLabel ('图片尺寸' , '图像生成端点允许您根据文本提示创建原始图像。图像的尺寸可以为 1024x1024、1024x1792 或 1792x1024 像素。 ' ),
1717 required = True ,
1818 default_value = '1024x1024' ,
1919 option_list = [
@@ -26,7 +26,7 @@ class XinferenceTTIModelParams(BaseForm):
2626 )
2727
2828 quality = forms .SingleSelect (
29- TooltipLabel ('图片质量' , '' ),
29+ TooltipLabel ('图片质量' , '默认情况下,图像以标准质量生成,您可以设置质量:“hd”以增强细节。方形、标准质量的图像生成速度最快。 ' ),
3030 required = True ,
3131 default_value = 'standard' ,
3232 option_list = [
@@ -38,7 +38,7 @@ class XinferenceTTIModelParams(BaseForm):
3838 )
3939
4040 n = forms .SliderField (
41- TooltipLabel ('图片数量' , '指定生成图片的数量 ' ),
41+ TooltipLabel ('图片数量' , '您可以一次请求 1 个图像(通过发出并行请求来请求更多图像),或者使用 n 参数一次最多请求 10 个图像。 ' ),
4242 required = True , default_value = 1 ,
4343 _min = 1 ,
4444 _max = 10 ,
You can’t perform that action at this time.
0 commit comments