Start a design
POST https://api.remodeled.ai/public/v1/designs
Starts a design and answers at once with status queued (202). Get the result by polling GET /public/v1/designs/{id}, by a webhook, or by sending Prefer: wait. Charged when it starts; refunded if it fails.
Example
curl -X POST https://api.remodeled.ai/public/v1/designs \ -H "Authorization: Bearer $REMODELED_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: listing-4471-photo-1" \ -d '{ "mode": "remodel", "inputAssetId": "01a1ebfd-494e-752c-86b5-d58f61313030", "room": "Living room", "style": "Japandi", "metadata": {"listingId": "4471"} }'import Remodeled from 'remodeled-ai';
const client = new Remodeled(); // reads REMODELED_API_KEY
const design = await client.designs.create( { mode: 'remodel', inputAssetId: photo.id, room: 'Living room', style: 'Japandi', metadata: { listingId: '4471' } }, { idempotencyKey: 'listing-4471-photo-1' },);
// Or start it and wait for the images in one callconst done = await client.designs.createAndWait({ mode: 'remodel', inputAssetId: photo.id, style: 'Japandi' });from remodeled import Remodeled
client = Remodeled() # reads REMODELED_API_KEY
design = client.designs.create( mode="remodel", input_asset_id=photo["id"], room="Living room", style="Japandi", metadata={"listingId": "4471"}, idempotency_key="listing-4471-photo-1",)
# Or start it and wait for the images in one calldone = client.designs.create_and_wait(mode="remodel", input_asset_id=photo["id"], style="Japandi")Try it
Try it with your key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key | header | string | Sending the same key again returns the same design instead of starting (and charging) another. Use one per thing you make, such as a listing photo id. |
Prefer | header | string | wait=N holds the answer until the design finishes, up to N seconds (at most 60). wait alone waits the most. |
Request body
application/json
Schema: StartDesign
| Field | Type | Description |
|---|---|---|
moderequired | DesignMode ("remodel", "staging", "declutter", "exterior", "edit", "brush", "enhance") | The tool. |
inputAssetId | string | A photo from POST /public/v1/uploads. Every mode but enhance needs one. |
room | string | A rooms[].name from the catalog. Up to 64 characters. |
style | string | A styles[].name from the catalog. Up to 64 characters. |
prompt | string | Extra direction (remodel, staging, exterior), or the change to make (edit, brush). Up to 2000 characters. |
model | string | A models[].id from the catalog. Default: Standard. Up to 64 characters. |
size | "standard", "hd", "4k" | Output size; bigger sizes cost more on some models. |
aspect | string | "match" (default) keeps the photo's shape; or 1:1, 4:3, 16:9, 3:4, 9:16. Up to 16 characters. |
count | integer | Images to make (remodel, staging, declutter, exterior). Each costs the model price. From 1 to 4. |
change | "restyle", "rearrange", "renovate" | remodel: how much may change. restyle (default) keeps furniture where it is, rearrange plans a new layout, renovate also redoes built-ins and finishes. Same price. |
referenceAssetIds | array of string | Photos of items to include (remodel). Up to 4 items. |
itemAssetIds | array of string | Photos of items to place (edit, brush). Up to 4 items. |
preset | "remove" | edit or brush: remove what is painted or described. |
scope | "focused", "redesign" | edit: change one thing (focused), or the whole room. |
target | "walls", "floor", "cabinets", "countertops", "backsplash", "ceiling", "sofa", "curtains", "rug", "bed", "table", "fireplace", "lights" | edit: change only this part of the room. The rest of the picture stays exactly as in the photo, so edits can be chained without the room drifting. |
mask | BrushMask | |
maskAssetId | string | brush: an uploaded PNG mask instead of strokes. Transparent pixels mark the area to change; on a mask with no transparency, white marks it. Scaled to the photo. |
sourceImageId | string | enhance: an images[].id of a design made with the API. |
metadata | Metadata |
{ "mode": "remodel", "inputAssetId": "01a1ebfd-494e-752c-86b5-d58f61313030", "room": "Living room", "style": "Japandi", "metadata": { "listingId": "4471" }}Responses
200 Finished while waiting (Prefer: wait)
Returns Design.
{ "id": "01a1ebfd-4958-74a0-8036-fd131dcc3bd2", "mode": "remodel", "status": "succeeded", "projectId": null, "room": "Living room", "style": "Japandi", "prompt": null, "model": "gpt-image-2.5", "modelLabel": "Standard", "size": "standard", "aspect": "match", "scope": null, "count": 1, "creditsCharged": 5, "input": { "id": "01a1ebfd-494e-752c-86b5-d58f61313030", "url": "https://cdn.remodeled.ai/upload/01a1ebfd-492a-71c8/01a1ebfd-494e-752c-86b5-d58f61313030.jpg", "contentType": "image/jpeg", "width": 1600, "height": 1200 }, "images": [ { "id": "01a1ebfd-4964-759c-9af0-5e4b53a4509d", "position": 0, "isFavorite": false, "asset": { "id": "01a1ebfd-4963-73bc-8fe2-b84eb626ebfa", "url": "https://cdn.remodeled.ai/output/01a1ebfd-492a-71c8/01a1ebfd-4963-73bc-8fe2-b84eb626ebfa.png", "contentType": "image/png", "width": 1536, "height": 1152 }, "thumbnail": { "id": "01a1ebfd-4963-73bc-8fe2-b84fab1cbfa6", "url": "https://cdn.remodeled.ai/thumbnail/01a1ebfd-492a-71c8/01a1ebfd-4963-73bc-8fe2-b84fab1cbfa6.webp", "contentType": "image/webp", "width": null, "height": null } } ], "keptUntil": "2027-02-16T00:10:07.586Z", "isFavorite": false, "error": null, "metadata": { "listingId": "4471" }, "createdAt": "2026-11-18T00:10:07.576Z", "finishedAt": "2026-11-18T00:10:41.587Z"}202 Started; status is queued or running
Returns Design.
{ "id": "01a1ebfd-4958-74a0-8036-fd131dcc3bd2", "mode": "remodel", "status": "queued", "projectId": null, "room": "Living room", "style": "Japandi", "prompt": null, "model": "gpt-image-2.5", "modelLabel": "Standard", "size": "standard", "aspect": "match", "scope": null, "count": 1, "creditsCharged": 5, "input": { "id": "01a1ebfd-494e-752c-86b5-d58f61313030", "url": "https://cdn.remodeled.ai/upload/01a1ebfd-492a-71c8/01a1ebfd-494e-752c-86b5-d58f61313030.jpg", "contentType": "image/jpeg", "width": 1600, "height": 1200 }, "images": [], "keptUntil": null, "isFavorite": false, "error": null, "metadata": { "listingId": "4471" }, "createdAt": "2026-11-18T00:10:07.576Z", "finishedAt": null}401 invalid_api_key: missing, wrong or revoked key
An error.
{ "error": { "code": "invalid_api_key", "message": "Missing or invalid API key. Send it as Authorization: Bearer rmk_..." }}402 insufficient_credits, key_limit_reached or allowance_exhausted
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}403 premium_required, paid_only or verify_email
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}422 invalid_request, input_required, prompt_required, asset_not_ready, source_not_found, invalid_mask, unknown_room, unknown_style
An error.
{ "error": { "code": "invalid_request", "message": "Some fields are missing or invalid.", "details": { "issues": [ { "path": "mode", "message": "Invalid option: expected one of remodel|staging|declutter|exterior|edit|brush|enhance" } ] } }}429 rate_limited (wait Retry-After seconds) or too_many_active
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}