addedOutput schema / properties / content_credentials
Added value: +{
+ "description": "The Content Credentials (a signed C2PA record of where the image came from) the file sent carried, or null when it carried none, and until the image has finished.",
+ "properties": {
+ "generative_ai": {
+ "description": "Whether they say generative AI made the image, as they state it; the signature is not checked.",
+ "type": "boolean"
+ },
+ "status": {
+ "description": "removed: the optimized copy no longer carries them. kept: the optimized copy is the file that was sent, unchanged.",
+ "enum": [
+ "removed",
+ "kept"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "generative_ai"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+}
addedOutput schema / properties / folder
Added value: +{
+ "description": "The folder it was sent with, which a zip puts it in. Null for an image on its own.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / responsive
Added value: +{
+ "description": "The responsive sizes (Pro), or null when none were asked for. list_images carries only their status.",
+ "properties": {
+ "download_url": {
+ "description": "A zip of every width, once ready. Works without a token for an hour. Not in list_images.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "files": {
+ "description": "Each width, narrowest first, once ready. Not in list_images.",
+ "items": {
+ "properties": {
+ "download_url": {
+ "description": "Works without a token for an hour.",
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "name": {
+ "description": "The name it downloads under, which html uses.",
+ "type": "string"
+ },
+ "size": {
+ "description": "Bytes.",
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "width",
+ "height",
+ "size",
+ "name",
+ "download_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "html": {
+ "description": "An <img srcset> naming the files, once ready. Not in list_images.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "pending: being made, a few seconds after the image is completed or already-optimized. ready: every width is made. failed: none was kept; compress it again with responsive_widths. skipped: an animation gets none.",
+ "enum": [
+ "pending",
+ "ready",
+ "failed",
+ "skipped"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+}
addedOutput schema / properties / settings / properties / responsive_widths
Added value: +{
+ "description": "The responsive widths asked for, or null.",
+ "items": {
+ "type": "integer"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+}
addedOutput schema / properties / settings / properties / size_limit
Added value: +{
+ "description": "The most the optimized copy may weigh, in KB of 1,000 bytes, or null.",
+ "type": [
+ "integer",
+ "null"
+ ]
+}
changedOutput schema / properties / settings / required
Previous value: -[
- "level",
- "format",
- "keep_metadata",
- "width",
- "height",
- "scale"
-]New value: +[
+ "level",
+ "format",
+ "keep_metadata",
+ "width",
+ "height",
+ "scale",
+ "size_limit",
+ "responsive_widths"
+]
addedOutput schema / properties / size_limit_status
Added value: +{
+ "description": "Against settings.size_limit: under, resized (made smaller in pixels to fit) or over. Null without a limit, and until the image has finished.",
+ "enum": [
+ "under",
+ "resized",
+ "over",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+}