Scrub

Help/Images

Action

Generate an image

An image from a few words.

Open in ScrubAbout Generate an image

From your code: POST /v1/tools/generate_image, in the API reference.

What it makes. An image from a description, as a JPEG: upright, square, portrait or wide. It has no words in it unless you ask for them.

What you give it. A sentence or a few on what it shows and how it looks, in any language. Reference images are optional: up to three, to keep a person, a product, a place or a look, and the words say what to keep from them. An image made before can be one of them.

Settings worth knowing.

  • Model. Recommended is Scrub's pick for what the words ask; the others are listed by name, each priced on its own.
  • Aspect ratio. 9:16 upright, 1:1 square, 4:5 portrait, 16:9 wide.
  • Goes with. For a picture in a video, what the video is about, so the picture fits the line it goes with.

Writing a good description. Say the subject, where it is, the light and the camera: "a matte black water bottle on wet concrete, neon reflections, low angle, shallow depth of field".

What comes next. Animate an image to bring it to life; Make a loop for a loop that starts and ends on it.

Ask your AI. "Make a square product shot of this bottle on wet concrete at night, with neon light."

An example. Your own candle given as a reference image, and "this candle on a travertine shelf, morning sun through linen curtains, soft shadows, 4:5". The shot for the new scent's page, and the first frame of its launch clip.

Was this helpful? Tell us