Image to 3D
Transform 2D images into high-quality 3D assets. Triverse supports textured models, mesh-only geometry, and optimized Artistic Mesh generation.
Image to Textured Model
Generates a complete 3D model with high-fidelity textures based on a single reference image.
Endpoint
POST /tasks/image-to-model
Authentication
Required (Bearer Token)
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
image_file | String | Required | The file_key or public URL of the reference image. |
model_version | String | v2 | The AI model version to use for generation. |
polygon_limit | Integer | 1,000,000 | Maximum number of polygons (Valid range: 1,000 to 1,500,000). |
texture_size | Integer | 1024 | Resolution of the generated texture (Range: 1024 - 4096). |
turbo | Boolean | false | Enables faster geometry generation by using the Turbo path; output quality may be lower. |
client_order_id | String | None | Optional idempotency key. When provided, it must be unique per user and 1-64 characters using only letters, numbers, underscores, or hyphens. |
allow_duplicate | Boolean | None | Set to true to intentionally resubmit a request that would otherwise match the short duplicate window. |
Example Request
cURL
curl -X 'POST' \
'https://api.triverse.ai/api/v1/tasks/image-to-model' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
"model_version": "v2",
"polygon_limit": 1000000,
"texture_size": 1024
}'JavaScript
const response = await fetch(
"https://api.triverse.ai/api/v1/tasks/image-to-model",
{
method: "POST",
headers: {
Accept: "application/json",
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
model_version: "v2",
polygon_limit: 1000000,
texture_size: 1024,
}),
}
);
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
"https://api.triverse.ai/api/v1/tasks/image-to-model",
headers={
"Accept": "application/json",
"Authorization": "Bearer <YOUR_API_KEY>",
},
json={
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
"model_version": "v2",
"polygon_limit": 1000000,
"texture_size": 1024,
},
)
print(response.json())Multi-View Image to Textured Model
Generates a textured 3D model from directional images. The images are used for geometry generation; the front image is used for texturing.
Endpoint
POST /tasks/image-to-model-mv
Authentication
Required (Bearer Token)
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
front_image_file | String | Required | The front image file_key or public URL. |
right_image_file | String | Optional | The right image file_key or public URL. |
back_image_file | String | Optional | The back image file_key or public URL. |
left_image_file | String | Optional | The left image file_key or public URL. |
model_version | String | v2 | The AI model version to use for generation. |
polygon_limit | Integer | 1,000,000 | Maximum number of polygons (Valid range: 1,000 to 1,500,000). |
texture_size | Integer | 1024 | Resolution of the generated texture (Range: 1024 - 4096). |
turbo | Boolean | false | false selects quality mode; true selects the faster mode, which may reduce output quality. |
client_order_id | String | None | Optional idempotency key. When provided, it must be unique per user and 1-64 characters using only letters, numbers, underscores, or hyphens. |
allow_duplicate | Boolean | None | Set to true to intentionally resubmit a request that would otherwise match the short duplicate window. |
Rules
front_image_fileis required.- At least one of
right_image_file,back_image_file, orleft_image_filemust also be provided. - A request with only
frontis rejected during request validation. - Supply each view as a public HTTP(S) URL or the
file_keyreturned by Upload Files.
Use Pricing Quote with flow_name multiview-to-model and the intended turbo value to check the cost before creating the task.
Example Request
cURL
curl -X 'POST' \
'https://api.triverse.ai/api/v1/tasks/image-to-model-mv' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"front_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/front.png",
"right_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/right.png",
"back_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/back.png",
"model_version": "v2",
"polygon_limit": 1000000,
"texture_size": 1024
}'JavaScript
const response = await fetch(
"https://api.triverse.ai/api/v1/tasks/image-to-model-mv",
{
method: "POST",
headers: {
Accept: "application/json",
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
front_image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/front.png",
right_image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/right.png",
back_image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/back.png",
model_version: "v2",
polygon_limit: 1000000,
texture_size: 1024,
}),
}
);
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
"https://api.triverse.ai/api/v1/tasks/image-to-model-mv",
headers={
"Accept": "application/json",
"Authorization": "Bearer <YOUR_API_KEY>",
},
json={
"front_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/front.png",
"right_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/right.png",
"back_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/back.png",
"model_version": "v2",
"polygon_limit": 1000000,
"texture_size": 1024,
},
)
print(response.json())Response and Result
A successful create response contains a data.task_uuid. For example:
{
"code": 0,
"message": "success",
"data": {
"task_uuid": "92483a80-236c-4889-9a95-4c90bb64dfd8",
"flow_name": "multiview-to-model",
"status": "PENDING",
"created_at": "2026-05-27T12:39:48Z",
"cost_credits": 35
}
}The shown cost is an example; use the quote and returned cost_credits for the actual request. Poll the same task with Task Status. When it reaches SUCCESS, retrieve the model through Download Assets. On FAILED, inspect the task's error.
During maintenance, HTTP 200 with code 2021 also means the task was accepted. Save data.task_uuid; if read_after_write_header and read_after_write_deadline_seconds are returned, send the named header with value 1 on status reads until the deadline. See Errors for request errors and recovery.
Image to Geometry (Mesh Only)
Generates a pure geometric mesh without textures. This is ideal for workflows where you intend to apply custom materials or perform further sculpting.
Endpoint
POST /tasks/image-to-mesh
Authentication
Required (Bearer Token)
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
image_file | String | Required | The file_key or public URL of the reference image. |
model_version | String | v2 | The AI model version to use. |
polygon_limit | Integer | 1,000,000 | Target polygon count for the mesh. Valid range: 1,000 to 1,500,000. |
turbo | Boolean | false | Enables faster geometry generation by using the Turbo path; output quality may be lower. |
client_order_id | String | None | Optional idempotency key. When provided, it must be unique per user and 1-64 characters using only letters, numbers, underscores, or hyphens. |
allow_duplicate | Boolean | None | Set to true to intentionally resubmit a request that would otherwise match the short duplicate window. |
Response
All task creation endpoints return a PublicTaskCreationPayload containing a task_uuid. Use this ID to monitor the
task status via the Task Status endpoint or WebSockets.
{
"code": 0,
"message": "success",
"data": {
"task_uuid": "92483a80-236c-4889-9a95-4c90bb64dfd8",
"flow_name": "image-to-mesh",
"status": "PENDING",
"created_at": "2026-05-27T12:39:48.228522Z",
"cost_credits": 120
}
}Example Request
cURL
curl -X 'POST' \
'https://api.triverse.ai/api/v1/tasks/image-to-mesh' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
"polygon_limit": 750000
}'JavaScript
const response = await fetch(
"https://api.triverse.ai/api/v1/tasks/image-to-mesh",
{
method: "POST",
headers: {
Accept: "application/json",
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
polygon_limit: 750000,
}),
}
);
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
"https://api.triverse.ai/api/v1/tasks/image-to-mesh",
headers={
"Accept": "application/json",
"Authorization": "Bearer <YOUR_API_KEY>",
},
json={
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/reference.png",
"polygon_limit": 750000,
},
)
print(response.json())Image to Artistic Mesh
Generates an optimized Artistic Mesh from a single reference image. Upload a local image with
POST /upload/image first, then pass the returned file_key as image_file.
A publicly accessible absolute image URL is also accepted.
Endpoint
POST /tasks/image-to-artistic-mesh
Authentication
Required (Bearer Token)
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
image_file | String | Required | The uploaded image file_key or a publicly accessible absolute URL. |
model_version | String | craftsman-v3-2-3 | Artistic Mesh model version. |
num_verts | Integer | 4096 | Target vertex count. Must be at least 1. |
client_order_id | String | None | Optional idempotency key. When provided, it must be unique per user and no longer than 64 characters. |
allow_duplicate | Boolean | None | Set to true to intentionally resubmit a request that would otherwise match the short duplicate window. |
Unknown request fields are rejected. Artistic Mesh uses a fixed API price of 25 credits; model_version and num_verts
do not change the price. Use POST /tasks/pricing/quote with flow_name: "image-to-artistic-mesh" to check the current
price and available balance before creation.
Response
The endpoint returns a PublicTaskCreationPayload. Use task_uuid with
GET /tasks/{task_uuid} to monitor the task. After it reaches SUCCESS, use
GET /tasks/url/{task_uuid} to obtain the model and preview URLs.
{
"code": 0,
"message": "success",
"data": {
"task_uuid": "92483a80-236c-4889-9a95-4c90bb64dfd8",
"flow_name": "image-to-artistic-mesh",
"status": "PENDING",
"created_at": "2026-07-12T08:00:00Z",
"cost_credits": 25
}
}Example Request
cURL
curl -X 'POST' \
'https://api.triverse.ai/api/v1/tasks/image-to-artistic-mesh' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20260712/reference.png",
"model_version": "craftsman-v3-2-3",
"num_verts": 4096,
"client_order_id": "artistic-mesh-example-001"
}'JavaScript
const response = await fetch(
"https://api.triverse.ai/api/v1/tasks/image-to-artistic-mesh",
{
method: "POST",
headers: {
Accept: "application/json",
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
image_file:
"tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20260712/reference.png",
model_version: "craftsman-v3-2-3",
num_verts: 4096,
client_order_id: "artistic-mesh-example-001",
}),
}
);
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
"https://api.triverse.ai/api/v1/tasks/image-to-artistic-mesh",
headers={
"Accept": "application/json",
"Authorization": "Bearer <YOUR_API_KEY>",
},
json={
"image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20260712/reference.png",
"model_version": "craftsman-v3-2-3",
"num_verts": 4096,
"client_order_id": "artistic-mesh-example-001",
},
)
print(response.json())Multi-View Image to Geometry (Mesh Only)
Generates a mesh-only model from directional images. Use this when you have multiple views and do not need generated textures.
Endpoint
POST /tasks/image-to-mesh-mv
Authentication
Required (Bearer Token)
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
front_image_file | String | Required | The front image file_key or public URL. |
right_image_file | String | None | The optional right image file_key or public URL. |
back_image_file | String | None | The optional back image file_key or public URL. |
left_image_file | String | None | The optional left image file_key or public URL. |
model_version | String | v2 | The model version to use for generation. |
polygon_limit | Integer | 1,000,000 | Polygon limit. Valid range: 1,000 to 1,500,000. |
turbo | Boolean | false | false selects quality mode; true selects the faster mode, which may reduce output quality. |
client_order_id | String | None | Optional idempotency key. When provided, it must be unique per user and 1-64 characters using only letters, numbers, underscores, or hyphens. |
allow_duplicate | Boolean | None | Set to true to intentionally resubmit a request that would otherwise match the short duplicate window. |
Rules
front_image_fileis required.- At least one of
right_image_file,back_image_file, orleft_image_filemust also be provided. - Supply each view as a public HTTP(S) URL or the
file_keyreturned by Upload Files.
Use Pricing Quote with flow_name multiview-to-mesh and the intended turbo value to check the cost before creating the task.
Example Request
cURL
curl -X 'POST' \
'https://api.triverse.ai/api/v1/tasks/image-to-mesh-mv' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"front_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/front.png",
"right_image_file": "tasks/uid_64e96053-76ab-4e9c-bd82-2def925b53bc/20250805/right.png",
"model_version": "v2",
"polygon_limit": 1000000,
"turbo": false
}'JavaScript
const response = await fetch(
"https://api.triverse.ai/api/v1/tasks/image-to-mesh-mv",
{
method: "POST",
headers: {
Accept: "application/json",
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
front_image_file: "tasks/uid_<USER_ID>/20250805/front.png",
right_image_file: "tasks/uid_<USER_ID>/20250805/right.png",
model_version: "v2",
polygon_limit: 1000000,
turbo: false,
}),
}
);
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
"https://api.triverse.ai/api/v1/tasks/image-to-mesh-mv",
headers={
"Accept": "application/json",
"Authorization": "Bearer <YOUR_API_KEY>",
},
json={
"front_image_file": "tasks/uid_<USER_ID>/20250805/front.png",
"right_image_file": "tasks/uid_<USER_ID>/20250805/right.png",
"model_version": "v2",
"polygon_limit": 1000000,
"turbo": False,
},
)
print(response.json())Response and Result
A successful create response contains a data.task_uuid. For example:
{
"code": 0,
"message": "success",
"data": {
"task_uuid": "92483a80-236c-4889-9a95-4c90bb64dfd8",
"flow_name": "multiview-to-mesh",
"status": "PENDING",
"created_at": "2026-05-27T12:39:48Z",
"cost_credits": 25
}
}The shown cost is an example; use the quote and returned cost_credits for the actual request. Poll the same task with Task Status. When it reaches SUCCESS, retrieve the mesh through Download Assets. On FAILED, inspect the task's error.
During maintenance, HTTP 200 with code 2021 also means the task was accepted. Save data.task_uuid; if read_after_write_header and read_after_write_deadline_seconds are returned, send the named header with value 1 on status reads until the deadline. See Errors for request errors and recovery.