AI家具摄影图
Styled furniture photography from one flat product photo
- input_image
- output
The dream workflow for anyone selling furniture online: photograph the piece in a plain room, and get back a marketing shot in a styled interior. That's this node. Feed it one input_image of your product and it re-renders it as a designed interior photo - not just a background swap, but a full "the catalog photographer actually styled this" treatment in one of four taste presets. It's the pack's most opinionated product node, and for e-commerce people it's probably the one that earns its keep first.
How it works
Your image goes to the gateway under the model id furniture-photo with a style_type and resolution. The interesting plumbing detail: the style list itself isn't hardcoded - when the node initializes, it fetches the current presets live from MojieAI's styles endpoint. So the style_type dropdown reflects whatever styles the backend serves right now, and if that list ever looks stale or empty, the server-side catalog is the thing to suspect, not your install.
The four presets as of writing: 宋式美学 (Song-dynasty aesthetics - muted, scholarly, wood-and-brush minimalism), 网红奶白风 (that internet-famous milky-white look), 网红原木风 (the popular raw-wood look), and 轻奢中古风 (light-luxury mid-century). They're taste presets, not just background colors - each one carries lighting, materials and props.
The inputs that matter
input_image(IMAGE) - the piece. Shoot it on a neutral background for best results; the model is re-staging the object, not just pasting it.style_type(enum) - the taste preset above.resolution(2K / 4K) - output size.aspect_ratio(16:9, 4:3, 1:1, 3:4, 9:16) - framing.num_images(INT, 1–4) - how many styled variants. This one actually does what it says: up to four takes per run.seed(INT) - reproducibility.prompt(optional STRING) - a free-text override if you want to steer a preset toward something specific ("keep the armchair, add a floor lamp").
One output, output (IMAGE).
Installing it
Part of comfyui-MJAPI-party. ComfyUI Manager → "mojieapi_party" → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/MoJIeAIGC/comfyui-MJAPI-party.git
Register at mojieaigc.com, add your key to config.ini (keep BASE_URL = https://www.mojieaigc.com/v1/completions as shipped), and restart:
[API]
KEY = your_api_key
BASE_URL = https://www.mojieaigc.com/v1/completions
No model downloads; the pack's standard dependencies only.
Common issues
- Empty
style_typedropdown. The node pulls presets from the server at init - if the list is blank, your network/API connection to the styles endpoint is the suspect, not the pack. Check the key is set and ComfyUI can reach the internet. - The piece comes back distorted. Strong styles re-stage the whole scene; a low-quality source makes the model improvise proportions. A clean, straight-on, well-lit photo of the product is the single biggest quality lever.
- Four variants at 4K is four premium calls. Use
num_imagesfor exploring presets at 2K, then re-run the winner. Watch the balance. - Error image with text - the pack's standard failure display (key/balance/timeout).
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| input_image | IMAGE | — | |
| resolution | COMBO | 2K | 2 options: 2K, 4K |
| style_type | COMBO | 宋式美学 | 4 options: 宋式美学, 网红奶白风, 网红原木风, 轻奢中古风 |
| aspect_ratio | COMBO | 1:1 | 5 options: 16:9, 4:3, 1:1, 3:4, 9:16 |
| num_images | INT | 11–4 | — |
| seed | INT | 0 | — |
| promptopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | IMAGE | — |