Skip to content

v3.3.0

Latest

Choose a tag to compare

@philipws philipws released this 02 Jun 13:31
  • Initial support for Stability AI Stable Diffusion v3 (See below for example)

What's Changed

  • updated cli-lib-alpha to latest version by @domaws in #119

Full Changelog: v3.2.1...v3.3.0

SD3 Example

Note: Image configs have the option of using a text model to make the description first. This example uses the original Claude v2. It can be used without the text block completely, or another text model for this preprocess part.

{
 "id": {
   "S": "Default-Example-Image-02"
 },
 "default": {
   "BOOL": true
 },
 "image": {
   "M": {
     "modelId": {
       "S": "stability.sd3-5-large-v1:0"
     },
     "parameters": {
       "M": {
         "mode": {
           "S": "text-to-image"
         },
         "aspect_ratio": {
           "S": "1:1"
         },
         "output_format": {
           "S": "jpeg"
         }
       }
     }
   }
 },
 "name": {
   "S": "Example Without People (Claude v2 & Stability Diffusion v3)"
 },
 "text": {
   "M": {
     "modelId": {
       "S": "anthropic.claude-v2"
     },
     "parameters": {
       "M": {
         "max_tokens_to_sample": {
           "N": "300"
         },
         "stop_sequences": {
           "L": [
             {
               "S": "Human:"
             }
           ]
         },
         "temperature": {
           "N": "1"
         },
         "top_k": {
           "N": "250"
         },
         "top_p": {
           "N": "0.999"
         }
       }
     },
     "prePrompt": {
       "S": "You're a prompt engineer, trying to design a prompt for Stable Diffusion, so it can generate a photographic image to illustrate the following text, showing no people in the image:"
     }
   }
 },
 "type": {
   "S": "image"
 }
}