adobe-firefly-sdk
    Preparing search index...

    Type Alias GenerateSimilarImagesRequestV3

    Generating similar images from a reference image

    type GenerateSimilarImagesRequestV3 = {
        image: BaseInputImageV3;
        numVariations?: number;
        seeds?: number[];
        size?: Size;
    }
    Index

    Properties

    Firefly will create similar variations. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains:

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

    numVariations?: number

    The number of variations

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

    seeds?: number[]

    The seed image for each variation

    Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations, the number of seeds must equal numVariations.

    size?: Size

    The size

    The desired width and height for the final image in pixels. The supported sizes for the output images are:

    • Square (1:1) - width 2048px, height 2048px
    • Square (1:1) - width 1024px, height 1024px
    • Landscape (4:3) - width 2304px, height 1792px
    • Portrait (3:4) - width 1792px, height 2304px
    • Widescreen (16:9) - width 2688px, height 1536px
    • (7:4) - width 1344px, height 768px
    • (9:7) - width 1152px, height 896px
    • (7:9) - width 896px, height 1152px
    .