image_urlTopaz Upscale Precision API — 接続と支払いの方法
Flow経由のTopaz Precision Upscale(Standard V2、High Fidelity V2/V3、Low Resolution V2、CGI、Text Refine、Faces)—生成されたディテールを加えず忠実にアップスケールし、印刷用に最大512 MPの出力に対応します。料金は出力24 MP単位で、処理を開始した単位ごとに発生します。source_megapixelsとoutput_megapixelsは必須で、upscale_factorは1–4の小数倍率です。
必要な結果を作成
topaz-upscale-precisionこのモデルはカタログに最低価格のみ掲載されています。
Topaz Upscale Precisionとは
Flow経由のTopaz Precision Upscale(Standard V2、High Fidelity V2/V3、Low Resolution V2、CGI、Text Refine、Faces)—生成されたディテールを加えず忠実にアップスケールし、印刷用に最大512 MPの出力に対応します。料金は出力24 MP単位で、処理を開始した単位ごとに発生します。source_megapixelsとoutput_megapixelsは必須で、upscale_factorは1–4の小数倍率です。
契約の概要
- 入力
- image
- 出力
- image
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大90秒
強み
- 料金:画像あたり
- 入力:画像
- 7個の設定可能なオプション
- メディア生成用の1つのAPIキー
用途
- 記事およびソーシャルメディア用のイラスト
- 商品画像
- バナーとカバー
- デザインプロトタイプ
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- image
- 出力
- image
- ポーリング
- 3秒ごと · 最大90秒
- 認証
- 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":"topaz-upscale-precision","opts":{"image_url":"https://example.com/image_url.png","model":"Standard V2","source_megapixels":1,"output_megapixels":4,"upscale_factor":2,"output_format":"jpeg","face_enhancement":true}}'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": "topaz-upscale-precision",
"opts": {
"image_url": "https://example.com/image_url.png",
"model": "Standard V2",
"source_megapixels": 1,
"output_megapixels": 4,
"upscale_factor": 2,
"output_format": "jpeg",
"face_enhancement": true
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でTopaz Upscale Precisionにリクエストする際のパラメータ。
modelsource_megapixels必須output_megapixels必須upscale_factoroutput_formatface_enhancementimage_file_idimage_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
image_url | URL | Public image URL | — | — |
model | option selection | Standard V2 (default) · High Fidelity V2 · High Fidelity V3 · Low Resolution V2 · CGI · Text Refine · Faces | Standard V2 | Included in the base price |
source_megapixels必須 | text / number | any value | — | Included in the base price |
output_megapixels必須 | text / number | any value | — | Included in the base price |
upscale_factor | text / number | any value | — | Included in the base price |
output_format | option selection | JPEG (default) · PNG | JPEG | Included in the base price |
face_enhancement | yes/no | Yes (default) · No | はい | 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です。
Topaz Upscale Precisionの価格
Topaz Upscale Precisionの料金: から $0.106667 per image。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Topaz model — Standard V2, Format — JPEG, Face enhancement — Yes。 このリクエストの料金は$0.106667です。
README
Topaz Upscale Precisionの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Topaz Upscale Precision
公開モデル: topaz-upscale-precision
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `image_url` (URL): Public image URL; デフォルト: —
- `model` (option selection): Standard V2 (default) · High Fidelity V2 · High Fidelity V3 · Low Resolution V2 · CGI · Text Refine · Faces; デフォルト: Standard V2
- `source_megapixels` (text / number): any value; デフォルト: —
- `output_megapixels` (text / number): any value; デフォルト: —
- `upscale_factor` (text / number): any value; デフォルト: —
- `output_format` (option selection): JPEG (default) · PNG; デフォルト: JPEG
- `face_enhancement` (yes/no): Yes (default) · No; デフォルト: Yes
- `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; デフォルト: —
## 公開バリアント
- `topaz-upscale-precision`: デフォルトTopaz Upscale Precision APIに関するよくある質問
Topaz Upscale Precisionの料金はいくらですか?
Topaz Upscale Precisionの料金はから $0.106667 per imageです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。