API reference · pixal3d
pixal3d/pixal3d
Integrate this model through SandBase's unified API, with production-ready schemas and examples.
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/runModel ID
pixal3d/pixal3d01
Input Schema
20 parameters · 1 required · 19 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | URL of the input image to convert to 3D |
seed | integer | Optional | Random seed for reproducibility |
remesh | boolean | Optional | Rebuild the mesh topology for cleaner triangles. Slower but usually produces better results for downstream use. · Default: true |
mesh_scale | number | Optional | Scale factor applied to the inferred mesh. Affects the camera distance estimation used by the model. · Min: 0.1 · Max: 4 · Default: 1 |
resolution | integer | Optional | Output resolution; higher is slower but more detailed · Options: 1024, 1536 · Default: 1024 10241536 |
ss_rescale_t | number | Optional | Controls noise schedule sharpness for structure generation. Higher values produce sharper transitions. · Min: 1 · Max: 6 · Default: 5 |
texture_size | integer | Optional | Resolution of the texture image baked onto the mesh. Higher values capture finer surface details but produce larger files. · Options: 1024, 2048, 4096 · Default: 2048 102420484096 |
max_num_tokens | integer | Optional | Maximum number of HR tokens used by the cascaded shape sampler. Higher values allow finer geometry; lower values reduce memory and time. · Min: 4096 · Max: 131072 · Default: 49152 |
decimation_target | integer | Optional | Target number of vertices in the final mesh. Lower values produce smaller files but less detail. · Min: 5000 · Max: 2000000 · Default: 200000 |
ss_sampling_steps | integer | Optional | Number of denoising steps for the initial structure. More steps = slower but potentially higher quality. · Min: 1 · Max: 50 · Default: 12 |
tex_slat_rescale_t | number | Optional | Controls noise schedule sharpness for texture generation. Higher values produce sharper texture details. · Min: 1 · Max: 6 · Default: 3 |
ss_guidance_rescale | number | Optional | Dampens artifacts from high guidance in stage 1. Lower values allow stronger guidance effects, higher values stabilize the output. · Min: 0 · Max: 1 · Default: 0.7 |
shape_slat_rescale_t | number | Optional | Controls noise schedule sharpness for shape refinement. Higher values produce sharper geometric details. · Min: 1 · Max: 6 · Default: 3 |
ss_guidance_strength | number | Optional | How closely the initial 3D structure follows the input image. Higher values produce more faithful but potentially noisier results. · Min: 0 · Max: 10 · Default: 7.5 |
tex_slat_sampling_steps | integer | Optional | Number of denoising steps for texture generation. More steps = slower but potentially cleaner textures. · Min: 1 · Max: 50 · Default: 12 |
shape_slat_sampling_steps | integer | Optional | Number of denoising steps for shape refinement. More steps = slower but potentially smoother geometry. · Min: 1 · Max: 50 · Default: 12 |
tex_slat_guidance_rescale | number | Optional | Dampens artifacts from high guidance in the texture stage. Increase if textures look noisy or have color banding. · Min: 0 · Max: 1 · Default: 0 |
tex_slat_guidance_strength | number | Optional | How closely the texture follows the input image colors. Higher values produce more vivid but potentially oversaturated textures. · Min: 0 · Max: 10 · Default: 1 |
shape_slat_guidance_rescale | number | Optional | Dampens artifacts from high guidance in the shape stage. Increase if you see noisy geometry. · Min: 0 · Max: 1 · Default: 0.5 |
shape_slat_guidance_strength | number | Optional | How closely the detailed geometry follows the input image. Higher values add more detail but may introduce noise. · Min: 0 · Max: 10 · Default: 7.5 |
02
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
03
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "pixal3d/pixal3d",
"image": "https://static.sandbase.ai/examples/pixal3d/pixal3d/input_image_0.png",
"remesh": true,
"mesh_scale": 1,
"resolution": 1024,
"ss_rescale_t": 5,
"texture_size": 2048,
"max_num_tokens": 49152,
"decimation_target": 200000,
"ss_sampling_steps": 12,
"tex_slat_rescale_t": 3,
"ss_guidance_rescale": 0.7,
"shape_slat_rescale_t": 3,
"ss_guidance_strength": 7.5,
"tex_slat_sampling_steps": 12,
"shape_slat_sampling_steps": 12,
"tex_slat_guidance_rescale": 0,
"tex_slat_guidance_strength": 1,
"shape_slat_guidance_rescale": 0.5,
"shape_slat_guidance_strength": 7.5,
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"
