Krea画像 API$0.012から

Krea API

Krea API on WaveSpeedAI — Krea V3 text-to-image and multi-reference edit, plus Krea 2 Large, Medium, Medium Turbo and the open-weights Krea 2 Turbo with LoRA support, all through one REST API.

Generate images with Krea V3 (quality and speed variants, custom dimensions, seed control), edit and combine up to eight reference images, or pick a Krea 2 model: Large, Medium, Medium Turbo, or the 8-step Turbo with custom LoRAs. Same REST prediction flow as every other model on WaveSpeedAI.

Kreaのサンプル出力

概要

Krea APIについて

Kreaでできること、Kreaのモデルラインナップにおける位置づけ、そして多くのチームに選ばれる理由。

KreaはKreaの画像生成・編集モデルで、WaveSpeedAIのREST APIから利用できます。Krea API on WaveSpeedAI — Krea V3 text-to-image and multi-reference edit, plus Krea 2 Large, Medium, Medium Turbo and the open-weights Krea 2 Turbo with LoRA support, all through one REST API.

Generate images with Krea V3 (quality and speed variants, custom dimensions, seed control), edit and combine up to eight reference images, or pick a Krea 2 model: Large, Medium, Medium Turbo, or the 8-step Turbo with custom LoRAs. Same REST prediction flow as every other model on WaveSpeedAI.

WaveSpeedAIのKreaファミリーには、Image-To-Image, Text-To-Imageのワークフローをカバーする7個のRESTエンドポイントがあります。各バリアントには、それぞれ独自の料金、パラメーター、作例があります。入力の種類と本番環境の制約に合うものを選ぶか、同じAPIキーで複数を呼び出して、多段階のパイプラインを組み立ててください。

WaveSpeedAIの他の1,000以上のAIモデルと同じAPIキー、請求アカウント、レート制限の枠組みでKreaを実行できます。ベンダーごとの設定も、プロバイダーごとのSDKも、ベンダーごとのレート制限も不要です。1つの連携で、テキストから画像、テキストから動画から、音声合成、3D生成、高画質化、編集まで、すべてカバーできます。

エンドポイント

KreaのAPIエンドポイント一覧

WaveSpeedAIで現在利用可能なKreaのエンドポイントは7個です。ワークフローに合ったバリアントを選んでください。

image-to-imagev3 Edit — KreaのKrea image-to-imageプレビュー

v3 Edit

Krea V3 Image Edit edits and combines up to eight reference images with natural-language instructions, supporting quality and speed variants, custom dimensions, seed control, multi-image composition, creative edits, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

$0.03から
text-to-imagev3 Text To Image — KreaのKrea text-to-imageプレビュー

v3 Text To Image

Krea V3 Text-to-Image generates images from text prompts with selectable quality and speed variants, custom dimensions, and seed control for flexible creative and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

$0.03から
text-to-imageKrea v2 Large Text To Image — KreaのKrea text-to-imageプレビュー

Krea v2 Large Text To Image

Krea 2 Large Text to Image is a fast AI image generation model that creates high-fidelity images from text prompts with aspect ratio, creativity, and optional style reference controls. Ready-to-use REST inference API for creative design, marketing visuals, product mockups, brand assets, social media content, concept art, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing.

$0.06から
text-to-imageKrea v2 Medium Turbo Text To Image — KreaのKrea text-to-imageプレビュー

Krea v2 Medium Turbo Text To Image

Krea 2 Medium Turbo Text to Image is a fast AI image generation model that creates high-quality images from text prompts with aspect ratio, creativity, and optional style reference controls. Ready-to-use REST inference API for rapid creative design, marketing visuals, product mockups, brand assets, social media content, concept art, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing.

$0.015から
text-to-imageKrea v2 Medium Text To Image — KreaのKrea text-to-imageプレビュー

Krea v2 Medium Text To Image

Krea 2 Medium Text to Image is a fast AI image generation model that creates high-quality images from text prompts with aspect ratio, creativity, and optional style reference controls. Ready-to-use REST inference API for creative design, marketing visuals, product mockups, brand assets, social media content, rapid ideation, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing.

$0.03から
text-to-imageKrea v2 Turbo Lora — KreaのKrea text-to-imageプレビュー

Krea v2 Turbo Lora

Krea 2 Turbo with LoRA support runs custom LoRAs and generates personalized images natively at 1K to 2K resolution, with both text-to-image and image-to-image support. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

$0.018から
text-to-imageKrea v2 Turbo — KreaのKrea text-to-imageプレビュー

Krea v2 Turbo

Krea 2 Turbo generates aesthetic-first images natively at 1K to 2K resolution in seconds, supporting both text-to-image and image-to-image. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

$0.012から

作例

Kreaの実力を見る

Krea APIで実際に生成された出力です。動画にカーソルを合わせるとプレビュー、クリックすると原寸のビューアで開きます。

使い方

Krea APIの使い方

登録から生成完了まで4ステップ。Python、Node.js、cURLの完全なサンプルは、下のAPIセクションにあります。

  1. 01

    APIキーを取得

    WaveSpeedAIのアカウントに登録し、ダッシュボードからAPIキーをコピーします。新規アカウントには無料のスタータークレジットが付くので、課金が始まる前にプレイグラウンドを数十回実行できます。

  2. 02

    予測を送信

    入力をJSONとしてhttps://api.wavespeed.ai/api/v3/krea/v3/text-to-imageにPOSTします。エンドポイントはすぐに予測IDを返します。生成は非同期なので、推論中に接続を開いたままにする必要はありません。

  3. 03

    完了までポーリング

    https://api.wavespeed.ai/api/v3/predictions/{request_id}/resultにGETします。completedなら出力を返し、failed、cancelled、timeout、deletedならエラーで停止し、それ以外のステータスの間はポーリングを続けます。

  4. 04

    出力URLを読み取る

    ステータスが"completed"になったら、data.outputs[0]からURLを読み取ります。URLは、WaveSpeedAIのCDN上にある生成されたメディアを指します。呼び出したKreaのバリアントに応じて、画像、動画、音声、3Dファイルのいずれかです。

活用例

Kreaで作れるもの

開発者やクリエイターがKrea APIでよく使うワークフロー。

01

Text-to-image with Krea V3

krea/v3/text-to-image generates images from prompts with quality and speed variants, custom dimensions and seed control.

text-to-imageseed
02

Combine up to eight references

krea/v3/edit edits and combines up to eight reference images with quality and speed variants, custom dimensions and seed control.

image-editmulti-reference
03

Krea 2 Large and Medium

wavespeed-ai/krea-v2-large, krea-v2-medium and krea-v2-medium-turbo text-to-image add aspect ratio, creativity and optional style-reference controls.

krea-2style-reference
04

Fast 1K-2K images with Krea 2 Turbo

wavespeed-ai/krea-v2/turbo is the 12.9B open-weights diffusion transformer distilled to 8 steps, generating aesthetic-first images at 1K to 2K in seconds, text-to-image and image-to-image.

turboopen-weights
05

Custom LoRAs on Krea 2

wavespeed-ai/krea-v2/turbo-lora runs your own LoRAs on the 8-step Krea 2 engine for personalized styles and characters.

loracustom-style

コツ

Kreaのプロンプトのコツ

Kreaからより良い出力を得るための実践的なアドバイス。本番のパイプラインで画像モデル全般に通用するパターンに基づいています。

  1. 01

    被写体だけでなく、ライティング、構図、スタイルも記述する

    「猫」から一歩進んで、「窓辺のトラ猫、午後の柔らかな光が差し込む、浅い被写界深度、シネマティックな35mmの構図」と書きましょう。被写体、シーン、ライティング、カメラの表現という組み合わせは、画像モデルの学習データから最もうまく引き出せるプロンプトの型です。

  2. 02

    アーティスト名ではなくスタイルの表現を使う

    「エディトリアルフォトグラフィ風」や「スタジオでの商品撮影、白いシームレスな背景」のほうが、曖昧な「高品質、傑作」といった定型文より優れており、商用の作品で存命のアーティストの名前を挙げることによる、法的・ライセンス上の懸念も避けられます。

  3. 03

    解像度とアスペクト比を明示する

    デフォルトに頼らないでください。目標のアスペクト比(1:1、4:3、16:9)と解像度を、最初に設定します。後からのトリミングやアップスケールでは、最初の生成でモデルが正しく配置できたはずの精細さが失われます。

  4. 04

    引き直す前に、固定したシードで試行する

    シードを固定して、プロンプトの要素を1つずつ変えます。変更のたびにランダムなシードで引き直すよりはるかに速く、プロンプトの編集ごとの原因と結果を切り分けられ、より少ない生成回数で目標の画像にたどり着けます。

  5. 05

    修正には、全体の再生成ではなく編集エンドポイントを使う

    ベースの画像を一度生成し、その後モデルの edit / inpaint エンドポイントで、文字、ライティング、個々の被写体といった特定の要素を磨きます。編集は、ベースで気に入っていた部分をすべて保ち、全体を再生成するより1回あたりのコストも抑えられます。

料金

Krea APIの料金

料金は出力ごとです。最終的な請求額は、各バリアントのプレイグラウンドで設定するパラメーター(解像度、長さ、出力数、参照入力)に応じて変わります。

最低料金

$0.012

7個のエンドポイント · Krea

プレイグラウンドを開く
エンドポイントタイプ最低料金
krea/v3/editimage-to-image$0.03
krea/v3/text-to-imagetext-to-image$0.03
wavespeed-ai/krea-v2-large/text-to-imagetext-to-image$0.06
wavespeed-ai/krea-v2-medium-turbo/text-to-imagetext-to-image$0.015
wavespeed-ai/krea-v2-medium/text-to-imagetext-to-image$0.03
wavespeed-ai/krea-v2/turbo-loratext-to-image$0.018
wavespeed-ai/krea-v2/turbotext-to-image$0.012

API

Krea APIを呼び出す

wavespeed.ai/accesskeyでAPIキーに登録し、RESTで予測を送信します。プレイグラウンドでは、入力の組み合わせに応じて、そのまま貼り付けられるサンプルが生成されます。

POSThttps://api.wavespeed.ai/api/v3/krea/v3/text-to-image

# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
  -X POST "https://api.wavespeed.ai/api/v3/krea/v3/text-to-image" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "1024*1024",
    "reasoning_level": "low",
    "model": "berry",
    "output_format": "png"
}')

TASK=$(printf '%s' "$SUBMIT_RESPONSE" | jq 'if has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "$TASK" | jq -r '.id')
if [ -z "$PREDICTION_ID" ] || [ "$PREDICTION_ID" = "null" ]; then
  printf 'Submission response did not contain a prediction id
' >&2
  exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/$PREDICTION_ID/result"

# 2. Poll until the prediction finishes.
while true; do
  RESPONSE=$(curl --silent --show-error --fail-with-body "$RESULT_URL" \
    -H "Authorization: Bearer $WAVESPEED_API_KEY")
  RESULT=$(printf '%s' "$RESPONSE" | jq 'if has("data") then .data else . end')
  STATUS=$(printf '%s' "$RESULT" | jq -r '.status')
  case "$STATUS" in
    completed) printf '%s\n' "$RESULT" | jq '.outputs'; break ;;
    failed|cancelled|timeout|deleted) printf '%s\n' "$RESULT" | jq . >&2; exit 1 ;;
    *) sleep 2 ;;
  esac
done

比較

Kreaと他モデルの比較

WaveSpeedAI上の類似モデルではなくKreaを選ぶべきケース。

Krea vs Seedream 5 Pro

Seedream 5 Pro emphasizes design understanding and multi-reference editing with output format controls. Krea adds style-reference controls and an open-weights Turbo model with LoRA support.

Krea vs FLUX.2

FLUX.2 is Black Forest Labs' open-weight family. Krea 2 Turbo is another open-weights option, distilled to 8 steps for 1K-2K output.

FAQ

Krea API — よくある質問

料金、ライセンス、連携など、WaveSpeedAIでKreaを実行する際のよくある質問。

Krea APIとは何ですか?

Kreaは、Kreaの画像生成モデルで、WaveSpeedAI上でREST APIとして提供されています。Krea API on WaveSpeedAI — Krea V3 text-to-image and multi-reference edit, plus Krea 2 Large, Medium, Medium Turbo and the open-weights Krea 2 Turbo with LoRA support, all through one REST API.プログラムから呼び出すことも、上にリンクされたプレイグラウンドで試すこともできます。

Krea APIはどう呼び出しますか?

WaveSpeedAIのアカウントに登録し、/accesskeyからAPIキーをコピーして、入力をJSONとしてhttps://api.wavespeed.ai/api/v3/krea/v3/text-to-imageにPOSTします。エンドポイントは予測IDを返します。結果のエンドポイントを約2秒ごとにポーリングし、長時間かかるタスクでは間隔を広げ、終端ステータスになったら停止してください。本番運用向けのPython / Node.js / cURLのサンプルは上にあります。

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

Kreaは$0.012からです。実際の料金は、設定するパラメーター(解像度、長さ、出力数、参照入力)に応じて変わります。プレイグラウンドの「生成」ボタンの横に表示されるリアルタイムの料金プレビューで、現在の入力での正確な料金を確認できます。

Kreaにはどのバリアントがありますか?

WaveSpeedAIでは、7個のKreaエンドポイントが利用可能です:krea/v3/edit, krea/v3/text-to-image, wavespeed-ai/krea-v2-large/text-to-image, wavespeed-ai/krea-v2-medium-turbo/text-to-image, wavespeed-ai/krea-v2-medium/text-to-image, wavespeed-ai/krea-v2/turbo-lora, wavespeed-ai/krea-v2/turbo。各バリアントには、専用のプレイグラウンドページと料金があります。

Kreaの出力を商用利用できますか?

商用利用の権利は、Kreaのモデルライセンスに従います。Kreaのほとんどのモデルは出力の商用利用を認めています。具体的なライセンスの概要は各モデルのプレイグラウンドページで、プラットフォーム全体の条件はWaveSpeedAIの利用規約でご確認ください。

なぜ直接ではなくWaveSpeedAIでKreaを使うのですか?

Kreaと、他のプロバイダーの1,000以上のAIモデルを、1つのAPIキー、1つの請求アカウントで利用できます。ベンダーごとのSDK設定も、個別のレート制限も、ベンダーごとの連携コードの書き直しも不要です。料金は、通常Kreaの直接のAPIと同等かそれ以下です。

WaveSpeedAIでKreaを使った開発を始めよう

登録時に無料のスタータークレジットを進呈。Kreaをはじめ、あらゆるプロバイダーの1,000以上のAIモデルを、1つのAPIキーで。