adobe-firefly-sdk
    Preparing search index...

    Type Alias ImageGenerateRequestV3

    ImageGenerateRequestV3

    type ImageGenerateRequestV3 = {
        aspectRatio?: AspectRatio;
        modelId?: FireflyModelId;
        modelSpecificPayload?: ModelSpecificPayloadV3;
        numVariations?: number;
        prompt: string;
        referenceBlobs?: ReferenceBlobV3[];
        seeds?: number[];
    }
    Index

    Properties

    aspectRatio?: AspectRatio

    The aspect ratio of the requested generations. This controls the size of the generated image.

    modelId?: FireflyModelId

    The specific model to use for image generation. Available options: 'firefly_image' for Firefly Image model.

    modelSpecificPayload?: ModelSpecificPayloadV3

    Additional model-specific parameters for controlling the generation process.

    numVariations?: number

    The number of variations

    The number of image variations to generate. Greater than 1 is not supported. Only one image per variation is allowed. For multiple variations, send separate requests.

    prompt: string

    The prompt

    The prompt used to generate the image. The longer the prompt, the better.

    referenceBlobs?: ReferenceBlobV3[]

    Reference blobs

    List of reference blobs that will be used as additional input for the generation process. Only one reference image is supported. Pre-signed URLs can be used from supported domains.

    seeds?: number[]

    The seeds for the generations

    The seed value to vary the image generation. Only one seed per variation is allowed. If specified alongside with numVariations, the number of seeds must be equal to numVariations.