Profile Picture Stylized Variations
Upload your profile picture, enter a theme and generate 64 variations.
简介
The 'Profile Picture Stylized Variations' workflow is designed to creatively transform your profile picture into a set of 64 unique variations based on a specified theme. This workflow leverages a combination of advanced AI models and custom nodes to achieve high-quality, diverse outputs. It begins with the 'LoadImage' node, which allows you to upload your profile picture. The image is then processed through the 'Nano Banana Pro' model, known for its ability to apply stylistic transformations effectively.
The 'Gemini3 Pro Image Preview' model is used to ensure that each variation maintains a high level of detail and artistic quality. Custom nodes such as 'comfyui-kjnodes' and 'comfyui_essentials' are integrated to enhance the workflow's flexibility and output diversity. This workflow is particularly useful for social media enthusiasts and professionals looking to refresh their online presence with creative and thematic profile picture variations.
你需要提供
- 正在读取工作流
在 ComfyUI 中运行。 此工作流无法在本页面运行。你可以在 Comfy Cloud 中打开(已预先加载所需内容),或下载后在自己的 ComfyUI 中使用。
在 Cloud 中试用查看工作流内部
节点图的只读预览。在 Comfy Cloud 中打开或下载后即可编辑节点。
Loading the graph
Open full-size workflow preview- 作者
- Rob
需要自定义节点
- 正在读取工作流
通过代码使用此工作流
尽可能根据工作流图和输入自动生成代码,否则显示已保存的示例。运行代码可能产生费用,请先核对凭据和端点。
What you need
- Runs on
- Comfy Cloud
- 密钥
- COMFY_API_KEY
需要付费的 Cloud 方案和额度。
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"10": {
"class_type": "LoadImage",
"inputs": {
"image": "subject-profile.png"
},
"_meta": {
"title": "Load Image"
}
},
"16": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 1
},
"_meta": {
"title": "Select Image Number"
}
},
"19": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"17:78",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Analyze the input image to understand it's aesthetic qualities. Upscale image 1 and add subtle details, fix text while maintaining the subject's identity.",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 222,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"32": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "1:1",
"images": [
"10",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Generate a 8x8 grid (8 rows, 8 cols) of variations of this profile picture used for social media. There should be 64 total images. Each grid image should have a unique visual appearance.\n\nThe theme for the grid images is: glitch art",
"resolution": "4K",
"response_modalities": "IMAGE+TEXT",
"seed": 111,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"36": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-selected_image-upscaled",
"images": [
"19",
0
]
},
"_meta": {
"title": "Save Upscaled Image"
}
},
"37": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-selected_image",
"images": [
"17:78",
0
]
},
"_meta": {
"title": "Save Selected Image"
}
},
"39": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-64_grid_images",
"images": [
"32",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"15:101": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:63",
0
]
},
"_meta": {
"title": "9"
}
},
"15:102": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "10"
}
},
"15:103": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "11"
}
},
"15:104": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "12"
}
},
"15:105": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "13"
}
},
"15:106": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "14"
}
},
"15:107": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "16"
}
},
"15:114": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:63",
0
]
},
"_meta": {
"title": "15"
}
},
"15:144": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "2*a"
},
"_meta": {
"title": "Row 3 - Y val"
}
},
"15:145": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:144",
0
]
},
"_meta": {
"title": "17"
}
},
"15:146": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "18"
}
},
"15:147": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "19"
}
},
"15:148": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "20"
}
},
"15:149": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "21"
}
},
"15:150": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "22"
}
},
"15:151": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "23"
}
},
"15:152": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:144",
0
]
},
"_meta": {
"title": "24"
}
},
"15:156": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:29",
0
],
"image_2": [
"15:33",
0
],
"image_3": [
"15:39",
0
],
"image_4": [
"15:80",
0
],
"image_5": [
"15:81",
0
],
"image_6": [
"15:88",
0
],
"image_7": [
"15:89",
0
],
"image_8": [
"15:95",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:158": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:101",
0
],
"image_2": [
"15:102",
0
],
"image_3": [
"15:103",
0
],
"image_4": [
"15:104",
0
],
"image_5": [
"15:105",
0
],
"image_6": [
"15:106",
0
],
"image_7": [
"15:114",
0
],
"image_8": [
"15:107",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:161": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:145",
0
],
"image_2": [
"15:146",
0
],
"image_3": [
"15:147",
0
],
"image_4": [
"15:148",
0
],
"image_5": [
"15:149",
0
],
"image_6": [
"15:150",
0
],
"image_7": [
"15:151",
0
],
"image_8": [
"15:152",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:172": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "3*a"
},
"_meta": {
"title": "Row 4 - Y val"
}
},
"15:18": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"32",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"15:186": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "4*a"
},
"_meta": {
"title": "Row 5 - Y val"
}
},
"15:187": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:172",
0
]
},
"_meta": {
"title": "25"
}
},
"15:188": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "26"
}
},
"15:189": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "27"
}
},
"15:190": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "28"
}
},
"15:191": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "29"
}
},
"15:192": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "30"
}
},
"15:193": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "31"
}
},
"15:194": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:172",
0
]
},
"_meta": {
"title": "32"
}
},
"15:195": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:187",
0
],
"image_2": [
"15:188",
0
],
"image_3": [
"15:189",
0
],
"image_4": [
"15:190",
0
],
"image_5": [
"15:191",
0
],
"image_6": [
"15:192",
0
],
"image_7": [
"15:193",
0
],
"image_8": [
"15:194",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:197": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:186",
0
]
},
"_meta": {
"title": "33"
}
},
"15:198": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "34"
}
},
"15:199": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "35"
}
},
"15:200": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "36"
}
},
"15:201": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "37"
}
},
"15:202": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "38"
}
},
"15:203": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "39"
}
},
"15:204": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:186",
0
]
},
"_meta": {
"title": "40"
}
},
"15:205": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:197",
0
],
"image_2": [
"15:198",
0
],
"image_3": [
"15:199",
0
],
"image_4": [
"15:200",
0
],
"image_5": [
"15:201",
0
],
"image_6": [
"15:202",
0
],
"image_7": [
"15:203",
0
],
"image_8": [
"15:204",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:278": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "5*a"
},
"_meta": {
"title": "Row 6 - Y val"
}
},
"15:279": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:278",
0
]
},
"_meta": {
"title": "41"
}
},
"15:280": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "42"
}
},
"15:281": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "43"
}
},
"15:282": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "44"
}
},
"15:283": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "45"
}
},
"15:284": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "46"
}
},
"15:285": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "47"
}
},
"15:286": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:278",
0
]
},
"_meta": {
"title": "48"
}
},
"15:287": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:279",
0
],
"image_2": [
"15:280",
0
],
"image_3": [
"15:281",
0
],
"image_4": [
"15:282",
0
],
"image_5": [
"15:283",
0
],
"image_6": [
"15:284",
0
],
"image_7": [
"15:285",
0
],
"image_8": [
"15:286",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:29": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "1"
}
},
"15:311": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:331",
0
]
},
"_meta": {
"title": "49"
}
},
"15:312": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "50"
}
},
"15:313": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "51"
}
},
"15:314": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "52"
}
},
"15:315": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "53"
}
},
"15:316": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "54"
}
},
"15:317": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "55"
}
},
"15:318": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:331",
0
]
},
"_meta": {
"title": "56"
}
},
"15:319": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:311",
0
],
"image_2": [
"15:312",
0
],
"image_3": [
"15:313",
0
],
"image_4": [
"15:314",
0
],
"image_5": [
"15:315",
0
],
"image_6": [
"15:316",
0
],
"image_7": [
"15:317",
0
],
"image_8": [
"15:318",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:321": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": 0,
"y": [
"15:332",
0
]
},
"_meta": {
"title": "57"
}
},
"15:322": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "58"
}
},
"15:323": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "59"
}
},
"15:324": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "60"
}
},
"15:325": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "61"
}
},
"15:326": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "62"
}
},
"15:327": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "63"
}
},
"15:328": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": [
"15:332",
0
]
},
"_meta": {
"title": "64"
}
},
"15:329": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:321",
0
],
"image_2": [
"15:322",
0
],
"image_3": [
"15:323",
0
],
"image_4": [
"15:324",
0
],
"image_5": [
"15:325",
0
],
"image_6": [
"15:326",
0
],
"image_7": [
"15:327",
0
],
"image_8": [
"15:328",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:33": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:59",
0
],
"y": 0
},
"_meta": {
"title": "2"
}
},
"15:331": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "6*a"
},
"_meta": {
"title": "Row 7 - Y val"
}
},
"15:332": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "7*a"
},
"_meta": {
"title": "Row 8 - Y val"
}
},
"15:333": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"15:156",
0
],
"image_2": [
"15:158",
0
],
"image_3": [
"15:161",
0
],
"image_4": [
"15:195",
0
],
"image_5": [
"15:205",
0
],
"image_6": [
"15:287",
0
],
"image_7": [
"15:319",
0
],
"image_8": [
"15:329",
0
],
"inputcount": 8
},
"_meta": {
"title": "Image Batch Multi"
}
},
"15:39": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:60",
0
],
"y": 0
},
"_meta": {
"title": "3"
}
},
"15:59": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Col 2 - X val"
}
},
"15:60": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "2*a"
},
"_meta": {
"title": "Col 3 - X val"
}
},
"15:63": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:66",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"15:65": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:18",
0
],
"b": 0,
"value": "a / 8"
},
"_meta": {
"title": "WIDTH"
}
},
"15:66": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:18",
1
],
"b": 0,
"value": "a / 8"
},
"_meta": {
"title": "HEIGHT"
}
},
"15:80": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:82",
0
],
"y": 0
},
"_meta": {
"title": "4"
}
},
"15:81": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:83",
0
],
"y": 0
},
"_meta": {
"title": "5"
}
},
"15:82": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "3*a"
},
"_meta": {
"title": "Col 4 - X val"
}
},
"15:83": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "4*a"
},
"_meta": {
"title": "Col 5 - X val"
}
},
"15:86": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "5*a"
},
"_meta": {
"title": "Col 6 - X val"
}
},
"15:87": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "6*a"
},
"_meta": {
"title": "Col 7 - X val"
}
},
"15:88": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:86",
0
],
"y": 0
},
"_meta": {
"title": "6"
}
},
"15:89": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:87",
0
],
"y": 0
},
"_meta": {
"title": "7"
}
},
"15:94": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"15:65",
0
],
"b": 0,
"value": "7*a"
},
"_meta": {
"title": "Col 8 - X val"
}
},
"15:95": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"15:66",
0
],
"image": [
"32",
0
],
"width": [
"15:65",
0
],
"x": [
"15:94",
0
],
"y": 0
},
"_meta": {
"title": "8"
}
},
"17:78": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": [
"17:89",
0
],
"image": [
"15:333",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"17:83": {
"class_type": "ResizeAndPadImage",
"inputs": {
"image": [
"10",
0
],
"interpolation": "area",
"padding_color": "white",
"target_height": [
"17:86",
1
],
"target_width": [
"17:86",
0
]
},
"_meta": {
"title": "Resize And Pad Image"
}
},
"17:86": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"17:78",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"17:87": {
"class_type": "ImageBatch",
"inputs": {
"image1": [
"17:78",
0
],
"image2": [
"17:83",
0
]
},
"_meta": {
"title": "Batch Images (DEPRECATED)"
}
},
"17:89": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"16",
0
],
"b": 0,
"value": "a - 1"
},
"_meta": {
"title": "Image # as index"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)常见问答
Yes, you can upload any image, but for best results, use a clear and high-resolution profile picture.
You can use any theme that inspires you, such as 'futuristic', 'vintage', or 'abstract'. The models are designed to interpret and apply a wide range of themes.
The processing time depends on your system's capabilities, but typically it takes a few minutes to generate all 64 variations.
The workflow is set to generate 64 variations by default, but you can adjust this by modifying the parameters in the 'PrimitiveInt' node.