Skip to main content
POST
/
v1
/
3d
/
generations
Generate 3D model
curl --request POST \
  --url https://api.siray.ai/v1/3d/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_size": true,
  "face_limit": 1,
  "image": "example_value",
  "model": "tripo/tripo3d-v2.5-image-to-3d",
  "pbr_enable": true,
  "quad": false,
  "seed": -1,
  "texture_alignment": "original_image",
  "texture_enable": true,
  "texture_quality": "standard",
  "texture_seed": 1
}
'
{
  "code": "success",
  "data": {
    "task_id": "<string>"
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for 3D model generation

image
string
required

Input image for generation, it can be data URL or image URL

model
enum<string>
required

Model name to use for the request

Available options:
tripo/tripo3d-v2.5-image-to-3d
auto_size
boolean
default:true

Whether to automatically adjust model dimensions

face_limit
integer

Maximum number of faces for the 3D mesh

pbr_enable
boolean
default:true

Whether to enable PBR (Physically Based Rendering) material output

quad
boolean
default:false

Whether to use quad (4-sided) mesh topology

seed
integer

Random seed for generation

Required range: -1 <= x <= 9999999999
texture_alignment
enum<string>

Texture alignment mode

Available options:
original_image,
geometry
texture_enable
boolean
default:true

Whether to enable texture generation

texture_quality
enum<string>

Texture quality level

Available options:
standard,
HD
texture_seed
integer

Seed for texture generation randomization

Response

200 - application/json

Successful response

Standard async task creation response

code
string
required

Status code returned by the service

Example:

"success"

data
object
required

Response payload containing task details

message
string
required

Additional information about the request result