Cubric Studio - Flows

Draw It In

Draw It In paints something you draw directly onto your own photo into the scene, matching the light and casting a shadow.

What it needs

  • You give it: Your photo, a rough drawing on it, a caption.
  • You get: The drawn object rendered into the scene, lit and shadowed to match.

How to use it

Draw It In paints something you draw directly onto your own photo into the scene, matching the light and casting a shadow. Draw roughly where it goes and how big it is; the flow crops in around your drawing, so there is no minimum size. The caption names what you drew; the drawing supplies its placement and pose. Uses your model's own LoRAs if you have any installed for it. The card's History starts with your drawing on the photo, then the result, so you can go back to the sketch any time.

On the drawing step, draw or Erase what you drew, pick one of ten brush shapes (Hard Round first), and turn the mouse wheel to change the brush size. Undo (Ctrl+Z) takes back the last stroke and Clear wipes the drawing. The model sees your strokes on the photo only as a guide: the flow tells it to replace them completely, colour and outline included.

(2.2.8) There is no box to draw: the flow works out the area to repaint from your drawing, a little larger than it and with room below for the shadow. Everything outside that area stays as it was, and the result compares against your photo. A very long shadow, such as one from a low sun, can be cut off at the edge of that area.

It runs on FLUX.2 Klein 9B or FLUX.3 Klein (2.2.8), or on FLUX.2 Klein 9B (Cloud) once a DeepInfra key is saved: see Rendering on a cloud model. The cog wheel beside the model opens its LoRA panel; the cloud model takes no LoRAs.

Draw It In's Draw what you want to add step: a painted picture of a young woman sitting cross-legged on a sofa, with a rough orange cat shape drawn on the seat beside her, the brush tools below it, and What did you draw? reading A fluffy and cute orange cat
A rough cat shape where the cat sits, and a caption saying what it is. The drawing gives the placement and pose; the words give the subject.
Draw It In's Generate step after a run: FLUX.2 Klein 9B with its cog wheel, Cue, and Done, saved to your gallery; beside it the result, a fluffy orange cat now sitting on the sofa beside the woman, painted in the picture's style
The cat painted into the room, in the picture's own style and light.

Opening the Flow Library, installing a flow's models, Cue, Stop, where a flow runs and Reuse work the same for every flow: see Running a flow.