DEVELOPERS
Render from your own code
An HTTP API and an MCP connector for the same renders and AI image tools you get in the app, with the same credits and the same checks.
This is new. Expect rough edges and tell us at Support when you hit one. There are no webhooks, so check a render's status to know when it's done.
Authentication
Make a key at Plugins and send it with every request. It starts with vx_, is shown once, and works until you disconnect it there.
A key can use your whole account, so keep it on your server and out of browser code.
curl https://app.visulixx.com/api/v1/credits \
-H "Authorization: Bearer vx_your_key"Each account can make 60 API requests a minute. Renders and tools have their own limits too.
Renders
Start a render
POST /api/v1/renders answers right away with an id. The render usually takes about a minute.
curl https://app.visulixx.com/api/v1/renders \
-H "Authorization: Bearer vx_your_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/elevation.png",
"style": "V-REAL",
"quality": "pro",
"notes": "evening light",
"aspect": "auto"
}'Send the image as image_url (public https, up to 25 MB) or image_base64 (requests are limited to about 4.5 MB). JPG, PNG and WebP work. Only the image is required.
| quality | Engine | Credits |
|---|---|---|
pro | Visulixx AI Pro | 10 |
fast | Visulixx AI Fast | 2 |
Check a render
GET /api/v1/renders/{id} returns the status, the Consistency Lock result, any refund, and a download link that lasts an hour.
curl https://app.visulixx.com/api/v1/renders/JOB_ID \
-H "Authorization: Bearer vx_your_key"Consistency Lock compares the render with your image, and it can finish after the image is ready. Read consistency_lock.status before you rely on a render:
| Status | Meaning |
|---|---|
passed | The check ran and the design matches. This is the only status that means checked. |
pending | The result isn't in yet. Don't rely on the render. |
flagged | The design changed, and the credits were refunded. |
not_verified | The check couldn't run or left no result. If it couldn't run, the credits were refunded. |
not_applicable | Consistency Lock doesn't run on this kind of result: a concept image, or a tool covered by its own pixel check. |
If a render fails before it finishes, its credits come back, and refunded_credits shows how many.
AI tools
GET /api/v1/tools lists each tool with its cost and inputs. POST /api/v1/tools/{id} runs one and answers when it has finished, which can take a few minutes, so allow for that in your client's timeout.
curl https://app.visulixx.com/api/v1/tools/sky \
-H "Authorization: Bearer vx_your_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/render.png",
"fields": { "sky": "Golden sunset" }
}'Tools that paint an area also need mask_url or mask_base64, where white marks the area to change. Tools that take a reference use reference_url or reference_base64. Masks and references are limited to about 2 MB.
| Tool | id | Credits | How the result is held to your image |
|---|---|---|---|
| Magic eraser | eraser | 5 | Everything outside your selection stays pixel for pixel |
| Replace an area | replace | 5 | Everything outside your selection stays pixel for pixel |
| Swap a material | material | 5 | Everything outside your selection stays pixel for pixel |
| Fix people | people | 5 | Everything outside your selection stays pixel for pixel |
| Extend the image | extend | 5 | Your original image stays pixel for pixel |
| Place an object | place-object | 5 | Everything outside your selection stays pixel for pixel |
| Remove background | cutout | 5 | Your subject's pixels stay exactly as they are |
| Edit with words | edit-words | 10 | Checked by Consistency Lock, or refunded |
| Print upscaler | upscaler | 5 | Checked by Consistency Lock, or refunded |
| Render enhancer | enhancer | 10 | Checked by Consistency Lock, or refunded |
| Match a reference | reference-look | 10 | Checked by Consistency Lock, or refunded |
| Change the sky | sky | 10 | Checked by Consistency Lock, or refunded |
| Virtual staging | staging | 10 | Checked by Consistency Lock, or refunded |
| Landscape design | landscape | 10 | Checked by Consistency Lock, or refunded |
| Rendered floor plan | plan-colour | 10 | Checked by Consistency Lock, or refunded |
| Rendered site plan | site-plan | 10 | Checked by Consistency Lock, or refunded |
| Masterplan to aerial | masterplan | 10 | Checked by Consistency Lock, or refunded |
| Concept image | imagine | 5 | A concept. Not checked against a design |
These are only in the app for now, and GET /api/v1/tools lists them under not_runnable: Describe an image, Concept statement, Design review, Text to 3D object, Video from an image, Image to CAD lines.
Credits
The API spends the credits on your account at the prices above, the same as the app. GET /api/v1/credits returns your balance.
{ "credits": 120, "promo_credits": 0, "promo_expires_at": null, "unlimited": false }Errors
Every error from /api/v1 has the same shape:
{ "error": { "code": "insufficient_credits", "message": "Not enough credits.", "credits_needed": 10 } }Use code in your logic and treat message as text for people. This list covers the common ones, and codes from the engine can pass through as well.
| HTTP | code | Meaning |
|---|---|---|
| 400 | missing_image, bad_image, unknown_style, bad_json… | The request is wrong. Nothing was charged. |
| 401 | unauthorized | The key is missing, malformed or disconnected. |
| 402 | insufficient_credits | Not enough credits. The error includes credits_needed. |
| 404 | not_found, unknown_tool | It doesn't exist on this account. Another account's render reads the same way. |
| 429 | rate_limited | Slow down. The Retry-After header says for how long. |
| 502 | tool_failed… | The run failed. The error includes id and refunded_credits. |
| 503 | engine_unavailable | The engine isn't available. |
MCP connector
Add Visulixx as a remote connector in an MCP client that supports Streamable HTTP:
https://app.visulixx.com/api/mcpThe client sends you to a Visulixx page to approve it, then holds a key named after the app. You can disconnect it at Plugins. It doesn't expire and has no refresh token, so after a disconnect you approve the app again. Clients that can set a header can send a vx_ key instead.
OAuth redirect addresses must be https, or http on localhost, so clients that use a custom app link for sign-in need a key instead.
Tools: list_styles, render_image, render_status, list_models, model_details, sun_position, list_tools, run_tool. Renders and tools spend credits the same as the API.