{ "id": "81ccfe3e-3540-49e3-88ae-4fde173b8c87", "revision": 0, "last_node_id": 94, "last_link_id": 177, "nodes": [ { "id": 88, "type": "MarkdownNote", "pos": [ -353.1586608886719, 1293.6602783203125 ], "size": [ 383.78765869140625, 273.2510070800781 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "Flux Kontext Prompt Techniques", "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. " ], "color": "#222", "bgcolor": "#000" }, { "id": 91, "type": "ImageStitch", "pos": [ 384.0186462402344, 932.8209838867188 ], "size": [ 270, 150 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 174 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 175 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 176 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "ImageStitch", "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "right", true, 8, "white" ] }, { "id": 85, "type": "SaveImage", "pos": [ 1110, 930 ], "size": [ 270, 270 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 169 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "ComfyUI" ] }, { "id": 83, "type": "FluxKontextProImageNode", "pos": [ 690, 930 ], "size": [ 395.2944030761719, 323.6419372558594 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "input_image", "shape": 7, "type": "IMAGE", "link": 176 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 169 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "FluxKontextProImageNode", "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "Change the image to pop art style poster", "1:1", 3, 50, 1022368309905935, "randomize", false ], "color": "#432", "bgcolor": "#653" }, { "id": 93, "type": "MarkdownNote", "pos": [ 377.550537109375, 1304.835205078125 ], "size": [ 281.59576416015625, 202.95529174804688 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "If you need to input multiple images, you can set the mode of this \"load image\" node to Always. Of course, you can also combine more images together.\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 86, "type": "MarkdownNote", "pos": [ -351.2065124511719, 932.5810546875 ], "size": [ 380.9487609863281, 309.4496765136719 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "title": "About API Node", "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "[About API Node](https://docs.comfy.org/tutorials/partner-nodes/overview) | [关于 API 节点](https://docs.comfy.org/zh-CN/tutorials/partner-nodes/overview)\n\nTo use the API, you must be in a secure network environment:\n\n- Allows access from `127.0.0.1` or `localhost`.\n\n- Use our API Node in website services starting with `https`\n\n- Make sure you can normally connect to our API services (some regions may need a proxy).\n\n- Make sure you are logged in in the settings and that your account still has enough credits to cover the consumption of API calls.\n\n- On non-whitelisted sites or local area networks (LANs), please try to [log in using an API Key](https://docs.comfy.org/interface/user#logging-in-with-an-api-key).\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 84, "type": "LoadImage", "pos": [ 64.27711486816406, 928.7723999023438 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 174 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "LoadImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "api_bfl_flux_1_kontext_pro_image_input_image.png", "image" ] }, { "id": 90, "type": "LoadImage", "pos": [ 69.70362091064453, 1295.0821533203125 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 4, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 175 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "LoadImage", "ue_properties": { "widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "api_bfl_flux_1_kontext_pro_image_input_image.png", "image" ] } ], "links": [ [ 169, 83, 0, 85, 0, "IMAGE" ], [ 174, 84, 0, 91, 0, "IMAGE" ], [ 175, 90, 0, 91, 1, "IMAGE" ], [ 176, 91, 0, 83, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1.2175736571127846, "offset": [ 357.4535324861551, -708.2435474754211 ] }, "frontendVersion": "1.27.10", "ue_links": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }