# Text to 3D > Transform any text description into detailed, editable 3D models instantly—no CAD skills needed—using advanced generative AI, semantic scene parsing, and multi-view consistent geometry for gaming, design, and rapid prototyping. ## Overview - **Model ID**: `text-to-3d` - **Category**: 3d - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/1fa19405-ed94-4e8f-8520-6e75a1240659.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/3d/text_to_3d` - **Method**: POST ### Parameters - **`prompt`** (required): - Type: textarea - **`foreground_ratio`** (optional): - Type: number - **`resolution`** (optional): - Type: select (options: 512) - **`output_format`** (optional): - Type: select (options: glb, stl, ply, obj) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/3d/text_to_3d \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "text-to-3d", "prompt": "A hyper-realistic, highly detailed 3D model of a futuristic sports car, rendered in a photorealistic style. The car features a stunning, glossy candy apple red paint finish that reflects the surrounding studio lights, revealing the intricate details of its design. The chrome accents, like the side mirrors and window trim, are polished and reflective, providing a sharp contrast to the bodywork. The headlights feature realistic, complex lenses that enhance the car's imposing front end. The backdrop of the scene is a simple, clean studio environment with neutral tones, effectively isolating the car and highlighting its sleek, modern lines and design. The image is rendered with a high degree of realism, showcasing the interplay of light and shadow across the car's surfaces, giving the model a tangible presence within the scene.", "foreground_ratio": "0.84", "resolution": "512", "output_format": "glb" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/3d/text_to_3d", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "text-to-3d", "prompt": "A hyper-realistic, highly detailed 3D model of a futuristic sports car, rendered in a photorealistic style. The car features a stunning, glossy candy apple red paint finish that reflects the surrounding studio lights, revealing the intricate details of its design. The chrome accents, like the side mirrors and window trim, are polished and reflective, providing a sharp contrast to the bodywork. The headlights feature realistic, complex lenses that enhance the car's imposing front end. The backdrop of the scene is a simple, clean studio environment with neutral tones, effectively isolating the car and highlighting its sleek, modern lines and design. The image is rendered with a high degree of realism, showcasing the interplay of light and shadow across the car's surfaces, giving the model a tangible presence within the scene.", "foreground_ratio": "0.84", "resolution": "512", "output_format": "glb" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/3d/text_to_3d", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "text-to-3d", "prompt": "A hyper-realistic, highly detailed 3D model of a futuristic sports car, rendered in a photorealistic style. The car features a stunning, glossy candy apple red paint finish that reflects the surrounding studio lights, revealing the intricate details of its design. The chrome accents, like the side mirrors and window trim, are polished and reflective, providing a sharp contrast to the bodywork. The headlights feature realistic, complex lenses that enhance the car's imposing front end. The backdrop of the scene is a simple, clean studio environment with neutral tones, effectively isolating the car and highlighting its sleek, modern lines and design. The image is rendered with a high degree of realism, showcasing the interplay of light and shadow across the car's surfaces, giving the model a tangible presence within the scene.", "foreground_ratio": "0.84", "resolution": "512", "output_format": "glb" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/text-to-3d/text-to-3d) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)