# Tripo H3.5 Text to 3D

> Tripo H3.5 generates detailed 3D models from text descriptions, with geometric surface detail, crisp edges, clean surfaces, and distinct structural features.


## Overview

- **Endpoint**: `https://fal.run/tripo3d/h3.5/text-to-3d`
- **Model ID**: `tripo3d/h3.5/text-to-3d`
- **Category**: text-to-3d
- **Kind**: inference
**Tags**: 3d, text-to-3d, geometry, high-fidelity



## Pricing

Your request will cost $0.30 without textures, $0.40 with standard textures, $0.50 with detailed textures, or $0.60 with extreme textures. Detailed geometry adds $0.15.

For more details, see [fal.ai pricing](https://fal.ai/pricing).

## API Information

This model can be used via our HTTP API or more conveniently via our client libraries.
See the input and output schema below, as well as the usage examples.


### Input Schema

The API accepts the following input parameters:


- **`prompt`** (`string`, _required_):
  Text description of the 3D object to generate. Maximum 1024 characters.
  - Examples: "A small house with a red roof and white walls"

- **`negative_prompt`** (`string`, _optional_):
  Text describing features to avoid in the generated model. Maximum 255 characters.

- **`face_limit`** (`integer`, _optional_):
  Maximum number of faces for the generated mesh. Up to 2,000,000 with standard geometry and 5,000,000 with detailed geometry. If not set, the model adaptively determines the count.
  - Range: `1000` to `5000000`

- **`texture`** (`boolean`, _optional_):
  Whether to generate textures for the model. Default value: `true`
  - Default: `true`

- **`pbr`** (`boolean`, _optional_):
  Whether to generate PBR (Physically Based Rendering) materials. If true, texture is also enabled. Default value: `true`
  - Default: `true`

- **`model_seed`** (`integer`, _optional_):
  Seed for geometry generation reproducibility.

- **`image_seed`** (`integer`, _optional_):
  Seed for the text-to-image step.

- **`texture_seed`** (`integer`, _optional_):
  Seed for texture generation reproducibility.

- **`texture_quality`** (`TextureQualityEnum`, _optional_):
  Texture quality level. 'detailed' produces higher-resolution textures; 'extreme' produces 8K textures. Default value: `"standard"`
  - Default: `"standard"`
  - Options: `"standard"`, `"detailed"`, `"extreme"`

- **`geometry_quality`** (`GeometryQualityEnum`, _optional_):
  Quality level for geometry. Default value: `"standard"`
  - Default: `"standard"`
  - Options: `"standard"`, `"detailed"`

- **`auto_size`** (`boolean`, _optional_):
  Auto-scale the model to real-world dimensions (meters).
  - Default: `false`

- **`upscale`** (`boolean`, _optional_):
  Upscale the reference image(s) before 3D generation; for text-to-3D, the intermediate concept image. Off by default.
  - Default: `false`

- **`enable_safety_checker`** (`boolean`, _optional_):
  Authorized callers may set false to request relaxed screening. Default value: `true`
  - Default: `true`



**Required Parameters Example**:

```json
{
  "prompt": "A small house with a red roof and white walls"
}
```

**Full Example**:

```json
{
  "prompt": "A small house with a red roof and white walls",
  "texture": true,
  "pbr": true,
  "texture_quality": "standard",
  "geometry_quality": "standard",
  "enable_safety_checker": true
}
```


### Output Schema

The API returns the following output format:

- **`model_mesh`** (`File`, _required_):
  Generated 3D model file. May be GLB or FBX depending on Tripo output.

- **`model_urls`** (`ModelUrls`, _required_):
  URLs for different 3D model variants.

- **`rendered_image`** (`File`, _optional_):
  Preview render of the generated 3D model.

- **`task_id`** (`string`, _optional_):
  Tripo task ID for a generated model. Pass this to rig or rig-check to use the model without uploading it again.



**Example Response**:

```json
{
  "model_mesh": {
    "url": "",
    "content_type": "image/png",
    "file_name": "z9RV14K95DvU.png",
    "file_size": 4404019
  },
  "model_urls": {}
}
```


## Usage Examples

### cURL

```bash
curl --request POST \
  --url https://fal.run/tripo3d/h3.5/text-to-3d \
  --header "Authorization: Key $FAL_KEY" \
  --header "Content-Type: application/json" \
  --data '{
     "prompt": "A small house with a red roof and white walls"
   }'
```

### Python

Ensure you have the Python client installed:

```bash
pip install fal-client
```

Then use the API client to make requests:

```python
import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "tripo3d/h3.5/text-to-3d",
    arguments={
        "prompt": "A small house with a red roof and white walls"
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)
```

### JavaScript

Ensure you have the JavaScript client installed:

```bash
npm install --save @fal-ai/client
```

Then use the API client to make requests:

```javascript
import { fal } from "@fal-ai/client";

const result = await fal.subscribe("tripo3d/h3.5/text-to-3d", {
  input: {
    prompt: "A small house with a red roof and white walls"
  },
  logs: true,
  onQueueUpdate: (update) => {
    if (update.status === "IN_PROGRESS") {
      update.logs.map((log) => log.message).forEach(console.log);
    }
  },
});
console.log(result.data);
console.log(result.requestId);
```


## Deploy your own model

To run your own weights, a fine-tune or a custom pipeline on the GPUs that serve this API, deploy it on fal Serverless. GPUs from H100 (80GB) to B300 (288GB), billed per second; an H100 is $4.50/h list, as low as $2.49/h. Prices, GPU specs and deploy steps: [fal Serverless](https://fal.ai/serverless.md).

## Additional Resources

### Documentation

- [Model Playground](https://fal.ai/models/tripo3d/h3.5/text-to-3d)
- [API Documentation](https://fal.ai/models/tripo3d/h3.5/text-to-3d/api)
- [OpenAPI Schema](https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=tripo3d/h3.5/text-to-3d)

### fal.ai Platform

- [Platform Documentation](https://fal.ai/docs/documentation)
- [Python Client](https://fal.ai/docs/api-reference/client-libraries/python)
- [JavaScript Client](https://fal.ai/docs/api-reference/client-libraries/javascript)

### Other agent-readable surfaces

This file covers one model. To find anything else:

- [Platform overview](https://fal.ai/llms.txt): Entry points and representative endpoint IDs
- [Documentation index](https://fal.ai/docs/llms.txt): Every documentation page
- [Full documentation text](https://fal.ai/docs/llms-full.txt): The whole documentation inlined
- [Pricing](https://fal.ai/pricing.md): Model API and Serverless GPU prices
- [fal Serverless](https://fal.ai/serverless.md): Deploy your own models: GPU prices, specs and steps
- Any other model: `https://fal.ai/models/<endpoint-id>/llms.txt`
