trellis:flowデフォルトTrellis API — 接続と支払いの方法
Trellis (Microsoft) — 画像から即座に3Dを生成。出力 .glb。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
Flow trellis:flowデフォルト | $0.026667から per model |
必要な結果を作成
trellis:flowこのモデルはカタログに最低価格のみ掲載されています。
Trellisとは
Trellis (Microsoft) — 画像から即座に3Dを生成。出力 .glb。
契約の概要
- 入力
- image
- 出力
- 3d
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大300秒
強み
- 料金: モデル単位
- 入力: 画像
- 設定可能なオプション3つ
- メディア生成用のAPIキー1つ
用途
- ゲームアセット
- 製品ビジュアライゼーション
- ARオブジェクト
- コンセプトモデリング
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- image
- 出力
- 3d
- ポーリング
- 3秒ごと · 最大300秒
- 認証
- Authorization: Bearer sk-pv-…
リクエスト例
Bearerヘッダーにキーを渡します。APIはjobIdステータスをポーリングするために使用します。
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リクエストパラメータ
GetVibe API経由でTrellisにリクエストする際のパラメータ。
image_urlproviderseedss_guidance_strengthss_sampling_stepsslat_guidance_strengthslat_sampling_stepsmesh_simplifytexture_sizeimage_file_idimage_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
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 |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Trellisの価格
Trellisの料金: から $0.026667 per model。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Texture size — 1024 px。 このリクエストの料金は$0.026667です。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Flowtrellis:flow$0.026667から正確な価格
| 価格 | 価格 |
|---|---|
| Flow | $0.026667 |
すべての組み合わせ(JSON): /api/media/price-table?model=trellis%3Aflow
README
Trellisの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Trellis
公開モデル: trellis:flow
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `image_url` (URL): Public image URL; デフォルト: —
- `provider` (option selection): Flow (default); デフォルト: Flow
- `seed` (text / number): any value; デフォルト: —
- `ss_guidance_strength` (text / number): any value; デフォルト: —
- `ss_sampling_steps` (text / number): any value; デフォルト: —
- `slat_guidance_strength` (text / number): any value; デフォルト: —
- `slat_sampling_steps` (text / number): any value; デフォルト: —
- `mesh_simplify` (text / number): any value; デフォルト: —
- `texture_size` (option selection): 512 px · 1024 px (default) · 2048 px; デフォルト: 1024 px
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; デフォルト: —
## 公開バリアント
- `trellis:flow`: FlowTrellis APIに関するよくある質問
Trellisの料金はいくらですか?
Trellisの料金はから $0.026667 per modelです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。