Developers

Archify API

Run Archify's render tools from your own software. Available on Studio and multi-seat plans; generations cost the same credits they do in the app, and failed runs refund automatically.

Authentication

Create a key in the app under Account → API keys. The key is shown once and stored only as a hash, so keep it somewhere safe — if you lose it, revoke it and create another. Send it as a bearer token, and never from a browser or anywhere a customer could read it.

Authorization: Bearer ark_your_key_here

Start a render

POST /api/v1/renders — image inputs are passed as a public imageUrl we download; JPG, PNG, or WebP up to 10MB. Tools that need a second file — inpainting, AI eraser and style transfer — and 3D are not in v1; video is the separate premium-video tool.

Supported tools (19)

The same lineup the app offers — a tool we withdraw for quality leaves the API at the same time. Pass the tool value exactly as written.

  • Sketch to Imagesketch-to-image
  • Exterior AIexterior
  • Landscape & Outdoorai-landscaping
  • Interior AIinterior
  • Imagine AIimagine-ai
  • Commercial Redesigncommercial-redesign
  • Day to Duskday-to-dusk
  • Sky Replacementsky-swap
  • Seasonsseasonal-exterior
  • Isometric Viewisometric-view
  • Elevationselevations
  • Tileable Texturestileable-textures
  • Mood Board AImood-board
  • Floor Plan Renderfloorplan-render
  • Render Enhancerrender-enhancer
  • 4K Upscaler4k-upscaler
  • Relightinterior-relight
  • Virtual Stagingvirtual-staging
  • Declutterdeclutter
curl https://www.archifyai.com/api/v1/renders \
  -H "Authorization: Bearer ark_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "exterior",
    "prompt": "Warm limestone facade, bronze window frames, evening light.",
    "imageUrl": "https://example.com/house.jpg",
    "options": { "structure_lock": "on" }
  }'

# 202 Accepted
{ "ok": true, "id": "abc123", "status": "processing", "tool": "exterior" }

Geometry fidelity (drawing-conditioned tools)

sketch-to-image, floorplan-render, isometric-view and elevations accept an optional options.form_control number from 0.4 (Creative — the AI may reinterpret the geometry) to 1 (Faithful — every wall and opening stays exactly where you drew it). Values outside that range are clamped. Omit it to get the default: 0.92 for floorplan-render, 0.8 for the other three. Other tools ignore the field.

"tool": "sketch-to-image",
"options": { "form_control": 0.65 }

Check a render

GET /api/v1/renders/{id} — poll every few seconds. Most image runs finish in well under a minute.

curl https://www.archifyai.com/api/v1/renders/abc123 \
  -H "Authorization: Bearer ark_your_key_here"

{ "ok": true, "id": "abc123", "status": "succeeded",
  "tool": "exterior", "outputs": ["https://.../0.png"] }

Errors and credits

  • Every error returns { "ok": false, "error": { "code", "message" } }.
  • 402 insufficient_credits — top up in the app. 403 plan_required — the API needs a Studio or multi-seat plan. 401 unauthorized — missing, malformed, or revoked key.
  • Credits are reserved when a run starts and refunded automatically if it fails or returns nothing.
  • Rate limits: 30 render submissions and 240 status checks per minute, per key. Exceeding one returns 429 rate_limited with a Retry-After header.
  • API runs appear in your normal History alongside everything made in the app.

Use Archify from Claude (MCP)

The same API is available as an MCP server at https://www.archifyai.com/api/mcp, so Claude Desktop, Claude Code, or any MCP client can list Archify's tools, start a render, and fetch the result for you in conversation. It uses your normal API key, runs the same tools with the same credits and refunds, and nothing extra is exposed — the MCP tool list is read from the API's own lineup.

{
  "mcpServers": {
    "archify": {
      "type": "http",
      "url": "https://www.archifyai.com/api/mcp",
      "headers": { "Authorization": "Bearer ark_your_key_here" }
    }
  }
}

In Claude Code the one-liner is claude mcp add --transport http archify https://www.archifyai.com/api/mcp --header "Authorization: Bearer ark_your_key_here". Tools: list_render_tools (free), start_render (spends credits), get_render (free). Keep the key out of shared config files. Because an agent can call start_render on its own and every call spends your credits, set your MCP client to confirm with you before it generates anything.

Video is available as the premium-video tool (Enhanced Video: one still plus a camera-motion prompt; needs a Pro, Studio, or multi-seat plan) in both the REST API and MCP. 3D generation, text-only tools, and tools that need a second file (inpaint, AI eraser, style transfer) are not in v1. If you need one of them through the API, say so and it moves up the list.