图生图提示词:以法兰外径 360 mm 为比例基准,在一张图纸上生成同一零件的三幅技术图,含尺寸标注视图。
{
"task": "image_to_image",
"input_image": "3d_render_of_mechanical_part.png",
"prompt": "参考比例:法兰外径恰好为 360 毫米。机械工程制图图纸,包含同一零件的三个独立视图,分别置于清晰分隔的矩形区域内。视图 1:带完整尺寸标注的正交投影视图(主视图、俯视图、侧视图),含精确的毫米级数值尺寸、直径符号、半径标注、孔数标注及中心线。视图 2:沿零件中心轴线剖切所得的剖视图,清晰展示内部几何结构,并采用标准剖面线填充,壁厚清晰可见。视图 3:不带任何尺寸标注的等轴测参考视图,仅用于空间结构理解。符合 ISO 机械制图标准,线宽一致,白底黑线,面向制造就绪的技术文档,无透视畸变。",
"negative_prompt": "单张合并视图、视图混叠、艺术化渲染、透视视图、真实感光照、阴影、纹理、色彩、渐变、草图风格、手绘效果、缺失尺寸标注、装饰性呈现",
"settings": {
"model": "sdxl",
"sampler": "DPM++ 2M Karras",
"steps": 45,
"cfg_scale": 6,
"denoising_strength": 0.45,
"resolution": {
"width": 1024,
"height": 1024
}
},
"output_expectation": "一张技术图纸,内含三个清晰分隔的视图:带尺寸标注的正交投影视图、居中布置的剖视图,以及不带尺寸标注的等轴测参考视图;该图纸可直接用作制造参考依据"
}{
"task": "image_to_image",
"input_image": "3d_render_of_mechanical_part.png",
"prompt": "Reference scale: the outer diameter of the flange is exactly 360 mm. Mechanical engineering drawing sheet with three separate drawings of the same part placed in clearly separated rectangular areas. Drawing 1: fully dimensioned orthographic views (front, top, side) with precise numeric measurements in millimeters, diameter symbols, radius annotations, hole count notation and center lines. Drawing 2: sectional view taken through the center axis of the part, showing internal geometry with proper section hatching and wall thickness clearly visible. Drawing 3: isometric reference view of the part without any dimensions, used only for spatial understanding. ISO mechanical drafting standard, consistent line weights, monochrome black lines on white background, manufacturing-ready technical documentation, no perspective distortion.",
"negative_prompt": "single combined drawing, merged views, artistic rendering, perspective view, realistic lighting, shadows, textures, colors, gradients, sketch style, hand drawn look, missing dimensions, decorative presentation",
"settings": {
"model": "sdxl",
"sampler": "DPM++ 2M Karras",
"steps": 45,
"cfg_scale": 6,
"denoising_strength": 0.45,
"resolution": {
"width": 1024,
"height": 1024
}
},
"output_expectation": "one technical drawing sheet containing three clearly separated drawings: dimensioned orthographic views, a centered sectional view, and an undimensioned isometric reference, suitable for manufacturing reference"
}