Skip to main content

Trellis - 3D Image Generator

Generate professional-grade 3D models from single 2D images using Trellis's state-of-the-art neural reconstruction technology. Create detailed GLB files with accurate geometry, preserved textures, and industry-standard formatting for seamless integration into 3D workflows, AR/VR applications, and real-time rendering engines.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_3D_GENERATOR
modelstringYesAI model identifier. Must be Qubico/trellis
promptObjectobjectYesConfiguration object containing all 3D model generation parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
imageUrlstringYesPath to the 2D source image to be reconstructed into a 3D model-

Supported Input Formats

FormatDescriptionBest For
jpegStandard photographic formatPhotographs, product images, portraits
pngLossless format with transparency supportGraphics, illustrations, objects with transparency
webpModern efficient formatWeb-optimized images, mixed content types

GLB Output Specifications

FeatureDescription
FormatGLB (GL Transmission Format Binary) - industry standard
CompatibilityWebGL, Three.js, Unity, Unreal Engine, Blender, and most 3D software
ContentComplete 3D model with geometry, materials, textures, and metadata
OptimizationWeb-ready with efficient compression for real-time rendering
StructureSelf-contained binary file with all assets embedded

Image Requirements

RequirementDescription
ResolutionMinimum 512x512 pixels, recommended 1024x1024+ for detailed models
Subject ClarityClear, well-defined objects with distinct boundaries
LightingEven, diffused lighting without harsh shadows or extreme contrasts
BackgroundSimple, uncluttered backgrounds for better subject isolation
PerspectiveFront-facing or 3/4 view angles provide optimal reconstruction data

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_3D_GENERATOR",
"model": "Qubico/trellis",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Path to the 2D image to be converted into a 3D GLB model

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": "Qubico/trellis",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_40_04_213_dress.png"
}
}'

Response Format

{
"aiRecord": {
"uuid": "t3d1l2s3-m4o5-6789-def0-123456789abc",
"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": 55000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-01-15T15:00:00.000Z",
"updatedBy": "SYSTEM"
},
"model": "Qubico/trellis",
"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/models/2025_01_15_15_01_20_001_3d_model.glb"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/models/2025_01_15_15_01_20_001_3d_model.glb?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

Professional 3D Development

  • Game Asset Creation: Generate 3D models from concept art for game development pipelines
  • Architectural Visualization: Convert architectural sketches into 3D models for presentations
  • Product Prototyping: Create 3D prototypes from product photographs for design validation
  • Animation Pre-production: Generate reference 3D models for animation and rigging workflows
  • VFX Reference: Create 3D assets for visual effects and compositing work

E-commerce & Retail

  • Product Visualization: Transform product photos into interactive 3D models for online stores
  • Virtual Showrooms: Create immersive shopping experiences with 3D product catalogs
  • AR Shopping: Generate AR-ready models for virtual try-on and placement applications
  • Inventory Management: Create 3D representations for digital inventory systems
  • Marketing Campaigns: Develop engaging 3D content for advertising and social media

Manufacturing & Design

  • Reverse Engineering: Generate 3D models from photographs for manufacturing reference
  • Quality Control: Create 3D standards from product images for comparison and inspection
  • Design Documentation: Convert design sketches into 3D technical documentation
  • Prototype Development: Generate initial 3D models for rapid prototyping workflows
  • Training Materials: Create 3D training assets from existing product documentation

Education & Research

  • Scientific Modeling: Convert scientific specimens and artifacts into 3D educational models
  • Historical Preservation: Create 3D archives of historical objects and artifacts
  • Interactive Learning: Develop 3D educational content from 2D reference materials
  • Research Documentation: Generate 3D models for academic research and publication
  • Virtual Museums: Create digital 3D collections from photographic archives

Entertainment & Media

  • Film Production: Generate 3D assets from concept art for movie and TV production
  • Virtual Production: Create 3D environments and props for virtual set extensions
  • Content Creation: Develop 3D content for YouTube, streaming, and social media
  • Interactive Media: Create 3D elements for interactive documentaries and experiences
  • Digital Art: Transform 2D artwork into immersive 3D installations and exhibitions