Coder Social home page Coder Social logo

Comments (7)

fofr avatar fofr commented on July 18, 2024 1

Prompt is a good idea, I'll see if I can add that.

from cog-comfyui.

bertagknowles avatar bertagknowles commented on July 18, 2024 1

I think I'll try to pass the prompts as variable in json. Thanks.

from cog-comfyui.

fofr avatar fofr commented on July 18, 2024 1

SAM models are being added here:
#22

from cog-comfyui.

fofr avatar fofr commented on July 18, 2024

You can zip up your inputs and pass in as many as you want. Or you can use URLs in the JSON instead of file paths.

from cog-comfyui.

bertagknowles avatar bertagknowles commented on July 18, 2024

Thanks for the quick response. A variable positive prompt as api input will be very helpful. I am working on an application and i send two image files (source file and reference file) in base64 format through replicate api. I am aware about zip and url inputs. Can I add variables to the url inputs inside the json file? Will the input accept base64 format? Thanks.

from cog-comfyui.

fofr avatar fofr commented on July 18, 2024

The issue I'm seeing when looking into this is that both positive and negative prompts use CLIPTextEncode and look like this:

    "inputs": {
      "text": "some text",
      "clip": [
        "4",
        1
      ]
    },
    "class_type": "CLIPTextEncode",
    "_meta": {
      "title": "CLIP Text Encode (Prompt)"
    }
  },
  "7": {
    "inputs": {
      "text": "some other text",
      "clip": [
        "4",
        1
      ]
    },
    "class_type": "CLIPTextEncode",
    "_meta": {
      "title": "CLIP Text Encode (Prompt)"
    }
  },

I wouldn't know which of these to update automatically with a given prompt field.

from cog-comfyui.

bertagknowles avatar bertagknowles commented on July 18, 2024

Also can you please add SAM segmentation models. The base model will suffice. Thanks.

from cog-comfyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.