Sketch to render (Sketch AI)
luw_sketch_to_renderGenerate photorealistic renders from hand sketches, line drawings, floor-plan perspectives, or rough drafts, with optional prompt, style, and variation controls.
Instructions
Luw.ai Sketch AI: turn a hand sketch, line drawing, floor-plan perspective or rough draft into a photorealistic render. Costs 1 credit per variation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "luw_sketch_to_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | The sketch or drawing (public https:// link or data: URI; the local npx server also accepts a file path). | |
| engine | No | Luw.ai model: aria (default) or symphony (Symphony-3). | |
| format | No | Output image format. | |
| prompt | No | What you want, in plain language. | |
| styles | No | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. | |
| precision | No | How freely the prompt enhancer writes: 90 = precise, 75 = balanced, 40 = creative. Only used with enhance_prompt. | |
| persona_id | No | Persona whose saved images to use. Its saved styles and room or building type apply unless you send styles or a type. | |
| space_type | No | What the sketch shows, e.g. "Living Room" or "Modern House Exterior". | |
| variations | No | Number of alternative designs (1-4, default 1); each is billed as a generation. | |
| enhance_prompt | No | Let Luw.ai's prompt enhancer expand a short prompt. | |
| style_reference | No | Style-transfer source: an image whose look to copy (public https:// link or data: URI; the local npx server also accepts a file path), or "persona" to use slot 1 of persona_id. |