Free Intro Class
    Botspot Logo

    agenthub · image.edit

    Edit Image

    Image-to-image editing: an existing image plus a prompt, out comes an edited one. It chains straight after Generate Image.

    category Imagein image · promptout image · images · usageexecution asyncmodel cost model tokens

    Why the node earns its place

    The same capability as generation — the adapter branches to its edit path when an input image is present — so it bills identically and needs no separate pricing. It exists as its own node because the required inputs differ: editing without an image is meaningless, and making the port required is what stops that misconfiguration reaching a provider.

    How it works at run time

    1. 1
      Take the required image and prompt.
    2. 2
      Call the image capability with both; the adapter routes to editing.
    3. 3
      Return the edited image, the full array, and usage.

    What you wire

    Inputs

    • image *
      string
    • prompt *
      string

    Outputs

    • image
      string
    • images
      array
    • usage
      object

    Configuration

    KeyTypeDefault & optionsWhat it does
    provider *stringchoices from model-library:providersProvider of the image model (e.g. google)
    model *stringchoices from model-library:image_modelsImage model to edit with

    What usually goes wrong

    Watch for this

    Wire the image output of a Generate Image node straight into this node's image input — that is the intended chain. If you only want variations of a prompt, use Generate Image with a higher count instead; it is one call rather than two.

    Behaviour & provenance

    buildersImage workflows
    routesno
    side effectsnone — computes only
    replay safetynot applicable
    talks toa model
    holdsworkspace runtime token