Text to image (Fluw AI)
luw_generate_imageGenerate photorealistic images or vector illustrations from text prompts, optionally using a guide image, for concept art, interiors, products, and marketing visuals.
Instructions
Luw.ai Fluw AI: generate a photorealistic image or illustration from a text prompt (optionally guided by an input image) — concept art, interiors, products, marketing visuals. Set format="svg" for a vector illustration (Fluw Vector AI). Costs 2 credits per image.
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": {
"prompt": "<prompt>"
},
"name": "luw_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Same seed and prompt give the same image. Text-to-image only: ignored with a guide image or svg. | |
| image | No | Optional guide image (public https:// link or data: URI; the local npx server also accepts a file path). | |
| format | No | Output format; svg switches to Fluw Vector AI, which ignores aspect_ratio and seed. | |
| prompt | Yes | What to generate. | |
| styles | No | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. | |
| variations | No | Number of alternative designs (1-4, default 1); each is billed as a generation. | |
| aspect_ratio | No | Picture shape; 3:2 and 2:3 come out as 4:3 and 3:4. | |
| enhance_prompt | No | Let Luw.ai's prompt enhancer expand a short prompt. |