Skip to main content
Version: 1.3.0

Generate image asset

POST 

/v1/style-dna/generate

Generate image asset

Request

Body

required

    visualPrompt stringrequired
    anchorImageUrl stringrequired
    description stringrequired
    aspectRatio string

    Has effect only if image Guidance is set to low. Can not be used at the same time with width and height provide only aspect ratio or image size.

    width number

    Possible values: >= 512 and <= 2048

    Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,763,584 pixels.

    height number

    Possible values: >= 512 and <= 2048

    Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,763,584 pixels.

    imageFormat string

    Possible values: [png, webp]

    Default value: png

    Specify the format of the output image: png or webp

Responses

Generated image response

Schema

    imageUrl stringrequired
    expiresAt date-timerequired
    creditsUsed numberrequired
Loading...