Routes · Resize Image
Resize any image to exact dimensions or social-media presets — Open Graph (1200x630), Twitter card, YouTube thumbnail, Instagram, LinkedIn. Smart fit modes avoid distortion: cover (focal-point crop), contain (padded), blur-fill letterbox, stretch. Deterministic and instant — no AI, no account required. Returns the resized PNG/JPEG/WebP directly. Images from generate-image resize free at /routes/x402/resize-generated (pass your image_key).
POST https://imagcon.app/routes/x402/resize-image
0.02 USDC on Base · payTo 0x1f2A484ef654d49c58c625b09e78B538501D652D
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"image": "<binary PNG/JPEG/WebP file>",
"mode": "blur",
"preset": "og"
}{
"note": "image/png resized image bytes"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 64 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 189 ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
| Facilitator-reported (30d) | 2 calls · 1 payers (CDP Bazaar) |
How to call
POST https://imagcon.app/routes/x402/resize-image · input in body · spec from live-challenge
Input schema
{
"properties": {
"image": {
"type": "string",
"format": "binary",
"description": "Source image file"
},
"preset": {
"type": "string",
"enum": [
"github-social",
"instagram-portrait",
"instagram-square",
"instagram-story",
"linkedin-post",
"og",
"twitter-card",
"twitter-header",
"youtube-thumbnail"
],
"description": "Social/OG preset (wins over width/height)"
},
"width": {
"type": "integer",
"description": "Target width in pixels"
},
"height": {
"type": "integer",
"description": "Target height in pixels"
},
"mode": {
"type": "string",
"enum": [
"cover",
"contain",
"blur",
"stretch"
],
"description": "Fit mode (default cover; blur recommended for OG images)"
},
"background_color": {
"type": "string",
"description": "Hex background for contain mode (default #ffffff)"
},
"focal": {
"type": "string",
"enum": [
"center",
"top",
"bottom",
"left",
"right"
],
"description": "Crop anchor for cover mode"
},
"format": {
"type": "string",
"enum": [
"png",
"jpeg",
"webp"
],
"description": "Output format (default png)"
},
"quality": {
"type": "integer",
"description": "JPEG/WebP quality 1-100 (default 90)"
}
},
"required": [
"image"
]
}Output schema
{
"type": "object"
}curl -i -X POST 'https://imagcon.app/routes/x402/resize-image' \
-H 'content-type: application/json' -d '{"image":"<binary PNG/JPEG/WebP file>","preset":"og","mode":"blur"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs