Skip to content

Scumble 0.1.37: Boxes for FLUX 3, Ideogram 4.5

Choose a tag to compare

@github-actions github-actions released this 02 Oct 19:42
· 1173 commits to main since this release
  • FLUX 3 Image: boxes in the prompt, behind one switch. A switch Boxes in a row of its own under the prompt
    field decides whether a run sends bounding boxes in the prompt, in the form the model's documentation describes. It
    shows while the selected recipe takes boxes and counts the document's boxes ("Boxes · 3"). On, Generate and
    Generate new send the document's boxes; with none, Generate sends your selection as one box: the model is told
    where in the crop the change goes and what to put there (your prompt), or, when the prompt names a reference with
    @img1, that this reference goes into the box. Off, no box goes and the boxes stay with the document; the status
    line says how many did not go. The switch is off in a new document and is saved with it; the first box you draw or
    add turns it on, and the status line says so. Switching it off never deletes a box. The status line says "Sent
    with 1 box.", the log keeps the prompt as it went out, and a very small selection gets a note, since the model
    often leaves a box under about 40 pixels empty. Agents switch it with set_generation (boxes), and status
    reports it. Tried live before the release, five edits at 1k: with the selection as a box a cat sat in the middle
    of the box (without, at the selection's edge, where Paste would have cut it), a From reference box put a wall clock
    from a reference layer exactly into its box, and a Remove box took out a street lamp and its glow. The model fills a
    box: draw it at the size the thing should have.
  • Plugins can supply boxes for the prompt. Plugin API 3 adds scumble.generate.register({ id, boxes(doc, ctx), count(doc) }): a plugin answers boxes in image pixels (new, keep, move, remove, or a reference layer placed) for a
    Generate or Generate new run of a recipe that takes boxes while the Boxes switch is on, and Scumble maps them into
    the crop, numbers duplicate ids, writes the model's rows and sends them with the prompt. The optional count(doc)
    says how many boxes the plugin holds for the document: the switch counts them, and the selection goes as a box only
    when no plugin holds one. A box outside the crop is left out with a note; a box that names a reference layer the
    run does not send stops the run before anything is sent. The generate and generate_new commands answer boxes,
    how many went. The sample plugin shows a source (sample.box switches it on).
  • Boxes: a panel for the boxes of a document. A new section Boxes in the Generate pane (a built-in plugin) keeps
    boxes with the document: for each one its name, what it does (New adds what the description says in the box, Keep
    holds an element where it is, Move takes it from a source box to a new one, Remove takes it out, From reference
    places a reference layer or a part of it, Text renders words), the description and the position in image pixels.
    Selection → box takes the selection's bounds (a From box when the prompt names a reference with @img1), Clear
    removes them, Copy rows puts the model's rows on the clipboard for another tool. The boxes go out with Generate
    and Generate new runs of a recipe that takes them (FLUX 3 Image) while the Boxes switch is on and stay with the
    document otherwise, and the section says which is the case; they are saved in the .scumble file, follow a crop, a
    turn or a resize of the picture, and every change is one undo step. Agents and scripts have boxes_add,
    boxes_set, boxes_remove, boxes_list (which also says whether the switch is on), boxes_from_selection and
    boxes_clear; the assistant adds and changes boxes by itself and asks before it removes one or clears them.
  • Boxes: draw them on the canvas. The Boxes tool (X, under Plugins in the tool column) draws a box with a drag
    on the picture; a click selects one (its row in the panel lights up, and a click on a row selects its box), a drag
    moves it, the eight handles resize it. Delete removes the selected box, D duplicates it, the arrow keys nudge it by
    a pixel (Shift: ten), Escape lets go of it, and Alt+click picks a box that lies under another. A Move box's source
    and a From box's part get handles of their own once the box is selected. Each gesture is one undo step. The boxes
    show on the picture in their kind's colour (New green, Keep grey, Move blue with an arrow from its source, Remove
    red and hatched, From reference violet with the reference's name) with their name and the first words of their
    description, while the tool is active or the Boxes section is open; while the Boxes switch is off they are drawn
    dashed and paler.
  • Boxes: the crop on the canvas, and what it does to them. While the Boxes tool is active and something is
    selected, the picture outside the crop Generate would send is dimmed, its size under the crop's edge (the crop as
    the run plans it, the model's shapes and sizes included). While the Boxes switch is on, the Boxes section warns of a
    box the crop leaves out, one whose edge it cuts, and one that changes the picture outside the selection while
    Paste keeps the selection only, which would cut the result there; Paste the whole crop in that warning switches
    Paste for the document.
  • Boxes: the prompt says where each box goes. A run with boxes now writes a sentence per box into the prompt with
    its description and its place in words ("Place a red scarf <red_scarf_1> at the top left.", "Move the lamp
    <old_lamp_1> up and to the left, larger."); a description written as an instruction goes in as it is. Your prompt
    goes first, word for word; the selection's box, described by the prompt, only says where the change goes. With an
    empty prompt, or the selection's box, the sentences end with "Leave the rest of the picture as it is.". Copy rows
    writes the same text.
  • Boxes are named after their description. A box keeps its default name (box_1) only until it is described: then
    it is called after the description's first two telling words (red_scarf_1), and the selection's box after the
    prompt. A name of your own (not box_1, edit_2 and the like) stays, and so does one your prompt uses. Names may now
    hold several words (red_scarf_1).
  • Boxes: warnings before a run, and a tool that takes the box you point at. The Boxes section warns of a New box
    without a description and of a box too small for the model to place anything in; a run notes both. A click with the
    Boxes tool takes the smallest box under the pointer, so a box inside another is picked directly. A box turned into
    Move keeps its place as the source and its target steps aside, so the two can be told apart.
  • Plugins get a crop event when an app setting the crop of a run depends on changes (a node parameter, the API
    size), and scumble.host.cropFrame(editor) says what that crop is.
  • Ideogram 4.5, a new recipe on your Replicate token, your WaveSpeed key or Comfy Router (your Comfy key, billed
    in Comfy credits). Ideogram's precise edit model changes the selected area and leaves the rest of the crop as it
    was, pixel for pixel, at the crop's own size, and is strong at lettering. Your selection goes as the model's mask; a
    selection over the whole crop lets it edit the whole crop. Up to three more pictures go along (the Original and your
    reference layers); the model takes them without a number, so the prompt cannot name them with @img1. A very narrow
    selection is sent with more of its surroundings, since the model takes no picture steeper than 6:1. Generate new
    makes a picture from the prompt at the closest of seven shapes on Replicate and WaveSpeed. The Settings panel has
    Quality (very_low, low, medium, high; medium by default), which is also the price per picture: $0.008, $0.03,
    $0.06 or $0.22 for an edit on Replicate and WaveSpeed, $0.03 to $0.10 for a new picture on Replicate, $0.03 to $0.22
    on WaveSpeed (very_low goes as low there). On WaveSpeed the Settings panel also has Edit precision (high by
    default, which keeps the unchanged pixels), a new picture comes in one of seven shapes at 1k or 2k by the size you
    ask for, your prompt goes as written, and no seed goes, so two runs differ. On Comfy Router a new picture comes at
    the closest of Ideogram's 1K or 2K sizes by the size you ask for, your prompt goes as written, and very_low goes as
    low; Comfy had not published the price. Written from Replicate's, WaveSpeed's and Comfy Router's documentation and
    not run against the live services yet.