@@ -57,6 +57,9 @@ message TuningJob { |
57 | 57 |
|
58 | 58 | // Tuning Spec for open sourced and third party Partner models. |
59 | 59 | PartnerModelTuningSpec partner_model_tuning_spec = 21; |
| 60 | + |
| 61 | + // Tuning Spec for Veo Tuning. |
| 62 | + VeoTuningSpec veo_tuning_spec = 33; |
60 | 63 | } |
61 | 64 |
|
62 | 65 | // Output only. Identifier. Resource name of a TuningJob. Format: |
@@ -577,6 +580,48 @@ message TunedModelRef { |
577 | 580 | } |
578 | 581 | } |
579 | 582 |
|
| 583 | +// Hyperparameters for Veo. |
| 584 | +message VeoHyperParameters { |
| 585 | + // An enum defining the tuning task used for Veo. |
| 586 | + enum TuningTask { |
| 587 | + // Default value. This value is unused. |
| 588 | + TUNING_TASK_UNSPECIFIED = 0; |
| 589 | + |
| 590 | + // Tuning task for image to video. |
| 591 | + TUNING_TASK_I2V = 1; |
| 592 | + |
| 593 | + // Tuning task for text to video. |
| 594 | + TUNING_TASK_T2V = 2; |
| 595 | + } |
| 596 | + |
| 597 | + // Optional. Number of complete passes the model makes over the entire |
| 598 | + // training dataset during training. |
| 599 | + int64 epoch_count = 1 [(google.api.field_behavior) = OPTIONAL]; |
| 600 | + |
| 601 | + // Optional. Multiplier for adjusting the default learning rate. |
| 602 | + double learning_rate_multiplier = 2 [(google.api.field_behavior) = OPTIONAL]; |
| 603 | + |
| 604 | + // Optional. The tuning task. Either I2V or T2V. |
| 605 | + TuningTask tuning_task = 3 [(google.api.field_behavior) = OPTIONAL]; |
| 606 | +} |
| 607 | + |
| 608 | +// Tuning Spec for Veo Model Tuning. |
| 609 | +message VeoTuningSpec { |
| 610 | + // Required. Training dataset used for tuning. The dataset can be specified as |
| 611 | + // either a Cloud Storage path to a JSONL file or as the resource name of a |
| 612 | + // Vertex Multimodal Dataset. |
| 613 | + string training_dataset_uri = 1 [(google.api.field_behavior) = REQUIRED]; |
| 614 | + |
| 615 | + // Optional. Validation dataset used for tuning. The dataset can be specified |
| 616 | + // as either a Cloud Storage path to a JSONL file or as the resource name of a |
| 617 | + // Vertex Multimodal Dataset. |
| 618 | + string validation_dataset_uri = 2 [(google.api.field_behavior) = OPTIONAL]; |
| 619 | + |
| 620 | + // Optional. Hyperparameters for Veo. |
| 621 | + VeoHyperParameters hyper_parameters = 3 |
| 622 | + [(google.api.field_behavior) = OPTIONAL]; |
| 623 | +} |
| 624 | + |
580 | 625 | // TunedModelCheckpoint for the Tuned Model of a Tuning Job. |
581 | 626 | message TunedModelCheckpoint { |
582 | 627 | // The ID of the checkpoint. |
|