File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,28 @@ const aiGatewayPlugin: IntegrationPlugin = {
119119 key : "imageModel" ,
120120 label : "Model" ,
121121 type : "select" ,
122- defaultValue : "google/imagen-4.0-generate" ,
122+ defaultValue : "google/imagen-4.0-generate-001 " ,
123123 options : [
124124 {
125- value : "google/imagen-4.0-generate" ,
126- label : "Imagen 4.0 (Google)" ,
125+ value : "google/imagen-4.0-generate-001" ,
126+ label : "Imagen 4" ,
127+ } ,
128+ {
129+ value : "google/imagen-4.0-fast-generate-001" ,
130+ label : "Imagen 4 Fast" ,
131+ } ,
132+ {
133+ value : "google/imagen-4.0-ultra-generate-001" ,
134+ label : "Imagen 4 Ultra" ,
135+ } ,
136+ {
137+ value : "bfl/flux-kontext-pro" ,
138+ label : "FLUX.1 Kontext Pro" ,
139+ } ,
140+ {
141+ value : "bfl/flux-kontext-max" ,
142+ label : "FLUX.1 Kontext Max" ,
127143 } ,
128- { value : "openai/dall-e-3" , label : "DALL-E 3 (OpenAI)" } ,
129- { value : "openai/dall-e-2" , label : "DALL-E 2 (OpenAI)" } ,
130144 ] ,
131145 } ,
132146 {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ async function stepHandler(
4040 } ;
4141 }
4242
43- const modelId = input . imageModel || "google/imagen-4.0-generate" ;
43+ const modelId = input . imageModel || "google/imagen-4.0-generate-001 " ;
4444 const promptText = input . imagePrompt || "" ;
4545
4646 if ( ! promptText || promptText . trim ( ) === "" ) {
You can’t perform that action at this time.
0 commit comments