@musallam/firefly-client
    Preparing search index...

    Interface ExpandImageRequestV3

    interface ExpandImageRequestV3 {
        image: InputImageV3;
        mask?: InputMaskV3;
        numVariations?: number;
        placement?: Placement;
        prompt?: string;
        seeds?: number[];
        size?: Size;
    }
    Index

    Properties

    The image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request:

    • amazonaws.com
    • windows.net
    • dropboxusercontent.com
    • storage.googleapis.com
    .

    Mask image which will be used to expand the given image.

    numVariations?: number

    Generate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds. 1 4

    placement?: Placement

    The position of the source image after Firefly resizes it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image.

    prompt?: string

    An optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs. 1 1024

    seeds?: number[]

    Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations, the number of seeds must equal numVariations. 1 4

    size?: Size

    The desired width and height for the final expanded image in pixels. The maximum size for the output images is 3999px by 3999px.