Generate Image with API

Generate and edit images and variations

The Generate Image with AI step allows you to create, edit, or generate variations of images directly within your AirOps workflows.

Generate Image

AirOps offers 6 AI models at this time:

  1. DALL·E 3

  2. DALL·E 2

  3. Stable Diffusion 3.5 Large

  4. Stable Diffusion 3.5 Large Turbo

  5. Stable Image Ultra

  6. Stable Image Core

Edit Images

The Image Generation Step also allows you to edit images. To do this, you must have an input in the form of either:

  1. A publicly accessible URL with a .png endpoint

Additionally, you must provide a similar input for an Image Mask URL (an image of the same size, with fully transparent areas to mark where the image should be edited).

Editing images is currently only supported with DALL·E 2.

Generate Variations

As a third option, the Image Generation Step allows you to generate variations of an existing image. Similar to editing an image, you are required to have an input in the form of either:

  1. A publicly accessible URL with a .png endpoint

Generating variations is currently only supported with DALL·E 2.

If you choose to generate multiple images, the output will be surfaced in a JSON format with the accessible URL's for each distinctly generated image.

Last updated

Was this helpful?