BeYourCover · Schema

Job

CompanyArtificial IntelligenceBook CoverDesignPublishing

Properties

Name Type Description
jobId string
status string
operation string
source string `api`: started through this API or the MCP server. `web`: recorded by the web app when a workspace member spent credits there; its output stays in the app.
external_ref stringnull
credits_used integernull Credits actually consumed (set on completion; partial failures reduce it and refund the difference).
created_at string
started_at stringnull
completed_at stringnull
result object Null until the job completes. Shape depends on `operation`: `generate`/`generate_reference` -> GenerateJobResult; `variation`/`edit_image` -> CoverOperationJobResult; `upscale`/`audiobook_cover`/`remo
error stringnull Failure message when status is `failed` (raw error_message string, not an error envelope).
actor_user_id stringnull The workspace member the job acted as: the key owner, or the member signed in over MCP OAuth. Null on jobs created before 2026-10-20.
View JSON Schema on GitHub

JSON Schema

beyourcover-com-job-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beyourcover-com/json-schema/beyourcover-com-job-schema.json",
  "title": "Job",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beyourcover-com-jobs-api-openapi.yml#/components/schemas/Job",
  "type": "object",
  "required": [
    "jobId",
    "status",
    "operation",
    "source",
    "external_ref",
    "credits_used",
    "created_at",
    "started_at",
    "completed_at",
    "result",
    "error"
  ],
  "properties": {
    "jobId": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "processing",
        "completed",
        "failed"
      ]
    },
    "operation": {
      "type": "string",
      "enum": [
        "generate",
        "variation",
        "edit_image",
        "upscale",
        "audiobook_cover",
        "remove_text",
        "generate_reference",
        "replace_person",
        "wrap",
        "wrap_extend_front",
        "import_cover",
        "generate_single",
        "edit_font",
        "convert_style",
        "layerize_text",
        "remove_text_variants",
        "audiobook_generate",
        "marketing_resource",
        "kit_regeneration",
        "brand_kit_extract",
        "series_next_book",
        "wrap_cover_generate",
        "wrap_cover_regenerate",
        "audiobook_upscale",
        "refine_cover",
        "wrap_back_cover_generate",
        "wrap_cover_export"
      ]
    },
    "source": {
      "type": "string",
      "enum": [
        "api",
        "web"
      ],
      "description": "`api`: started through this API or the MCP server. `web`: recorded by the web app when a workspace member spent credits there; its output stays in the app."
    },
    "external_ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "credits_used": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Credits actually consumed (set on completion; partial failures reduce it and refund the difference)."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "started_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "result": {
      "oneOf": [
        {
          "$ref": "#/$defs/GenerateJobResult"
        },
        {
          "$ref": "#/$defs/CoverOperationJobResult"
        },
        {
          "$ref": "#/$defs/AssetJobResult"
        },
        {
          "$ref": "#/$defs/WrapJobResult"
        },
        {
          "type": "null"
        }
      ],
      "description": "Null until the job completes. Shape depends on `operation`: `generate`/`generate_reference` -> GenerateJobResult; `variation`/`edit_image` -> CoverOperationJobResult; `upscale`/`audiobook_cover`/`remove_text` -> AssetJobResult; `wrap`/`wrap_extend_front` -> WrapJobResult. On each poll of a completed job, signed URLs and their `expiresAt` are refreshed. Always null for a `web` job."
    },
    "error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Failure message when status is `failed` (raw error_message string, not an error envelope)."
    },
    "actor_user_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The workspace member the job acted as: the key owner, or the member signed in over MCP OAuth. Null on jobs created before 2026-10-20."
    }
  },
  "$defs": {
    "AssetJobResult": {
      "type": "object",
      "required": [
        "covers"
      ],
      "properties": {
        "covers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoverAssetResult"
          }
        }
      },
      "description": "Result payload for `upscale` and `audiobook_cover` jobs. The new asset is attached to the SAME cover (coverId is the source cover's public id)."
    },
    "CoverAssetResult": {
      "type": "object",
      "required": [
        "coverId",
        "asset",
        "signedUrl",
        "expiresAt"
      ],
      "properties": {
        "coverId": {
          "type": "string",
          "format": "uuid",
          "description": "Public id of the (source) cover the asset belongs to."
        },
        "asset": {
          "type": "string",
          "enum": [
            "full",
            "audiobook_preview",
            "audiobook_full",
            "no_text",
            "no_text_full"
          ],
          "description": "Which asset was produced: `full` (upscale of preview), `audiobook_full` (upscale of audiobook_preview), `audiobook_preview` (audiobook_cover jobs), `no_text` (remove_text jobs), or `no_text_full` (upscale of no_text)."
        },
        "signedUrl": {
          "type": "string",
          "format": "uri"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "CoverOperationJobResult": {
      "type": "object",
      "required": [
        "sourceCoverId",
        "covers"
      ],
      "properties": {
        "sourceCoverId": {
          "type": "string",
          "format": "uuid",
          "description": "Public id of the cover the operation was applied to."
        },
        "covers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GeneratedCover"
          }
        },
        "failed_models": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "`replace_person` only: the models of the pair that made no version. The job still succeeds, and keeps its credit, when one model made a version."
        }
      },
      "description": "Result payload for `variation`, `edit_image` and `replace_person` jobs. Each entry is a NEW child cover. A `replace_person` job returns up to two covers, one per model, and names each model in `model`."
    },
    "GenerateJobResult": {
      "type": "object",
      "required": [
        "bookId",
        "covers"
      ],
      "properties": {
        "bookId": {
          "type": "string",
          "format": "uuid"
        },
        "covers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GeneratedCover"
          }
        }
      },
      "description": "Result payload for `generate` jobs. Only successfully generated covers are included; `credits_used` reflects the successful count."
    },
    "GeneratedCover": {
      "type": "object",
      "required": [
        "coverId",
        "signedUrl",
        "expiresAt"
      ],
      "properties": {
        "coverId": {
          "type": "string",
          "format": "uuid",
          "description": "Public id of the cover. Use with the /api/v1/covers/{coverId} endpoints."
        },
        "signedUrl": {
          "type": "string",
          "format": "uri",
          "description": "Time-limited signed URL for the preview image (1 hour)."
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "coverStyle": {
          "type": "string",
          "description": "Template/style id used to render the cover (e.g. a V2 template id)."
        },
        "prompt": {
          "type": "string",
          "description": "The generation prompt stored for this cover."
        },
        "model": {
          "type": "string",
          "description": "`replace_person` only: the image model that made this version."
        }
      }
    },
    "WrapAsset": {
      "type": "object",
      "required": [
        "signedUrl",
        "expiresAt"
      ],
      "properties": {
        "signedUrl": {
          "type": "string",
          "format": "uri"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "WrapAssets": {
      "type": "object",
      "description": "Renditions of one wrap design. Re-signed on every poll/read.",
      "properties": {
        "wrap_preview": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "1024px-wide JPEG for on-screen review."
        },
        "wrap_flat": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "Full-resolution composited JPEG at 300 DPI."
        },
        "wrap_pdf": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "Print-ready PDF sized to fullWidth x fullHeight inches — the file you upload to KDP. The link is signed with `Content-Disposition: attachment`, so a browser saves the file (named like `wrap_cover_paperback_6x9_300pp_white_3820919b_1760000000000.pdf`, as the editor's PDF export names it) instead of opening it in a tab."
        },
        "back_art": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "The generated back-cover artwork alone, without text. Present on GET /api/v1/wraps/{wrapId}."
        }
      }
    },
    "WrapDimensions": {
      "type": "object",
      "description": "Print geometry at 300 DPI. All inch values are the finished canvas including bleed.",
      "properties": {
        "spineWidth": {
          "type": "number",
          "description": "Spine width in inches: derived from pageCount and paperType on a KDP wrap, entered by hand on a Barnes & Noble design from the editor."
        },
        "fullWidth": {
          "type": "number",
          "description": "Full wrap width in inches (back + spine + front + bleed)."
        },
        "fullHeight": {
          "type": "number",
          "description": "Full wrap height in inches (trim height + bleed)."
        },
        "pixelWidth": {
          "type": "integer",
          "description": "fullWidth x dpi, rounded."
        },
        "pixelHeight": {
          "type": "integer",
          "description": "fullHeight x dpi, rounded."
        },
        "dpi": {
          "type": "integer",
          "description": "Always 300."
        },
        "bleed": {
          "type": "number",
          "description": "Bleed in inches per edge (0 for hardcover printed case)."
        },
        "safeTextMargin": {
          "type": "number",
          "description": "Minimum inches between text and the trim edge."
        },
        "minFontSize": {
          "type": "number",
          "description": "Smallest point size the layout engine will emit."
        },
        "canHaveSpineText": {
          "type": "boolean",
          "description": "False when the spine is too thin for lettering (under 79 pages on KDP); spine text is dropped with a warning."
        },
        "barcodeZone": {
          "type": "object",
          "description": "Rectangle in inches, relative to the BACK COVER origin, that the printer covers with the barcode. The layout engine keeps text out of it.",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number"
            },
            "height": {
              "type": "number"
            }
          }
        },
        "sections": {
          "type": "object",
          "description": "Panel boundaries in inches from the left edge of the full wrap.",
          "additionalProperties": {
            "type": "number"
          }
        },
        "bindingType": {
          "type": "string",
          "enum": [
            "paperback",
            "hardcover",
            "dust-jacket"
          ],
          "description": "`dust-jacket` (with flaps) appears only on Barnes & Noble designs made in the browser editor."
        }
      }
    },
    "WrapJobResult": {
      "type": "object",
      "description": "Result payload for a `wrap` or `wrap_extend_front` job. Unlike cover operations this carries an `assets` map, not a `covers` array — a wrap is several renditions of ONE design. For `wrap_extend_front`, `designStyle` and `preset` are omitted (the wrap's stored layout is reused).",
      "required": [
        "wrapId",
        "assets"
      ],
      "properties": {
        "wrapId": {
          "type": "string",
          "format": "uuid",
          "description": "Pass to GET /api/v1/wraps/{wrapId} and the render endpoint."
        },
        "bookId": {
          "type": "string",
          "format": "uuid"
        },
        "coverId": {
          "type": "string",
          "format": "uuid",
          "description": "Public id of the cover used as the front panel."
        },
        "designStyle": {
          "type": "string",
          "enum": [
            "solid",
            "textured",
            "continuation",
            "complementary"
          ]
        },
        "preset": {
          "type": "string",
          "enum": [
            "standard",
            "blurb-only",
            "minimal"
          ]
        },
        "dims": {
          "$ref": "#/$defs/WrapDimensions"
        },
        "layout_report": {
          "$ref": "#/$defs/WrapLayoutReport"
        },
        "warnings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WrapWarning"
          }
        },
        "assets": {
          "$ref": "#/$defs/WrapAssets"
        }
      }
    },
    "WrapLayoutReport": {
      "type": "object",
      "description": "What the compositor actually drew, after auto-fit and guardrails.",
      "properties": {
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "dpi": {
          "type": "integer"
        },
        "blocks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "fontSize": {
                "type": "number",
                "description": "Point size after auto-fit, which may be smaller than requested."
              },
              "heightPx": {
                "type": "integer"
              },
              "overflowsPanel": {
                "type": "boolean"
              }
            }
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WrapWarning"
          }
        }
      }
    },
    "WrapWarning": {
      "type": "object",
      "description": "A layout adjustment the engine made, or a limitation of the finished wrap. Warnings never fail a job — they tell you what a human at the editor would have seen and fixed.",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "text_too_long_for_band",
            "text_too_long_for_block",
            "preset_not_applied",
            "text_overflows_panel",
            "clamped_to_safe_area",
            "moved_clear_of_barcode",
            "barcode_zone_unavoidable",
            "font_size_raised_to_minimum",
            "spine_too_thin_for_text",
            "italic_not_available",
            "bold_not_available",
            "image_block_not_rendered",
            "spine_image_not_allowed",
            "front_outpaint_trimmed",
            "front_outpaint_incomplete",
            "low_text_contrast",
            "back_converted_to_solid"
          ]
        },
        "blockId": {
          "type": "string",
          "description": "The text or image block the warning applies to, when it is block-specific."
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/beyourcover-com-job"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.