INSANE ComfyUI Node writes new Nodes with AI (and Local LLMs)

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 28

  • @JustArtsCreations
    @JustArtsCreations 3 месяца назад

    Well this is a wonderful video. Thanks!

  • @authorkevin
    @authorkevin 6 месяцев назад +2

    How do i prompt Any Node to load the IPAdapter model?

    • @LKEngine
      @LKEngine  6 месяцев назад

      In this case you should just load the ipadapter. AnyNode doesnt spawn other nodes.... yet ^_^

  • @brewjitsu429
    @brewjitsu429 6 месяцев назад

    I wonder if you could use this for automatic astrophotography image processing.

  • @RamonGuthrie
    @RamonGuthrie 6 месяцев назад +2

    Hey great work does this work with LM Studio?

    • @LKEngine
      @LKEngine  6 месяцев назад

      It will work with any API that has an OpenAI-compatible ChatCompletions endpoint. So that seems like a yes. Just use the Local LLM AnyNode and you can point it.

  • @Nix0npolska
    @Nix0npolska 6 месяцев назад

    I cannot establish a connection to my local instance of ollama (on docker). I have a custom server url (managed by traefik). I have no Idea how to fill this inputs on AnyNode (especially API key and server). I am not exactly a technical person.
    Here is the error I get for debugging:
    Last Error: None
    Generating Node function...
    INPUT 30
    LE: None
    Imports in code: []
    Stored script:
    An error occurred: API request failed with status code 405: {"detail":"Method Not Allowed"}
    An error occurred:
    Traceback (most recent call last):
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\anynode
    odes\any.py", line 221, in safe_exec
    exec(code_string, globals_dict, locals_dict)
    File "", line 1
    An error occurred: API request failed with status code 405: {"detail":"Method Not Allowed"}
    ^^^^^
    SyntaxError: invalid syntax
    !!! Exception during processing!!! invalid syntax (, line 1)
    Traceback (most recent call last):
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\anynode
    odes\any.py", line 260, in go
    raise e
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\anynode
    odes\any.py", line 252, in go
    self.safe_exec(self.script, globals_dict, locals_dict)
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\anynode
    odes\any.py", line 225, in safe_exec
    raise e
    File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\anynode
    odes\any.py", line 221, in safe_exec
    exec(code_string, globals_dict, locals_dict)
    File "", line 1
    An error occurred: API request failed with status code 405: {"detail":"Method Not Allowed"}
    ^^^^^
    SyntaxError: invalid syntax

    • @LKEngine
      @LKEngine  6 месяцев назад

      Come on in to the discord if you will: discord.gg/f9HhNQdV7h

    • @LKEngine
      @LKEngine  6 месяцев назад

      For ollama, api key is the same as I have it by default... and server should be localhost:1134 like default... When you start ollama with docker, what is the command you use?

  • @natecodesai
    @natecodesai 6 месяцев назад

    It's on Manager already!

  • @sergetheijspartner2005
    @sergetheijspartner2005 5 месяцев назад

    Those are pecan nuts, much tastier than walnuts

  • @unheilbargut
    @unheilbargut 2 месяца назад

    This would be very interesting, but you going off on tangents and jumping around in a mental maze, makes it really really hard to follow and grasp what you want to say. Maybe a skript for you videos would help. 🤔🤷 I will still subscribe in the hope that it was just the two videos I watched…

  • @albyt3403
    @albyt3403 6 месяцев назад

    0:00

  • @MilesBellas
    @MilesBellas 6 месяцев назад

    RAW output = possible?!

    • @LKEngine
      @LKEngine  6 месяцев назад

      The LLMs output is a function (if that is what you mean), but that function to output whatever you want. In the latest video there's a part where I just ask the AnyNode to `output -1.5` because I can't find a node that outputs negative floats, so I use it as a float variable output to pipe into my NormalMap AnyNode as a depth parameter.

  • @martinwhinnery
    @martinwhinnery 6 месяцев назад +1

    Fella this is insane.

  • @MilesBellas
    @MilesBellas 6 месяцев назад

    An offline LLM = best

  • @Joviex
    @Joviex 6 месяцев назад

    Except your sobel filter has color in it. so.... how useful are not correct outputs?

    • @LKEngine
      @LKEngine  6 месяцев назад +1

      I ask it to change it to be black and white and it does. I mean, correct/incorrect is up to you in how you further iterate on what it output. You can just ask in a different way and it will use the old code to change/refactor however you want

  • @AgustinCaniglia1992
    @AgustinCaniglia1992 6 месяцев назад

    Very interesting.

  • @Ai-dl2ut
    @Ai-dl2ut 5 месяцев назад

    thanks

  • @BlackMita
    @BlackMita 6 месяцев назад

    Oh my god.

  • @catalystzerova
    @catalystzerova 6 месяцев назад

    Oh my god

  • @yiluwididreaming6732
    @yiluwididreaming6732 6 месяцев назад

    ohhhkayyyyy......

  • @goodie2shoes
    @goodie2shoes 5 месяцев назад +1

    your video's are not very structured. You're making it up on the fly it seems. If you write a script beforehand and stick to it, your videos would have more views.

    • @DOCTOR-FLEX
      @DOCTOR-FLEX 5 месяцев назад

      If you believe you can do better, then make the videos yourself

    • @goodie2shoes
      @goodie2shoes 5 месяцев назад +1

      @@DOCTOR-FLEX I don't think I can do better. It was ment as constructive feedback.

  • @albyt3403
    @albyt3403 6 месяцев назад

    0:00