Skip to content

Quickstart

  1. Make a key. Open Account, Developer API in the app and choose New key. A live key needs a confirmed email and any plan or credit pack. No plan yet? Pick Test: a test key is free and every design finishes with a sample picture, so you can build everything first. The key starts with rmk_ (or rmk_test_) and is shown once: keep it on your server.

    Terminal window
    export REMODELED_API_KEY="rmk_..."
  2. Install the SDK (or skip this and use curl).

    Terminal window
    npm install remodeled-ai
  3. Make a design from our sample photo. This has the API fetch a sample living room, redesigns it in the Japandi style, and waits for the result (most designs take 20 to 60 seconds). To use your own photo, see the note after this step.

    import Remodeled from 'remodeled-ai';
    const client = new Remodeled(); // reads REMODELED_API_KEY
    const photo = await client.uploads.fromUrl('https://docs.remodeled.ai/examples/sample-living-room.jpg');
    const design = await client.designs.createAndWait({
    mode: 'remodel',
    inputAssetId: photo.id,
    room: 'Living room',
    style: 'Japandi',
    });
    console.log(design.images[0]?.asset.url);
  4. Download the image. images[].asset.url is the full-size image. Download what you keep: files are kept as long as your plan keeps designs (keptUntil).