ByteDanceのSeedance 2.5がApiframeで正式提供開始。
画像

Clarity Upscaler API

提供: Clarity

創造的な「hi-res fix」アップスケーラー。好みに合わせてディテールを補完。

~13s
平均生成時間
3 credits
最低価格

clarity-upscale

画像モデル

A sleek silver sports car on a coastal highway at sunset, hyper-realistic, golden light.

プレイグラウンド

Clarity Upscalerをここで試す。

model: clarity-upscale
Scale factor
メディア入力
詳細設定
推定コスト 3 クレジット · $0.03 Studioで生成
出力

出力はここに表示されます。生成を押すとStudioでこのリクエストが実行されます。

料金

シンプルな生成単位課金。

3 クレジット/1生成あたり ≈ $0.03

  • 成功した生成にのみ課金されます。失敗したジョブは自動的に返金されます。
  • Apiframeの全モデルでひとつのクレジット残高を共有。モデルごとのプランはありません。
  • 無料クレジットで開始。サブスクリプションは不要です。
  • 大きなプランにはボリュームディスカウントがあります。
プランとクレジットパックを見る

スペック

ひと目でわかる。

プロバイダー Clarity
モデルID clarity-upscale
画像入力 対応
平均時間 ~13秒

クイックスタート

Clarity Upscaler APIの呼び出し方。

APIキーを添えてPOST /v2/images/upscaleリクエストをひとつ送るだけ。呼び出しはポーリング可能なjobIdを返します。webhook_urlを渡せば、結果は完成と同時にプッシュされます。

clarity-upscaleを別のモデルに替えても、他は何も変わりません。

const response = await fetch("https://api.apiframe.ai/v2/images/upscale", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "clarity-upscale",
    "clarityUpscaleParams": {
      "image": "https://example.com/input.jpg",
      "prompt": "Optional — describe the kind of detail to add",
      "scale_factor": "2",
      "creativity": 0.35
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

入力スキーマ

Clarity Upscalerが受け付けるすべてのフィールドと型、デフォルト値。完全なリファレンスはドキュメントにあります。

フィールド 説明
model 必須 string このエンドポイントのモデル識別子。 デフォルト:"clarity-upscale" · "clarity-upscale"
clarityUpscaleParams.image string (URL) Source image (URL)
clarityUpscaleParams.prompt string Steering prompt
clarityUpscaleParams.scale_factor string Scale factor デフォルト:"2" · "1", "2", "4", "8"
clarityUpscaleParams.creativity number How much new detail Clarity is allowed to invent. デフォルト:0.35 · min 0, max 1, step 0.05
clarityUpscaleParams.resemblance number How tightly to stick to the input. デフォルト:0.6 · min 0, max 3, step 0.05
clarityUpscaleParams.dynamic number HDR / dynamic range デフォルト:6 · min 1, max 50, step 1
clarityUpscaleParams.num_inference_steps number Steps デフォルト:18 · min 1, max 100, step 1
clarityUpscaleParams.output_format string Output format デフォルト:"png" · "png", "jpg", "webp"
clarityUpscaleParams.seed number Reuse a number to reproduce the same result. step 1

Clarityのバージョン

ApiframeのすべてのClarity 画像モデル。パラメータひとつで切り替えられます。

Clarity Upscalerに関する質問

Clarity Upscalerで出荷する前にチームがよく尋ねる質問。その他はドキュメントをご覧ください。

Clarity Upscaler の API はありますか?

はい。Apiframe は単一の REST エンドポイント(POST /v2/images/upscalemodel: "clarity-upscale")で Clarity Upscaler を提供します。対応するすべてのモデルで、統一されたAPI・キー・請求をご利用いただけ、Clarity の個別アカウントは不要です。

Clarity Upscaler API の料金はいくらですか?

Clarity Upscaler は Apiframe のシンプルな従量課金制で、成功した生成分のみお支払いいただきます。プランと数量割引は料金ページをご覧ください。

Clarity Upscaler API はどのように呼び出しますか?

X-API-Key と、model: "clarity-upscale" を含む JSON ボディを添えて /v2/images/upscale に POST リクエストを送ります。レスポンスで返る jobIdGET /v2/jobs/{id} でポーリングするか、Webhook で結果を受け取ります。

Clarity Upscaler はどんなパラメータに対応していますか?

Clarity Upscaler は、共通の promptwebhook_url に加えて、clarityUpscaleParams の下にネストされた 9 個のモデル固有パラメータを受け付けます。型やデフォルト値を含む一覧は上記の入力スキーマをご覧ください。

9,800+

開発者と企業

G2評価 4.8

公式パートナー

BytePlus Alibaba Cloud MiniMax

次のAIプロダクトをApiframeで。

ひとつのAPIで70以上のメディアモデルに即アクセス。無料で始めて、準備ができたらスケールしましょう。