Stability-AI / api-interfaces

Interface definitions for API interactions between components
140 stars 78 forks source link

Add CAI Parameters to Image Parameters #83

Closed RichardKennedy1 closed 1 year ago

RichardKennedy1 commented 1 year ago

Stability should sign image artifacts using the C2PA tool if CAI Parameters are set in the request. This commit creates a new CAI Parameters message, which allows users to specify the type of information to attach as providence data. Currently the only option is to attach the engine id. This message can be optionally included in Image Parameters to get C2PA signing of the returned image artifacts.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information