MeltFlex AI

v0.6.0
io.github.MeltFlexDevs/meltflex Checked 2 days ago Published 27 days ago

AI interior design — restyle rooms, place furniture, and virtually stage spaces from a photo.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_interior Generate interior design

Transform a room photo into a redesigned, photorealistic interior using MeltFlex AI. Provide a source room photo (local file path, http(s) URL, or data:image URL) and a prompt describing the desired style or changes. Optionally provide reference furniture/decor images to place specific products into the room. Supports output quality (512/1K/2K), a design level (lite/quick/pro), region editing via a red mask, and batch generation of up to 3 variations. Costs 10 credits per image (lite −2, pro +5), multiplied by the number of variations. Each result is saved to disk and the file paths are retu…

ParameterTypeDescription
image *stringSource room photo: a local file path, an http(s) URL, or a data:image/...;base64,... URL.
prompt *stringWhat to do to the room, e.g. "Redesign in warm Scandinavian style with light oak floors and a beige linen sofa". Room structure (walls, windows, doors) is preserved unless you say otherwise.
design_levelstringEffort tier: "lite" (faster & cheaper, −2 credits), "quick" (default), or "pro" (most detailed, HIGH thinking, +5 credits).
maskbooleanRegion edit. When true, the source image must have the area to change painted SOLID RED; the prompt is applied ONLY to those red-marked regions and everything else is left untouched.
output_pathstringWhere to save the result. Defaults to ./meltflex-output/interior-<timestamp>.<ext>. For a batch, an index (-1, -2, …) is appended so files never collide.
reference_imagesarrayOptional furniture/decor reference images (file paths or URLs) whose exact appearance should be placed into the room.
resolutionstringOutput quality / resolution. "512" (fast), "1K", or "2K" (sharpest). Defaults to model auto.
variationsintegerNumber of variations to generate in one batch: 1–3 (default 1). Credits are charged per image.

generate_video Generate interior walkthrough video

Animate a still image (a MeltFlex render or any interior photo) into a short cinematic walkthrough video using Veo 3.1. Costs 100 MeltFlex credits for a 4-second clip or 150 for 8 seconds. Generation is asynchronous and can take 30–120 seconds. The MP4 is downloaded to disk and the file path is returned.

ParameterTypeDescription
image *stringSource still image: a local file path, an http(s) URL, or a data:image/...;base64,... URL.
aspect_ratiostring"16:9" (default, landscape) or "9:16" (vertical).
duration_secondsnumberClip length: 4 (100 credits, default) or 8 (150 credits).
output_pathstringWhere to save the .mp4. Defaults to ./meltflex-output/walkthrough-<timestamp>.mp4 in the current working directory.
promptstringOptional camera/mood direction, e.g. "Slow dolly forward, then pan left to the window". Defaults to a slow cinematic dolly.

floorplan_to_3d Convert floorplan to 3D model

Convert a flat 2D floorplan image into a downloadable GLB 3D model. Costs 100 MeltFlex credits. The .glb is downloaded to disk and the file path is returned. Best results come from a clean, high-contrast floorplan with clear walls.

ParameterTypeDescription
image *stringSource 2D floorplan image (JPEG, PNG or WebP): a local file path, an http(s) URL, or a data:image/...;base64,... URL.
output_pathstringWhere to save the .glb. Defaults to ./meltflex-output/model-<timestamp>.glb in the current working directory.

furniture_to_3d Convert a furniture photo to a 3D model

Turn ONE photo of a furniture piece (sofa, chair, table, lamp…) into a textured, downloadable GLB 3D model. Costs 75 MeltFlex credits (refunded if the build fails). Takes about 2–3 minutes; this tool waits for the model. Best input: one piece, front three-quarter view, plain or white background, nothing cropped. The .glb is downloaded to disk and the file path is returned, along with signed USDZ/FBX/OBJ links (valid ~72 h).

ParameterTypeDescription
image *stringPhoto of ONE furniture piece: a local file path, an http(s) URL, or a data:image/...;base64,... URL.
output_pathstringWhere to save the .glb. Defaults to ./meltflex-output/furniture-<timestamp>.glb in the current working directory.
texturedbooleanDefault true (baked PBR textures). false → bare geometry only: faster, smaller, same price.

generate_world Generate an explorable 3D world from a room photo

Turn ONE interior photo or render (e.g. a generate_interior result) into an explorable 3D world (Gaussian splats) you can look around and walk through from the camera's viewpoint. Costs 30 MeltFlex credits for a "draft" world (~1 min) or 200 for "hd" (~5 min, sharper up close); refunded if the build fails. This tool waits for the world. Returns the worldId (permanent), a hosted viewer link, and the .spz splat file downloaded to disk. The .spz links expire after a few days — keep the worldId.

ParameterTypeDescription
image *stringRoom photo or render: a local file path, an http(s) URL, or a data:image/...;base64,... URL.
modelstring"draft" (30 credits, ~1 min, default) or "hd" (200 credits, ~5 min).
namestringOptional label for the world.
output_pathstringWhere to save the .spz splat file. Defaults to ./meltflex-output/world-<timestamp>.spz in the current working directory.

check_credits Check MeltFlex credits

Check the current MeltFlex credit balance and the per-operation credit costs for the authenticated account.