Skip to main content

Image Expander API

spicyapi/image-expander-v1/edit

Image Expander extends a photo to a new aspect ratio and paints matching scenery into the empty space, so it reads as one image. Choose 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 or 2:3; the output is 1536 pixels on its long edge as PNG, JPEG or WebP.

From $0.024/image

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • No sample yet
    serum-square-canvas

    A tall product shot widened into a square tile for a marketplace grid. The plain backdrop and tabletop are easy to continue, which is the ideal case for this tool.

    • 1:1
    • png
  • No sample yet
    portrait-wide-frame

    A tight vertical portrait turned into a 16:9 frame, the shape of a video cover or a website header. Check where the shoulders meet the new area, since that is the part the tool has to invent.

    • 16:9
    • png

This example starts at $0.024 per image. The Playground updates the estimate when you change the settings.