← Files Perspective FixARCHIVED FILE

plugin.json

10.5 KB · Nov 17, 2026 · 00:13 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "perspective-fix",
  "version": "0.1.2",
  "description": "Rectify a photographed flat artwork/page region using explicit TL/TR/BR/BL source pixel corners and a chosen output width/height. Actual supplied pixels are projectively resampled into a PNG; an annotated source preview and exact transform JSON show the geometry used. Output dimensions are 64\u20132048 pixels per side. No curved-page/lens correction, missing-detail recovery or physical calibration. Wrong chosen ratio can stretch the subject; magnification adds pixels, not restored detail. Inputs: JPEG/PNG/WebP up to 20 MB and 16 megapixels. Requires a connected account; both derived previews/outputs are public.",
  "author": {
    "name": "Imagineers Studio Inc"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Perspective Fix",
        "shortDescription": "Rectify four planar corners",
        "longDescription": "Rectify a photographed flat artwork/page region using explicit TL/TR/BR/BL source pixel corners and a chosen output width/height. Actual supplied pixels are projectively resampled into a PNG; an annotated source preview and exact transform JSON show the geometry used. Output dimensions are 64\u20132048 pixels per side. No curved-page/lens correction, missing-detail recovery or physical calibration. Wrong chosen ratio can stretch the subject; magnification adds pixels, not restored detail. Inputs: JPEG/PNG/WebP up to 20 MB and 16 megapixels. Requires a connected account; both derived previews/outputs are public.",
        "developerName": "Imagineers Studio Inc",
        "category": "Creativity",
        "capabilities": [
          "Interactive",
          "Write"
        ],
        "defaultPrompt": [
          "Rectify this flat artwork using explicit corners and output dimensions."
        ],
        "privacyPolicyURL": "https://nebulacafe.studio/privacy",
        "termsOfServiceURL": "https://nebulacafe.studio/terms",
        "supportURL": "https://nebulacafe.studio/support",
        "logo": "./assets/icon.png",
        "composerIcon": "./assets/icon.png",
        "websiteURL": "https://nebulacafe.studio/perspective-fix"
      },
      "review": {
        "prompts": [
          "Read the normalized pixel dimensions so I can choose perspective corners.",
          "Rectify to 256x192 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]",
          "Rectify to 128x96 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]"
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Read-only coordinate audit. Attach projected grid. Supplied sample URLs: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png\n\nUser request: Read the normalized pixel dimensions so I can choose perspective corners.\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "prompt": "Read the normalized pixel dimensions so I can choose perspective corners.\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "tools_triggered": "perspective_fix_inspect",
              "expected_behavior": "Actual auto-oriented 320x240 coordinate space, corner order TL/TR/BR/BL, explicit output ratio. No upload or guessed corner detection.",
              "file_attachment_urls": [
                "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png"
              ]
            },
            {
              "description": "Known planar correction. Attach grid and use explicit supplied corners. Supplied sample URLs: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png\n\nUser request: Rectify to 256x192 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "prompt": "Rectify to 256x192 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "tools_triggered": "perspective_fix_create",
              "expected_behavior": "Use exact supplied corners, output_width=256,output_height=192. Real corrected PNG, annotated corner preview and transform JSON; magnification disclosed.",
              "file_attachment_urls": [
                "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png"
              ]
            },
            {
              "description": "Smaller same ratio. Attach grid and supplied corners. Supplied sample URLs: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png\n\nUser request: Rectify to 128x96 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "prompt": "Rectify to 128x96 pixels using these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "tools_triggered": "perspective_fix_create",
              "expected_behavior": "Use exact supplied corners and requested 128x96 dimensions, preserve chosen 4:3 ratio, return actual files without AI recreation.",
              "file_attachment_urls": [
                "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png"
              ]
            },
            {
              "description": "Explicit square ratio. Attach grid and supplied corners. Supplied sample URLs: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png\n\nUser request: Use a square 128x128 output with these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "prompt": "Use a square 128x128 output with these TL/TR/BR/BL corners: [{\"x\":40,\"y\":40},{\"x\":233.33333333333334,\"y\":50},{\"x\":230.76923076923077,\"y\":184.6153846153846},{\"x\":54.54545454545454,\"y\":199.99999999999997}]\nUse this supplied input: https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png",
              "tools_triggered": "perspective_fix_create",
              "expected_behavior": "Honor explicit square ratio and explain that selected dimensions can stretch geometry; no calibrated physical-proportion claim.",
              "file_attachment_urls": [
                "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/overnight-fixtures/planar-grid-uDqLq0EZ5gNlZxLVyRjcTIXZ5MJZWE.png"
              ]
            },
            {
              "description": "Saved recovery. Run main correction first.\n\nUser request: Reopen the corrected planar PNG.",
              "prompt": "Reopen the corrected planar PNG.",
              "tools_triggered": "perspective_fix_preview",
              "expected_behavior": "Use exact saved PNG URL without re-reading source or resampling again."
            }
          ],
          "negative": [
            {
              "description": "User request: Flatten every curve in this crumpled book page and remove the lens distortion.\n\nExpected behavior: Curved-page flattening/lens distortion unsupported. Explain planar scope and do not invent dewarping.",
              "prompt": "Flatten every curve in this crumpled book page and remove the lens distortion."
            },
            {
              "description": "User request: Recover hidden writing and certify exact real-world dimensions from this photo.\n\nExpected behavior: No missing text/detail recovery or dimensional certification. Do not certify reconstructed information.",
              "prompt": "Recover hidden writing and certify exact real-world dimensions from this photo."
            },
            {
              "description": "User request: Use crossing corners and silently repair them to whatever looks best.\n\nExpected behavior: Crossing/concave/invalid corner geometry must fail, without guessing alternate corners.",
              "prompt": "Use crossing corners and silently repair them to whatever looks best."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "Perspective Fix provides deterministic processing and file exports. It does not initiate purchases, checkout, money transfers or investment trades.",
        "demo_recording_url": "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/review-demos/perspective-fix/perspective-fix-chatgpt-demo-20261031-v4WEZ7T84GhFBGOid92ggYzR3McqH2.mp4"
      },
      "publication": {
        "countries": [],
        "release_notes": "Update public branding and listing links to NebulaCafe. Reviewer scenarios include the complete request and actual required inputs. The verified production MCP connection URL remains unchanged."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 3e67744e69a5b30f2549f4c9e1ffa5135d6c55950b7ceabf9ad38bb418708e1b