
Text To 3D
by ModelsLabText to 3D API on ModelsLab GPUs: a prompt in, a textured GLB (or OBJ, STL, PLY) out, median 83 seconds. $0.075 per model, or no per-model charge on the $149/month Open Source Unlimited plan.
text-to-3dInput
Output
Loading 3D Viewer...
Related Models
Discover similar models you might be interested in
About Text To 3D
Text to 3D API on ModelsLab GPUs: a prompt in, a textured GLB (or OBJ, STL, PLY) out, median 83 seconds. $0.075 per model, or no per-model charge on the $149/month Open Source Unlimited plan.
Text To 3D facts
- Provider
- ModelsLab
- Price
- $0.075 per image
- Added to ModelsLab
- May 8, 2026
- Model ID
- text-to-3d
Key Features
- AI-powered 3D model generation
- Text-to-3D and image-to-3D conversion
- Multiple 3D output formats
- Texture and material generation
- API integration for 3D workflows
Quick Start
Integrate Text To 3D into your application with a single API call. Get your API key from the pricing page to get started.
import requestsimport jsonurl = "https://modelslab.com/api/v6/3d/text_to_3d"headers = {"Content-Type": "application/json"}data = {"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.","key": "YOUR_API_KEY"}try:response = requests.post(url, headers=headers, json=data)response.raise_for_status() # Raises an HTTPError for bad responses (4XX or 5XX)result = response.json()print("API Response:")print(json.dumps(result, indent=2))except requests.exceptions.HTTPError as http_err:print(f"HTTP error occurred: {http_err} - {response.text}")except Exception as err:print(f"Other error occurred: {err}")
const endpointUrl = 'https://modelslab.com/api/v6/3d/text_to_3d';const requestBody = {"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.","key": "YOUR_API_KEY"};async function makeApiRequest() {try {const response = await fetch(endpointUrl, {method: 'POST',headers: {'Content-Type': 'application/json',},body: JSON.stringify(requestBody)});if (!response.ok) {let errorResult;try {errorResult = await response.json();} catch (e) {errorResult = { error: { message: await response.text() } };}throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);}const result = await response.json();console.log('API Response:', result);return result;} catch (error) {console.error('Error making API request:', error.message);throw error;}}makeApiRequest();
curl -X POST "https://modelslab.com/api/v6/3d/text_to_3d" \-H "Content-Type: application/json" \-d '{"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.","key": "YOUR_API_KEY"}'
<?php$url = 'https://modelslab.com/api/v6/3d/text_to_3d';$headers = ['Content-Type: application/json'];$data = ['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.','key' => 'YOUR_API_KEY',];$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_TIMEOUT, 30);$response = curl_exec($ch);$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);$curlError = curl_error($ch);if ($curlError) {echo 'Curl error: ' . $curlError;} else {echo "HTTP Status Code: " . $httpCode . "\n";$result = json_decode($response, true);if (json_last_error() !== JSON_ERROR_NONE) {echo "Error decoding JSON: " . json_last_error_msg() . "\n";echo "Raw response: " . $response . "\n";} else {echo "API Response:\n";print_r($result);}}?>
Pricing
Text To 3D API costs $0.075 per generation. Open Source Unlimited is $149/month, and open-source models are unlimited on the $149/month plan. View pricing plans
Use Cases
- Game asset and character creation
- Product visualization and prototyping
- Architectural visualization
- AR/VR content generation




