Stable Image - 3D Image Generator
Transform flat 2D images into immersive 3D models using Stable Image's advanced depth perception and spatial reconstruction technology. Create stunning three-dimensional representations from single photographs with intelligent depth mapping and texture preservation.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_3D_GENERATOR |
model | string | Yes | AI model identifier. Must be stable-image |
promptObject | object | Yes | Configuration object containing all 3D generation parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the 2D source image to be converted into 3D | - |
Supported Input Formats
| Format | Description | Best For |
|---|---|---|
jpeg | Standard photographic format | Photographs, natural scenes, portraits |
png | Lossless format with transparency support | Graphics, illustrations, detailed images |
webp | Modern efficient format | Web-optimized images, mixed content |
Image Requirements
| Requirement | Description |
|---|---|
| Resolution | Minimum 512x512 pixels, recommended 1024x1024+ for best results |
| Clarity | Sharp, well-focused images produce better 3D reconstructions |
| Lighting | Even lighting with minimal harsh shadows works best |
| Subject | Clear, well-defined subjects with good contrast against background |
| Perspective | Front-facing or slight angle views provide optimal depth information |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_3D_GENERATOR",
"model": "stable-image",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_3D_GENERATOR',
model: 'stable-image',
promptObject: {
imageUrl: 'development/images/2025_10_27_16_40_04_213_dress.png'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_3D_GENERATOR",
"model": "stable-image",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to the 2D image to be converted into 3D
Generated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_3D_GENERATOR",
"model": "stable-image",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
}
}'
Response Format
{
"aiRecord": {
"uuid": "3d1m2a3g4-e5f6-7890-bcde-f123456789ab",
"userId": "user-12345",
"teamId": "team-67890",
"teamUser": {
"teamId": "team-67890",
"userId": "user-12345",
"userName": "John Doe",
"userAvatar": "https://example.com/avatar.jpg",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 45000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-01-15T15:00:00.000Z",
"updatedBy": "SYSTEM"
},
"model": "stable-image",
"type": "IMAGE_3D_GENERATOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-01-15T15:00:00.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
},
"resultObject": [
"development/images/2025_01_15_15_00_60_001_3d_generated.jpg"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_15_00_60_001_3d_generated.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20250115T150000Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}
Use Cases
Digital Art & Entertainment
- Art Creation: Transform 2D artwork into immersive 3D pieces for galleries and exhibitions
- Social Media Content: Create engaging 3D content for platforms supporting depth effects
- Gaming Assets: Convert concept art and sprites into preliminary 3D models
- Animation References: Generate 3D references from 2D character designs and scenes
- Virtual Galleries: Create 3D representations of paintings and artwork for virtual exhibitions
E-commerce & Product Visualization
- Product Showcases: Transform flat product photos into 3D representations for better customer engagement
- Catalog Enhancement: Add depth and dimension to product catalogs and brochures
- Virtual Try-On: Create 3D product previews for AR/VR shopping experiences
- Marketing Materials: Generate 3D visuals for advertisements and promotional content
- Interactive Displays: Enhance retail displays with 3D product visualizations
Architecture & Design
- Concept Visualization: Convert architectural sketches and renderings into 3D depth maps
- Interior Design: Transform 2D room layouts into 3D spatial representations
- Landscape Planning: Add depth perception to landscape and urban planning images
- Historical Reconstruction: Create 3D interpretations of historical photographs and drawings
- Design Presentations: Enhance architectural presentations with 3D depth effects
Photography & Media
- Portrait Enhancement: Add depth and dimension to portrait photography
- Travel Photography: Create immersive 3D effects for travel and landscape photos
- Event Documentation: Transform event photos into 3D memories with depth perception
- Stock Photography: Enhance stock images with 3D effects for premium content
- Photo Restoration: Add modern 3D effects to vintage and historical photographs
Education & Training
- Scientific Visualization: Create 3D representations of scientific diagrams and illustrations
- Historical Education: Transform historical images into immersive 3D educational content
- Medical Training: Add depth perception to medical illustrations and anatomical images
- Technical Documentation: Enhance technical manuals with 3D visualizations
- Interactive Learning: Create engaging 3D educational materials from 2D sources
Tips for Best Results
-
Image Selection Guidelines: Choose optimal source images for 3D conversion
- Clear subjects: Use images with well-defined main subjects and clear boundaries
- Good contrast: Ensure sufficient contrast between foreground and background elements
- Minimal occlusion: Avoid images with heavily overlapping or hidden elements
- Balanced composition: Images with clear focal points work better than cluttered scenes
-
Technical Optimization: Prepare images for optimal 3D generation
- High resolution: Use images with at least 1024x1024 pixels for detailed results
- Sharp focus: Ensure the main subject is in sharp focus throughout
- Even lighting: Consistent lighting helps the AI understand depth relationships
- Clean backgrounds: Simple backgrounds allow better subject isolation
-
Subject Matter Considerations: Different types of content require different approaches
- Objects & products: Work exceptionally well with clear boundaries and defined shapes
- Portraits: Human subjects benefit from good lighting and clear facial features
- Architecture: Buildings and structures with clear geometric forms produce excellent results
- Landscapes: Natural scenes work best with clear foreground/background separation
-
Depth Enhancement Techniques: Maximize 3D effect quality
- Perspective cues: Images with natural perspective lines enhance depth perception
- Scale references: Including objects of known size helps depth estimation
- Layered composition: Images with multiple depth layers create more convincing 3D effects
- Shadow information: Natural shadows provide important depth cues for the AI
-
Post-Processing Applications: Utilize generated 3D content effectively
- Viewing angles: 3D images work best when viewed with proper depth perception tools
- Integration: Combine with other 3D content for comprehensive scenes
- Format compatibility: Ensure compatibility with target 3D viewing platforms
- Quality assessment: Review results across different viewing conditions
-
Creative Applications: Explore artistic possibilities
- Artistic interpretation: Use 3D effects to create unique artistic perspectives
- Narrative enhancement: Add depth to storytelling through dimensional imagery
- Interactive experiences: Create engaging user experiences with depth-enhanced content
- Mixed media: Combine 3D images with other media for rich compositions