diff --git a/example_workflows/Agnes-AI_Nodes.jpg b/example_workflows/Agnes-AI_Nodes.jpg new file mode 100644 index 0000000..4247a90 Binary files /dev/null and b/example_workflows/Agnes-AI_Nodes.jpg differ diff --git a/example_workflows/Agnes-AI_Nodes.json b/example_workflows/Agnes-AI_Nodes.json new file mode 100644 index 0000000..1d3b50a --- /dev/null +++ b/example_workflows/Agnes-AI_Nodes.json @@ -0,0 +1,841 @@ +{ + "id": "62fe3d2f-2adf-4fe0-964d-bc212ea1664c", + "revision": 0, + "last_node_id": 88, + "last_link_id": 96, + "nodes": [ + { + "id": 80, + "type": "AgnesConfig", + "pos": [ + -2100.284911471681, + 8635.540019200023 + ], + "size": [ + 400, + 211.6140549538395 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "status", + "type": "STRING", + "links": [ + 84 + ] + } + ], + "properties": { + "Node name for S&R": "AgnesConfig", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "sk-hVB****KOS4", + "agnes-2.0-flash", + "agnes-image-2.1-flash", + "agnes-video-v2.0", + "{\n \"Prompt Enhance\": {\n \"system_prompt\": \"You are an expert prompt engineer for AI image generation. Expand and enrich the given prompt with vivid visual context: subject details, lighting, color palette, composition, mood, camera angle, and style. Keep it concise but powerful.\",\n \"requires_image\": false\n },\n \"Translate to English\": {\n \"system_prompt\": \"Translate the following prompt to English. Preserve all visual details, style, lighting, composition, and quality terms. Return ONLY the translation.\",\n \"requires_image\": false\n },\n \"Extract Art Style from Image\": {\n \"system_prompt\": \"Analyze the artistic style of this image. Identify the art movement, technique, color palette, brushwork, lighting approach, and composition style. Output ONLY a prompt that captures this artistic style for AI image generation. Do not describe the image content or subject matter.\",\n \"requires_image\": true\n },\n \"Image Detailed Description\": {\n \"system_prompt\": \"You are an expert at analyzing images and writing AI image generation prompts. Describe this image in extreme detail: subject, composition, lighting, color palette, style, mood, camera angle, depth of field, textures, and distinctive elements. Output ONLY the prompt, no commentary.\",\n \"requires_image\": true\n }\n}" + ] + }, + { + "id": 83, + "type": "AgnesVideo", + "pos": [ + -1081.4944646608017, + 8629.645013760934 + ], + "size": [ + 400, + 300 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 91 + }, + { + "name": "end_frame", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "video", + "type": "VIDEO", + "links": [ + 89 + ] + }, + { + "name": "last_frame", + "type": "IMAGE", + "links": [ + 96 + ] + } + ], + "properties": { + "Node name for S&R": "AgnesVideo", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "", + "Image To Video", + "Stand up", + "480p", + "auto", + 5, + 24, + 520246024, + "randomize" + ] + }, + { + "id": 75, + "type": "ailab_LoadImage", + "pos": [ + -1398.0932234015866, + 8629.645013760934 + ], + "size": [ + 284.9282614763565, + 629.3429973208058 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image_path_or_URL", + "shape": 7, + "type": "STRING", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 91 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ailab_LoadImage", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "112381828.png", + "image" + ], + "color": "#3a464c", + "bgcolor": "#263238" + }, + { + "id": 87, + "type": "PreviewImage", + "pos": [ + -649.8239673963753, + 8629.645013760934 + ], + "size": [ + 300.8932120189977, + 585.368490396666 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 96 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.26.0", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 77, + "type": "SaveVideo", + "pos": [ + -317.26025811294903, + 8629.645013760934 + ], + "size": [ + 270, + 588.9090909090909 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 89 + } + ], + "outputs": [ + { + "name": "video", + "type": "VIDEO", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.26.0", + "Node name for S&R": "SaveVideo", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 73, + "type": "ailab_LoadImage", + "pos": [ + -2163.5249491420213, + 7915.072257201459 + ], + "size": [ + 278.01410606582317, + 617.1270983987542 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image_path_or_URL", + "shape": 7, + "type": "STRING", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 86 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ailab_LoadImage", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "112685916.png", + "image" + ], + "color": "#3a464c", + "bgcolor": "#263238" + }, + { + "id": 70, + "type": "PreviewAny", + "pos": [ + -1857.9772737571536, + 8185.237176457811 + ], + "size": [ + 396.95360861276913, + 340.31891003119745 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 85 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.26.0", + "Node name for S&R": "PreviewAny", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + null, + null, + null + ] + }, + { + "id": 82, + "type": "AgnesText", + "pos": [ + -1858.6496627247766, + 7915.072257201459 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 86 + } + ], + "outputs": [ + { + "name": "output", + "type": "STRING", + "links": [ + 85 + ] + } + ], + "properties": { + "Node name for S&R": "AgnesText", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "", + "Image Detailed Description", + "", + "" + ] + }, + { + "id": 69, + "type": "PreviewAny", + "pos": [ + -1680.3795580908682, + 8635.540019200023 + ], + "size": [ + 231.89469069662368, + 211.6140549538395 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 84 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.26.0", + "Node name for S&R": "PreviewAny", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + null, + null, + null + ] + }, + { + "id": 81, + "type": "AgnesImage", + "pos": [ + -708.5115719582732, + 7868.017949348329 + ], + "size": [ + 320.7554276298615, + 220 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": 88 + }, + { + "name": "image_2", + "shape": 7, + "type": "IMAGE", + "link": 87 + }, + { + "name": "image_3", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "image_4", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 95 + ] + } + ], + "properties": { + "Node name for S&R": "AgnesImage", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "", + "Two girls taking a photo", + "1K", + "auto" + ] + }, + { + "id": 72, + "type": "ailab_LoadImage", + "pos": [ + -1053.2839027019402, + 7868.017949348329 + ], + "size": [ + 320.7554276298615, + 658.5328714899442 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image_path_or_URL", + "shape": 7, + "type": "STRING", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 87 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ailab_LoadImage", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "110658831.png", + "image" + ], + "color": "#3a464c", + "bgcolor": "#263238" + }, + { + "id": 71, + "type": "ailab_LoadImage", + "pos": [ + -1398.0562334456072, + 7868.017949348329 + ], + "size": [ + 320.7554276298615, + 658.5328714899442 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image_path_or_URL", + "shape": 7, + "type": "STRING", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 88 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ailab_LoadImage", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.8" + } + }, + "widgets_values": [ + "114107504.png", + "image" + ], + "color": "#3a464c", + "bgcolor": "#263238" + }, + { + "id": 86, + "type": "PreviewImage", + "pos": [ + -363.7392412146063, + 7868.017949348329 + ], + "size": [ + 320.7554276298615, + 658.5328714899442 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 95 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.26.0", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {} + }, + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 88, + "type": "MarkdownNote", + "pos": [ + -2106.920158300386, + 8918.573858023365 + ], + "size": [ + 664.0630201571337, + 310.2337803022092 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "# [ComfyUI Agnes-AI](https://github.com/1038lab/ComfyUI-Agnes-AI)\n\nComfyUI custom nodes for the **Agnes AI API** — a free, cloud-based AI generation platform. Generate images, create videos, enhance prompts, and analyze visuals — all without a local GPU. Zero extra Python dependencies.\n\n> **Get a free API key:** [platform.agnes-ai.com](https://platform.agnes-ai.com)\n\n## Why Agnes AI?\n\n| | |\n|---|---|\n| **Free** | No token billing, no credit system — get a key and use it |\n| **No GPU needed** | All computation runs on Agnes servers, your ComfyUI stays lightweight |\n| **One API, many models** | Image gen, video gen, chat, vision — all through a single key |\n| **Multi-image compose** | Up to 4 reference images for img2img composition |\n| **Video generation** | Text-to-video, image-to-video, and keyframe interpolation |\n| **Smart text styles** | Prompt enhancement, translation, art style extraction, image description |\n" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 84, + 80, + 0, + 69, + 0, + "STRING" + ], + [ + 85, + 82, + 0, + 70, + 0, + "STRING" + ], + [ + 86, + 73, + 0, + 82, + 0, + "IMAGE" + ], + [ + 87, + 72, + 0, + 81, + 1, + "IMAGE" + ], + [ + 88, + 71, + 0, + 81, + 0, + "IMAGE" + ], + [ + 89, + 83, + 0, + 77, + 0, + "VIDEO" + ], + [ + 91, + 75, + 0, + 83, + 0, + "IMAGE" + ], + [ + 95, + 81, + 0, + 86, + 0, + "IMAGE" + ], + [ + 96, + 83, + 1, + 87, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "id": 1, + "title": "Config", + "bounding": [ + -2110.284911471681, + 8565.540019200023, + 671.8000440774354, + 291.6140549538395 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 2, + "title": "Agnes-AI Text", + "bounding": [ + -2173.5249491420213, + 7845.072257201459, + 724.8752864172448, + 697.1270983987542 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 3, + "title": "Agnes-AI Image", + "bounding": [ + -1414.6794615991803, + 7801.329352880506, + 1383.2301206295372, + 738.5328714899442 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 4, + "title": "Agnes-AI Video", + "bounding": [ + -1408.0932234015866, + 8559.645013760934, + 1370.8329652886391, + 709.3429973208058 + ], + "color": "#3f789e", + "flags": {} + } + ], + "config": {}, + "extra": { + "ue_links": [], + "ds": { + "scale": 0.7972024500000179, + "offset": [ + 3057.0551375644145, + -8000.440049934644 + ] + }, + "links_added_by_ue": [], + "frontendVersion": "1.45.19", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file