File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ import "google/api/field_behavior.proto";
88// TextToImageInput represents the input of text to image task
99message TextToImageInput {
1010 // The prompt text
11- string prompt = 1 [ (google.api.field_behavior ) = OUTPUT_ONLY ];
12- // The steps
13- optional int64 steps = 2 [ (google.api.field_behavior ) = OUTPUT_ONLY ];
14- // The guidance scale
15- optional float cfg_scale = 3 [ (google.api.field_behavior ) = OUTPUT_ONLY ];
16- // The seed
17- optional int64 seed = 4 [ (google.api.field_behavior ) = OUTPUT_ONLY ];
11+ string prompt = 1 [ (google.api.field_behavior ) = REQUIRED ];
12+ // The steps, default is 5
13+ optional int64 steps = 2 [ (google.api.field_behavior ) = OPTIONAL ];
14+ // The guidance scale, default is 7.5
15+ optional float cfg_scale = 3 [ (google.api.field_behavior ) = OPTIONAL ];
16+ // The seed, default is 0
17+ optional int64 seed = 4 [ (google.api.field_behavior ) = OPTIONAL ];
18+ // The number of generated samples, default is 1
19+ optional int64 samples = 5 [(google.api.field_behavior ) = OPTIONAL ];
1820}
1921
2022// TextToImageOutput represents the output of text to image task
You can’t perform that action at this time.
0 commit comments