trellis:flowdefaultTrellis API — how to connect and pay
Trellis (Microsoft) — instant 3D generation from an image. Output .glb.
Channel comparison
last 7 days
| Channel | Price |
|---|---|
Flow trellis:flowdefault | from $0.026667 per model |
Build the result you need
trellis:flowThis model only publishes its minimum price in the catalog.
What is Trellis
Trellis (Microsoft) — instant 3D generation from an image. Output .glb.
Contract at a glance
- Input
- image
- Output
- 3d
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 300 s
Strengths
- Pricing: per model
- Inputs: image
- 3 configurable options
- One API key for media generation
Where it is used
- Game assets
- Product visualization
- AR objects
- Concept modeling
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- image
- Output
- 3d
- Polling
- every 3 s · up to 300 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"trellis:flow","opts":{"image_url":"https://example.com/image_url.png","texture_size":"1024"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "trellis:flow",
"opts": {
"image_url": "https://example.com/image_url.png",
"texture_size": "1024"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to Trellis via the GetVibe API.
image_urlproviderseedss_guidance_strengthss_sampling_stepsslat_guidance_strengthslat_sampling_stepsmesh_simplifytexture_sizeimage_file_idimage_base64| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
image_url | URL | Public image URL | — | — |
provider | option selection | Flow (default) | Flow | Included in the base price |
seed | text / number | any value | — | Included in the base price |
ss_guidance_strength | text / number | any value | — | Included in the base price |
ss_sampling_steps | text / number | any value | — | Included in the base price |
slat_guidance_strength | text / number | any value | — | Included in the base price |
slat_sampling_steps | text / number | any value | — | Included in the base price |
mesh_simplify | text / number | any value | — | Included in the base price |
texture_size | option selection | 512 px · 1024 px (default) · 2048 px | 1024 px | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Trellis
The cost of Trellis: from $0.026667 per model. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Texture size — 1024 px. That request costs $0.026667.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
Flowtrellis:flowfrom $0.026667exact prices
| Price | Price |
|---|---|
| Flow | $0.026667 |
Every combination as JSON: /api/media/price-table?model=trellis%3Aflow
README
The machine-readable contract for Trellis contains the request schema, operations, limits, polling and response examples.
# Trellis
Public model: trellis:flow
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `image_url` (URL): Public image URL; default: —
- `provider` (option selection): Flow (default); default: Flow
- `seed` (text / number): any value; default: —
- `ss_guidance_strength` (text / number): any value; default: —
- `ss_sampling_steps` (text / number): any value; default: —
- `slat_guidance_strength` (text / number): any value; default: —
- `slat_sampling_steps` (text / number): any value; default: —
- `mesh_simplify` (text / number): any value; default: —
- `texture_size` (option selection): 512 px · 1024 px (default) · 2048 px; default: 1024 px
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
## Public variants
- `trellis:flow`: FlowFAQ about the Trellis API
How much does Trellis cost?
The price of Trellis: from $0.026667 per model. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.