> For the complete documentation index, see [llms.txt](https://docs.synaps.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synaps.app/ai-and-automation/write-an-ai-prompt.md).

# Write and refine an AI prompt

Write a focused brief, choose the right AI action, and refine the result without confusing an image edit with a drawing edit.

Choose the action that produces the result you need, then describe the change, its context and what should remain.

## Choose the task before writing

Choose the action for the output you need:

* **Generate a floorplan** creates an editable plan from a brief.
* **Edit with prompt** changes an existing image.
* A camera's render prompt creates a new image from its view.
* Segmentation actions use a detected region and, where required, a colour or reference image.
* **Expand** uses the bounds you choose; its current interface does not accept a custom expansion prompt.

Use the [AI tool chooser](/ai-and-automation/choose-an-ai-tool.md) if you are unsure which output you need.

## Write a floor-plan brief

Describe the type of space, required rooms and important relationships. Put the most important requirement first.

> A compact two-bedroom apartment. Include an open kitchen and living area, one bathroom, a utility room and entrance storage. Separate the bedrooms from the entrance and minimise corridor space.

For a fixed footprint, use **Pick a boundary shape** to select your outline. Measure the generated plan and compare it with your brief.

## Write an image-editing instruction

Name the desired change and the context you want to retain.

> Change the overall finish palette to pale oak and warm off-white. Retain the furniture arrangement and the viewpoint.

Whole-image edits can affect surrounding content. If the task is only to repaint a wall or replace a chair, select that content with **Segment** and use its focused action instead.

## Guide a camera render

Use the style picker for a broad visual direction, then add a brief describing the atmosphere or finishes that matter.

> A bright residential interior with natural timber, neutral fabrics and soft daylight.

Compare the result with the drawing, especially openings, furniture and proportions.

## Refine deliberately

1. Inspect the result before submitting another instruction.
2. Identify the most important mismatch: layout, viewpoint, selection or appearance.
3. Correct the relevant input. Edit the drawing for geometry, reposition the camera for viewpoint, or revise the image selection for a local change.
4. Make another AI submission only when it addresses that mismatch.

Keep a separate original when comparing image edits, and check [AI credits](/workspace-and-billing/understand-ai-credits.md) before another submission.

## Watch prompt examples

* [Describe a floor-plan brief, 1:16–1:38](https://www.youtube.com/watch?v=vHWOV5lJudg\&t=76s).
* [Describe a selected-area change, 5:08–5:30](https://www.youtube.com/watch?v=0OPnuai8A10\&t=308s).
* [Request a whole-image change, 5:30–5:44](https://www.youtube.com/watch?v=0OPnuai8A10\&t=330s).

## Related guides

[Generate a floor plan](/ai-and-automation/generate-a-floor-plan.md).

More: [Edit an image with a prompt](/ai-and-automation/edit-an-image-with-a-prompt.md) · [Create an interior render](/ai-and-automation/create-an-interior-render.md).
