diff --git a/websocket_server/image_generator.py b/websocket_server/image_generator.py index bdfcb2d..8c90cf9 100644 --- a/websocket_server/image_generator.py +++ b/websocket_server/image_generator.py @@ -38,11 +38,11 @@ class ImageGenerator: 2. 画面必须清晰、线条粗壮,适合低分辨率热敏打印机打印。 3. 绝对不要有复杂的阴影、渐变、黑白线条描述。 4. 背景必须是纯白 (White background)。 -5. 提示词内容请使用中文描述,因为绘图模型对中文生成要更准确。 +5. 提示词内容请使用英文描述,因为绘图模型对英文生成要更准确。 6. 尺寸比例遵循宽48mm:高30mm (约 1.6:1)。 7. 直接输出优化后的提示词,不要包含任何解释。 如果用户要求输入文字,则用```把文字包裹起来,文字是中文 -"房子的旁边有一个小孩,黑白线稿画作,卡通形象, 文字:```中国人```在下方。" +"A house with a child on the side, black and white line art, cartoon style, text:```中国人``` below." """ try: