ModelsLab/Specific Floor Planning
floor-planningGenerate a rendered image of a floor plan for a room based on the provided input as well as interior
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/interior/floor_planning
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"init_image": "https://assets.modelslab.com/generations/7abe6c28-4235-406c-9a76-98e80da6d075","strength": "0.7","prompt": "rendering floor plan of the apartment layout,top view,white background,masterpiece, kitchen, living room, sofa, chair,bedroom,car best quality, extremely detailed,best illustration, best shadow","scenario": "plain","guidance_scale": "8","base64": "false","seed": "0","num_inference_steps": "51","specific_object": null,"track_id": null,"webhook": null,"key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| init_image | init_image | A URL to the initial image |
| strength | strength | The degree to which the prompt influences the initial image. 1.0 corresponds to full destruction of the initial image details. |
| prompt | prompt | A text prompt describing the content you want in the generated image. |
| scenario | scenario | The scenario to be changed, it includes beach, deserat , plain , taiga |
| guidance_scale | guidance_scale | The scale for classifier-free guidance. Minimum is 1, and maximum is 20. |
| base64 | base64 | Get response as base64 string, default: false, options: true or false |
| seed | seed | Seed is used to reproduce results, same seed will give you same image in return again. Pass null for a random number |
| num_inference_steps | num_inference_steps | The number of denoising steps. Acceptable values are 21, 31, or 41 |
| specific_object | specific_object | Specific object parameter |
| track_id | track_id | An ID returned in the API response, used to identify the webhook request |
| webhook | webhook | A URL to receive a POST API call once the image generation is complete |