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 系列提供 7 個 REST 端點,涵蓋 Image-To-Image, Text-To-Image 等工作流程。每個變體都有各自的定價、參數選項與範例輸出 — 請挑選符合您輸入模態與生產限制的版本,或使用同一組 API 金鑰呼叫多個變體,組合成多步驟的處理流程。

使用您呼叫其他 1,000+ 個 WaveSpeedAI AI 模型時相同的 API 金鑰、帳單帳戶與速率限制額度來執行 Krea。無需另外設定供應商、無需各家 SDK、無需處理各家不同的速率限制 — 一次整合,涵蓋從文字轉圖片、文字轉影片,到音訊合成、3D 生成、放大與編輯的所有功能。

端點

所有 Krea API 端點

WaveSpeedAI 目前提供 7 個 Krea 端點 — 請選擇符合您工作流程的變體。

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

從註冊到完成生成,只要四個步驟。完整的 Python、Node.js 與 cURL 範例請見下方的 API 區段。

  1. 01

    取得 API 金鑰

    註冊 WaveSpeedAI 帳號,並從控制台複製您的 API 金鑰。新帳號會獲贈免費入門點數 — 足以在開始計費前執行數十次 Playground。

  2. 02

    提交 prediction

    將您的輸入以 JSON 格式 POST 到 https://api.wavespeed.ai/api/v3/krea/v3/text-to-image。端點會立即回傳 prediction id — 生成是非同步進行的,因此推論期間您不需要保持連線。

  3. 03

    輪詢完成狀態

    GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result。狀態為 completed 時回傳輸出;狀態為 failed、cancelled、timeout 或 deleted 時停止並回報錯誤;其他狀態則持續輪詢。

  4. 04

    讀取輸出網址

    當狀態為 "completed" 時,從 data.outputs[0] 讀取網址。該網址指向 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

    重新抽取前,先鎖定 seed 迭代

    鎖定 seed,一次只改一個提示詞元素。比每次修改都重新抽取隨機 seed 快得多,您能找出每次提示詞修改的因果關係,並以更少的總生成次數得到目標圖片。

  5. 05

    以編輯端點修飾,而非整張重新生成

    先生成一次基礎圖片,再使用模型的 edit / inpaint 端點精修特定元素,例如文字、光線、個別主體。編輯會保留您喜歡的基礎內容,且每次迭代的成本低於整張重新生成。

定價

Krea API 定價

依輸出計費。最終費用會依您在各變體 Playground 中設定的參數(解析度、時長、輸出數量、參考素材)而調整。

起始價格

$0.012

7 個端點 · Krea

開啟 Playground
端點類型起始價格
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 提交 prediction。Playground 會為任何輸入組合產生可直接貼上的範例。

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.

常見問題

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.您可以透過程式呼叫,也可以在上方連結的 Playground 試用。

如何呼叫 Krea API?

註冊 WaveSpeedAI 帳號,從 /accesskey 複製您的 API 金鑰,然後將您的輸入以 JSON 格式 POST 到 https://api.wavespeed.ai/api/v3/krea/v3/text-to-image。端點會回傳 prediction id。請從約每 2 秒輪詢一次結果端點開始,長時間任務可拉長間隔,並在任何終止狀態時停止。上方提供適用於生產環境的 Python / Node.js / cURL 範例。

Krea API 的費用是多少?

Krea $0.012 起。實際費用會依您設定的參數(解析度、時長、輸出數量、參考素材)而調整。Playground 中「生成」按鈕旁的即時費用預覽會顯示您目前輸入的確切價格。

有哪些 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。每個變體都有各自的 Playground 頁面與定價。

Krea 的輸出可以商用嗎?

商業使用權依 Krea 的模型授權而定。多數 Krea 模型允許商用輸出;請參閱各模型 Playground 頁面中的授權摘要,以及 WaveSpeedAI 的服務條款了解平台層級的條件。

為什麼要在 WaveSpeedAI 上使用 Krea,而不是直接使用?

一組 API 金鑰、一個帳單帳戶,即可使用 Krea 以及來自其他供應商的 1,000+ 個 AI 模型。無需設定各家 SDK、無需處理各自獨立的速率限制、無需為每個供應商重寫整合程式碼。價格通常與 Krea 的直接 API 相當或更低。

在 WaveSpeedAI 上開始使用 Krea 打造應用

註冊即贈免費入門點數。一組 API 金鑰,涵蓋來自 Krea 與所有其他供應商的 1,000+ 個 AI 模型。