krea-v2-large/text-to-image(テキストから画像生成)

krea-v2-large/text-to-image

Krea 2 Large Text to Image は、高速な AI 画像生成モデルです。テキストプロンプトから高精細な画像を生成でき、アスペクト比、創造性、任意のスタイル参照による調整に対応しています。すぐに使える REST 推論 API を提供し、クリエイティブ制作、マーケティング用ビジュアル、商品モックアップ、ブランド素材、SNS コンテンツ、コンセプトアート、プロ向けのテキストから画像生成ワークフローに適しています。簡単に統合でき、コールドスタート不要で、価格も手頃です。

サンプル

krea-v2-large/text-to-image(テキストから画像生成) サンプル 1

パラメータ

名前型既定制約説明
prompt *プロンプトtextarea—≤ 5000 chars生成する画像のテキスト説明。
aspect_ratioアスペクト比select1:11:1 | 4:3 | 3:2 | 16:9 | 2.35:1 | 4:5 | 2:3 | 9:16生成される画像のアスペクト比。
creativity創造性selectmediumraw | low | medium | highモデルがプロンプトをどの程度自由に解釈するかを調整します。
reference参照画像array<object>[]0–10 items生成される画像のスタイルを導くための任意の参照画像。
↳image *Imagetext——Reference image URL.
↳strengthStrengthslider1-2 ~ 2 · step 0.1How strongly the reference image influences the generated image.

出力フィールド

フィールド型説明
imagesarray<string>

API

統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/krea-v2-large/text-to-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A premium skincare product hero shot on a soft beige stone pedestal, surrounded by subtle botanical elements and warm natural light, ultra-realistic studio photography, clean luxury branding aesthetic, shallow depth of field, crisp label details, elegant shadows, high-end commercial advertisement",
    "aspect_ratio": "1:1",
    "creativity": "medium",
    "reference": []
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/krea-v2-large/text-to-image",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A premium skincare product hero shot on a soft beige stone pedestal, surrounded by subtle botanical elements and warm natural light, ultra-realistic studio photography, clean luxury branding aesthetic, shallow depth of field, crisp label details, elegant shadows, high-end commercial advertisement",
            "aspect_ratio": "1:1",
            "creativity": "medium",
            "reference": []
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/krea-v2-large/text-to-image", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A premium skincare product hero shot on a soft beige stone pedestal, surrounded by subtle botanical elements and warm natural light, ultra-realistic studio photography, clean luxury branding aesthetic, shallow depth of field, crisp label details, elegant shadows, high-end commercial advertisement",
      "aspect_ratio": "1:1",
      "creativity": "medium",
      "reference": []
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

ドキュメント

krea-v2-large/text-to-image

テキストから画像を1枚生成します。既定のアスペクト比は 1:1 です。 creativity は raw、low、medium(既定)、high。reference は任意の配列(最大10件)で、各要素は画像URLと -2〜2 の strength(既定1)を指定します。参照画像の追加料金は枚数によらずリクエストごとに1回です。

料金

Reference imagesUSD / requestCredits / request
0$0.066
1–10$0.0656.5

WaveSpeed の標準定価と同額。1米ドル = 100クレジット。アカウント固有の割引は別途適用されます。

API

curl -X POST 'https://www.namifusion.com/api/v1/marketplace/run/krea-v2-large/text-to-image' \
  -H "Authorization: Bearer $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "prompt": "A premium skincare product hero shot on a soft beige stone pedestal, surrounded by subtle botanical elements and warm natural light, ultra-realistic studio photography, clean luxury branding aesthetic, shallow depth of field, crisp label details, elegant shadows, high-end commercial advertisement",
    "aspect_ratio": "1:1",
    "creativity": "medium"
  }
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
  -H "Authorization: Bearer $API_KEY"

送信応答の task_uuid で completed または failed までポーリングします。完了時の出力フィールドは output.images (URL array).

WaveSpeed official model

関連モデル

z-image-spicy/text-to-image
テキストから画像Z Image Spicy

z-image-spicy/text-to-image

テキストから高品質な画像を生成。256〜1536 ピクセルのカスタムサイズ、プロンプト拡張、シード制御に対応し、クリエイティブ制作や一括生成に適しています。

〜 $0.014 / 1 回
xAI Grok Imagine Image v2.0 テキストから画像生成
テキストから画像X Ai

xAI Grok Imagine Image v2.0 テキストから画像生成

xAI Grok Imagine Image V2.0 Text-to-Image は、テキストプロンプトから高品質な画像を生成できます。アスペクト比、解像度、品質を設定でき、クリエイティブ制作、SNS コンテンツ、マーケティング素材、制作ワークフローに適しています。すぐに使える REST 推論 API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。

〜 $0.080 / 1 回
Qwen Image 3.0 Pro テキストから画像生成
テキストから画像Qwen Image 3.0 Pro

Qwen Image 3.0 Pro テキストから画像生成

Qwen Image 3.0 Pro は、優れた画質と高度なプロンプト理解を備えたプロ向けのテキストから画像生成モデルです。最大 2k に対応。すぐに使える REST inference API を提供し、高性能・コールドスタートなし・手頃な価格を実現しています。

〜 $0.075 / 1 回
ai/prefect-pony-xl アニメ風画像生成モデル
テキストから画像Prefect Pony Xl

ai/prefect-pony-xl アニメ風画像生成モデル

Prefect Pony XL は、キャラクターアートやイラスト向けに高品質なアニメ風画像を生成できます。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格を実現しています。

〜 $0.015 / 1 回
OpenAI GPT Image 2 テキストから画像生成
テキストから画像OpenAI

OpenAI GPT Image 2 テキストから画像生成

OpenAI の GPT Image 2 テキストから画像生成モデルは、自然言語プロンプトから高品質な画像を生成します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。

〜 $0.660 / 1 回
OpenAI GPT Image 2 Edit 画像編集
テキストから画像OpenAI

OpenAI GPT Image 2 Edit 画像編集

OpenAI の GPT Image 2 Edit は、自然言語の指示と1枚以上の参照画像を使用して画像編集を可能にします。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。

〜 $0.660 / 1 回
OpenAI GPT Image 2.5 Sunburst テキストから画像生成
テキストから画像OpenAI

OpenAI GPT Image 2.5 Sunburst テキストから画像生成

複雑な構図や高精細な制作に適した画像生成モデルで、最大 4K 出力に対応します。

〜 $0.220 / 1 回
OpenAI GPT Image 2.5 Flare テキストから画像生成
テキストから画像OpenAI

OpenAI GPT Image 2.5 Flare テキストから画像生成

自然言語プロンプトから高速かつ高品質な画像を生成し、最大 4K 出力に対応します。

〜 $0.220 / 1 回