Skip to content

Commit

Permalink
Remove ContentCredentials from API
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Kennedy committed Aug 14, 2023
1 parent 33f2c08 commit 5dab089
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/proto/generation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -242,16 +242,6 @@ message T2IAdapterParameter {
T2IAdapterInit adapter_init_type = 3;
}

message ContentCredentialsParameters {
enum ModelMetadata {
MODEL_METADATA_UNSPECIFIED = 0;
MODEL_METADATA_SIGN_WITH_ENGINE_ID = 1;
}
oneof parameters {
ModelMetadata model_metadata = 1;
}
}

// FineTuningParameters specify which fine-tuned models to use for generation.
message FineTuningParameters {
// The id of the fine-tuned model to generate content from.
Expand All @@ -277,8 +267,7 @@ message ImageParameters {
optional bool quantize = 10; //defaults to true
optional T2IAdapterParameter adapter = 12;
repeated FineTuningParameters fine_tuning_parameters = 13;
optional ContentCredentialsParameters content_credentials_parameters = 14; // Set field to have image signed by C2PA
reserved 11;
reserved 11, 14;
// next available tag: 15
}

Expand Down

0 comments on commit 5dab089

Please sign in to comment.