{
  "pricing": {
    "unit": "credit",
    "formula": "Most tools cost a fixed number of credits per run. Walkthrough videos are priced by length (and, for several photos, by how many). Bulk Staging and Bulk Unstaging are priced per photo, and En Masse per reference (one image each).",
    "example": "3 walls runs at 1 each and 1 editor run at 3 = 6 credits. If one walls run fails it is refunded, so you pay 5.",
    "rules": [
      "Each tool is priced exactly as on the website, from the same price table and rules.",
      "Most tools take their credits when the run starts. If the run fails, the credits are refunded automatically and the job shows credits.refunded = true.",
      "Bulk Staging and Bulk Unstaging take credits photo by photo, as each photo starts, and give back the credits of any photo that fails. job.credits shows what was taken (charged) and given back (refunded_credits).",
      "En Masse takes its credits only once its results are ready, so a run that fails costs nothing.",
      "Free: requests rejected before running (invalid inputs, the image check, the misuse check, too many running jobs), uploads, option lists, help, and checking job status as often as you like.",
      "A run you push past the image check with \"override_check\": true is charged like any other run.",
      "Credits come from your account balance: your plan's credits plus any credit packs. API and website use the same balance."
    ],
    "tools": [
      {
        "id": "walls",
        "name": "Wall Paint",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/walls/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "flooring",
        "name": "Flooring",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/flooring/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "material",
        "name": "Material",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/material/help",
        "rule": {
          "type": "per_run",
          "credits": 2
        },
        "credits_per_run": 2
      },
      {
        "id": "furniture",
        "name": "Object Placement",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/furniture/help",
        "rule": {
          "type": "per_run",
          "credits": 2
        },
        "credits_per_run": 2
      },
      {
        "id": "lighting",
        "name": "Time of Day",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/lighting/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "weather",
        "name": "Weather",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/weather/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "stage",
        "name": "Stage",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/stage/help",
        "rule": {
          "type": "per_run",
          "credits": 2
        },
        "credits_per_run": 2
      },
      {
        "id": "unstage",
        "name": "Unstage",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/unstage/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "pov",
        "name": "POV",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/pov/help",
        "rule": {
          "type": "per_run",
          "credits": 2
        },
        "credits_per_run": 2
      },
      {
        "id": "editor",
        "name": "AI Annotate",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/editor/help",
        "rule": {
          "type": "per_run",
          "credits": 3
        },
        "credits_per_run": 3
      },
      {
        "id": "dollhouse",
        "name": "Floor Plan to Dollhouse",
        "output": "image",
        "help": "https://app.housekraft.co/api/v1/tools/dollhouse/help",
        "rule": {
          "type": "per_run",
          "credits": 1
        },
        "credits_per_run": 1
      },
      {
        "id": "panorama",
        "name": "360° Panorama",
        "output": "panorama",
        "help": "https://app.housekraft.co/api/v1/tools/panorama/help",
        "rule": {
          "type": "per_run",
          "credits": 3,
          "note": "the same however many photos are given"
        },
        "credits_per_run": 3
      },
      {
        "id": "walkthrough",
        "name": "Walkthrough Video",
        "output": "video",
        "help": "https://app.housekraft.co/api/v1/tools/walkthrough/help",
        "rule": {
          "type": "per_second",
          "explained": "10 credits for 6 seconds, scaled in proportion and rounded to a whole credit (at least 1).",
          "credits_by_seconds": {
            "1": 2,
            "2": 3,
            "3": 5,
            "4": 7,
            "5": 8,
            "6": 10,
            "7": 12,
            "8": 13,
            "9": 15,
            "10": 17,
            "11": 18,
            "12": 20,
            "13": 22,
            "14": 23,
            "15": 25
          }
        },
        "credits_for_default": 10
      },
      {
        "id": "walkthrough_multi",
        "name": "Walkthrough Video (multiple photos)",
        "output": "video",
        "help": "https://app.housekraft.co/api/v1/tools/walkthrough_multi/help",
        "rule": {
          "type": "per_second_and_photo",
          "explained": "3 × ($0.08 per second + $0.01 per photo), rounded up to a whole credit.",
          "examples": [
            {
              "seconds": 4,
              "photos": 1,
              "credits": 1
            },
            {
              "seconds": 4,
              "photos": 3,
              "credits": 2
            },
            {
              "seconds": 4,
              "photos": 5,
              "credits": 2
            },
            {
              "seconds": 4,
              "photos": 7,
              "credits": 2
            },
            {
              "seconds": 6,
              "photos": 1,
              "credits": 2
            },
            {
              "seconds": 6,
              "photos": 3,
              "credits": 2
            },
            {
              "seconds": 6,
              "photos": 5,
              "credits": 2
            },
            {
              "seconds": 6,
              "photos": 7,
              "credits": 2
            },
            {
              "seconds": 10,
              "photos": 1,
              "credits": 3
            },
            {
              "seconds": 10,
              "photos": 3,
              "credits": 3
            },
            {
              "seconds": 10,
              "photos": 5,
              "credits": 3
            },
            {
              "seconds": 10,
              "photos": 7,
              "credits": 3
            },
            {
              "seconds": 15,
              "photos": 1,
              "credits": 4
            },
            {
              "seconds": 15,
              "photos": 3,
              "credits": 4
            },
            {
              "seconds": 15,
              "photos": 5,
              "credits": 4
            },
            {
              "seconds": 15,
              "photos": 7,
              "credits": 4
            }
          ]
        },
        "credits_for_default": 2
      },
      {
        "id": "bulk_stage",
        "name": "Bulk Staging",
        "output": "images",
        "help": "https://app.housekraft.co/api/v1/tools/bulk_stage/help",
        "rule": {
          "type": "per_photo",
          "credits_per_photo": 2,
          "explained": "2 credits for each photo, taken as that photo starts. A photo that fails is refunded, so you pay only for the results you get.",
          "examples": [
            {
              "photos": 1,
              "credits": 2
            },
            {
              "photos": 10,
              "credits": 20
            },
            {
              "photos": 25,
              "credits": 50
            },
            {
              "photos": 50,
              "credits": 100
            }
          ]
        },
        "credits_for_default": 2
      },
      {
        "id": "bulk_unstage",
        "name": "Bulk Unstaging",
        "output": "images",
        "help": "https://app.housekraft.co/api/v1/tools/bulk_unstage/help",
        "rule": {
          "type": "per_photo",
          "credits_per_photo": 1,
          "explained": "1 credit for each photo, taken as that photo starts. A photo that fails is refunded, so you pay only for the results you get.",
          "examples": [
            {
              "photos": 1,
              "credits": 1
            },
            {
              "photos": 10,
              "credits": 10
            },
            {
              "photos": 25,
              "credits": 25
            },
            {
              "photos": 50,
              "credits": 50
            }
          ]
        },
        "credits_for_default": 1
      },
      {
        "id": "enmasse",
        "name": "En Masse",
        "output": "images",
        "help": "https://app.housekraft.co/api/v1/tools/enmasse/help",
        "rule": {
          "type": "per_reference",
          "credits_per_reference": 1,
          "explained": "1 credit for each reference: each one comes back as one image, so 5 wall colours + 6 floors + 7 themes is 18 images. Taken once the results are ready; a run that fails costs nothing.",
          "examples": [
            {
              "references": "5 wall colours",
              "credits": 5
            },
            {
              "references": "3 wall colours + 2 floors",
              "credits": 5
            },
            {
              "references": "5 wall colours + 6 floors + 7 themes",
              "credits": 18
            }
          ]
        },
        "credits_for_default": 1
      }
    ],
    "buy_credits": "https://app.housekraft.co/pricing",
    "check_balance": "https://app.housekraft.co/api/v1/account"
  }
}
