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.
/filters:quality(82)/examples/8e475af85e3a133ce72395fa4d13b142/7a8e5730-8675-4a6e-99bb-7001856bfce9-a6d82fb72d54.webp)
Genel Bakış
Krea API Hakkında
Krea ne yapar, Krea model yelpazesindeki yeri nedir ve ekipler neden onu tercih eder.
Krea, Krea tarafından geliştirilen bir görsel üretimi ve düzenleme modelidir ve WaveSpeedAI REST API'si üzerinden kullanılabilir. 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'daki Krea ailesi, Image-To-Image, Text-To-Image iş akışını kapsayan 7 REST uç noktası sunar. Her varyantın kendi fiyatı, parametre seçenekleri ve örnek çıktıları vardır — girdi türünüze ve üretim gereksinimlerinize uyanı seçin ya da çok adımlı işlem hatları kurmak için aynı API anahtarıyla birkaçını birlikte çağırın.
Krea modelini, WaveSpeedAI'daki diğer 1.000+ AI modeli için kullandığınız aynı API anahtarı, faturalandırma hesabı ve hız sınırı çerçevesi üzerinden çalıştırın. Ayrı bir sağlayıcı kurulumu, sağlayıcıya özel SDK'lar veya sağlayıcıya özel hız sınırları yok — tek bir entegrasyon, metinden görsele ve metinden videoya, ses sentezi, 3D üretimi, büyütme ve düzenlemeye kadar her şeyi kapsar.
Uç Noktalar
Tüm Krea API uç noktaları
WaveSpeedAI'da şu anda 7 Krea uç noktası kullanılabilir — iş akışınıza uyan varyantı seçin.
/filters:quality(82)/media/images/a2e353a9-d1bb-4170-bd12-5ed15618f595.webp)
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.
/filters:quality(82)/media/images/e65ddbc6-5ad1-45b7-8daf-4a8a238ed388.webp)
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.
/filters:quality(82)/media/images/1779943610167150689_a31rYmzL.webp)
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.
/filters:quality(82)/media/images/1780596132754154120_Yivuwsso.webp)
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.
/filters:quality(82)/media/images/1779943597135969967_zg3bluEN.webp)
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.
/filters:quality(82)/media/images/1786952803431859313_nSktCM3c.webp)
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.
/filters:quality(82)/media/images/1786952778439497591_n1qzJS1a.webp)
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.
Örnekler
Krea iş başında
Krea API'siyle üretilmiş gerçek çıktılar. Önizlemek için bir videonun üzerine gelin, tam boyutlu görüntüleyiciyi açmak için tıklayın.
Nasıl Kullanılır
Krea API'si nasıl kullanılır
Kayıttan tamamlanmış bir üretime dört adım. Python, Node.js ve cURL örneklerinin tamamı aşağıdaki API bölümünde.
- 01
API anahtarı alın
Bir WaveSpeedAI hesabı oluşturun ve API anahtarınızı kontrol panelinden kopyalayın. Yeni hesaplar ücretsiz başlangıç kredisiyle gelir — faturalandırma başlamadan önce playground'u birkaç düzine kez çalıştırmaya yeter.
- 02
Tahmin gönderin
Girdinizi JSON olarak https://api.wavespeed.ai/api/v3/krea/v3/text-to-image adresine POST edin. Uç nokta hemen bir tahmin kimliği döndürür — üretimler asenkrondur, bu yüzden çıkarım sırasında açık bir bağlantı tutmanız gerekmez.
- 03
Tamamlanmayı yoklayın
https://api.wavespeed.ai/api/v3/predictions/{request_id}/result adresine GET isteği gönderin. completed durumunda çıktıları alın; failed, cancelled, timeout veya deleted durumunda hata ile durun; diğer tüm durumlarda yoklamaya devam edin.
- 04
Çıktı URL'sini okuyun
Durum "completed" olduğunda URL'yi data.outputs[0] alanından okuyun. URL, WaveSpeedAI CDN'indeki üretilmiş medyanıza işaret eder — çağırdığınız Krea varyantına göre görsel, video, ses veya 3D dosyası.
Kullanım Alanları
Krea ile neler geliştirebilirsiniz
Geliştiricilerin ve içerik üreticilerin Krea API'sini kullandığı yaygın iş akışları.
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.
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.
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.
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.
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.
İpuçları
Krea için istem yazma ipuçları
Krea ile daha iyi çıktı almak için pratik öneriler — üretim hatlarında görsel modelleri genelinde işe yarayan yöntemlerden derlendi.
- 01
Yalnızca özneyi değil, ışığı, kompozisyonu ve stili tarif edin
'Bir kedi'den 'pencere pervazında bir tekir kedi, içeri süzülen yumuşak öğleden sonra ışığı, sığ alan derinliği, sinematik 35mm kompozisyon'a geçin. Özne + sahne + ışık + kamera dili, görsel model eğitim verisinden en iyi şekilde yararlanan istem formülüdür.
- 02
Sanatçı adları yerine stil çıpaları kullanın
'Editoryal fotoğrafçılık tarzında' veya 'stüdyo ürün çekimi, beyaz dikişsiz arka plan', belirsiz 'yüksek kalite, başyapıt' kalıp ifadelerinden daha iyidir VE ticari işlerde yaşayan sanatçıları adlandırmanın getirdiği hukuki / lisans endişelerinden kaçınır.
- 03
Çözünürlüğü ve en-boy oranını açıkça belirtin
Varsayılanlara güvenmeyin. Hedef en-boy oranını (1:1, 4:3, 16:9) ve çözünürlüğü baştan ayarlayın. Sonradan kırpmak veya yükseltmek, modelin ilk üretimde doğru yerleştirebileceği doğruluğu kaybettirir.
- 04
Yeniden çevirmeden önce kilitli bir seed üzerinde iterasyon yapın
Seed'i kilitleyin, her seferinde tek bir istem öğesini değiştirin. Her değişiklik için rastgele seed'leri yeniden çevirmekten çok daha hızlı — her istem düzenlemesinde neden-sonuç ilişkisini ayırır ve hedef görsele toplamda daha az üretimle ulaşırsınız.
- 05
İyileştirmeler için edit uç noktasını kullanın, tam yeniden üretimi değil
Temel görseli bir kez üretin, ardından belirli öğeleri — metin, ışık, tek tek özneler — iyileştirmek için modelin edit / inpaint uç noktasını kullanın. Düzenlemeler temelde beğendiğiniz her şeyi korur ve iterasyon başına tam yeniden üretimlerden daha az maliyetlidir.
Fiyatlandırma
Krea API fiyatlandırması
Fiyatlandırma çıktı başınadır. Nihai ücret, her varyantın playground'unda belirlediğiniz parametrelere (çözünürlük, süre, çıktı sayısı, referanslar) göre değişir.
| Uç Nokta | Tür | Başlangıç fiyatı |
|---|---|---|
| krea/ | image-to-image | $0.03 |
| krea/ | text-to-image | $0.03 |
| wavespeed-ai/ | text-to-image | $0.06 |
| wavespeed-ai/ | text-to-image | $0.015 |
| wavespeed-ai/ | text-to-image | $0.03 |
| wavespeed-ai/ | text-to-image | $0.018 |
| wavespeed-ai/ | text-to-image | $0.012 |
API
Krea API'sini çağırın
wavespeed.ai/accesskey adresinden bir API anahtarı alın, ardından REST ile bir tahmin gönderin. Playground, girdilerin her kombinasyonu için yapıştırmaya hazır örnekler üretir.
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
doneconst submitUrl = "https://api.wavespeed.ai/api/v3/krea/v3/text-to-image";
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
async function requestJson(url, options = {}) {
const response = await fetch(url, options);
if (!response.ok) throw new Error(await response.text());
return response.json();
}
// 1. Submit the prediction.
const body = await requestJson(submitUrl, {
method: "POST",
headers: {
"Authorization": `Bearer ${apiKey}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"reasoning_level": "low",
"model": "berry",
"output_format": "png"
}),
});
const task = body.data ?? body;
const resultUrl = `https://api.wavespeed.ai/api/v3/predictions/${task.id}/result`;
// 2. Poll until the prediction finishes.
while (true) {
const resultBody = await requestJson(resultUrl, {
headers: { "Authorization": `Bearer ${apiKey}` },
});
const result = resultBody.data ?? resultBody;
if (result.status === "completed") {
console.log(result.outputs);
break;
}
if (["failed", "cancelled", "timeout", "deleted"].includes(result.status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 2000));
}import json
import os
import time
from urllib.request import Request, urlopen
api_key = os.environ["WAVESPEED_API_KEY"]
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"reasoning_level": "low",
"model": "berry",
"output_format": "png"
}
def request_json(url, data=None):
request = Request(url, data=data, headers=headers, method="POST" if data else "GET")
with urlopen(request) as response:
return json.load(response)
# 1. Submit the prediction.
body = request_json("https://api.wavespeed.ai/api/v3/krea/v3/text-to-image", json.dumps(payload).encode())
task = body.get("data", body)
result_url = f"https://api.wavespeed.ai/api/v3/predictions/{task['id']}/result"
# 2. Poll until the prediction finishes.
while True:
result_body = request_json(result_url)
result = result_body.get("data", result_body)
status = result.get("status")
if status == "completed":
print(result.get("outputs", []))
break
if status in {"failed", "cancelled", "timeout", "deleted"}:
raise RuntimeError(result)
time.sleep(2)Karşılaştır
Krea ve alternatifleri
WaveSpeedAI'daki benzer modeller yerine ne zaman Krea seçmeli.
Krea ve 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 ve 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.
SSS
Krea API — Sıkça sorulan sorular
Fiyatlandırma, lisans, entegrasyon — Krea modelini WaveSpeedAI'da çalıştırmaya dair sık sorulan sorular.
Krea API'si nedir?
Krea, WaveSpeedAI'da REST API olarak sunulan, Krea tarafından geliştirilmiş bir görsel üretimi modelidir. 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. Onu programatik olarak çağırabilir veya yukarıda bağlantısı verilen playground'dan deneyebilirsiniz.
Krea API'sini nasıl çağırırım?
Bir WaveSpeedAI hesabı oluşturun, API anahtarınızı /accesskey sayfasından kopyalayın, ardından girdinizi JSON olarak https://api.wavespeed.ai/api/v3/krea/v3/text-to-image adresine POST edin. Uç nokta bir tahmin kimliği döndürür. Sonuç uç noktasını yaklaşık 2 saniyede bir yoklayın, uzun süren görevlerde aralığı artırın ve herhangi bir son durumda durun. Üretime yönelik Python / Node.js / cURL örnekleri yukarıda.
Krea API'sinin maliyeti nedir?
Krea $0.012'dan başlar. Kesin maliyet, belirlediğiniz parametrelere (çözünürlük, süre, çıktı sayısı, referanslar) göre değişir. Playground'da Üret düğmesinin yanındaki canlı maliyet önizlemesi, mevcut girdiniz için kesin fiyatı gösterir.
Hangi Krea varyantları mevcut?
WaveSpeedAI, 7 canlı Krea uç noktası barındırır: 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. Her varyantın kendi playground sayfası ve fiyatı vardır.
Krea çıktılarını ticari amaçla kullanabilir miyim?
Ticari kullanım hakları Krea model lisansına tabidir. Çoğu Krea modeli çıktıların ticari kullanımına izin verir; lisans özeti için her modelin playground sayfasına, platform düzeyindeki koşullar için WaveSpeedAI Hizmet Koşulları'na bakın.
Krea modelini neden doğrudan kullanmak yerine WaveSpeedAI'da kullanmalıyım?
Krea ve diğer sağlayıcıların 1.000+ AI modeli için tek bir API anahtarı ve tek bir faturalandırma hesabı. Sağlayıcıya özel SDK kurulumu yok, ayrı hız sınırı çerçeveleri yok, her sağlayıcı için entegrasyon kodunu yeniden yazmak yok. Fiyatlar genellikle Krea'ın doğrudan API'siyle aynı düzeyde veya daha düşüktür.
WaveSpeedAI'da Krea ile geliştirmeye başlayın
Kayıt olunca ücretsiz başlangıç kredisi. Krea ve diğer tüm sağlayıcılardan 1.000+ AI modeli için tek API anahtarı.
/filters:quality(82)/examples/4bb6ef29c9b56853a8a2bc6001edecb4/e1b47191-a880-470d-b50e-8b60750e62c6-ea67aba708b4.webp)
/filters:quality(82)/examples/dcab15e6170737109981665db231e229/c90815fa-a511-45fd-b7a5-0e986aa16771-9c4cbb2e4a54.webp)
/filters:quality(82)/examples/75ea083e76269df3e6c3ca9339f63e0c/e02dba7d-449d-422b-9737-c8305b1d9b20-427d1a5739be.webp)
/filters:quality(82)/examples/823d31db72be42efd8a245685b272e33/1783684093924802752_T8h6foxG.webp)