3サービスの2026年料金比較
| サービス | プラン | 月額 | 生成枚数 |
|---|
| DALL-E 3(API) | 従量課金 | $0.04〜/枚 | 無制限 |
| ChatGPT Plus | サブスク | $20 | 制限あり |
| Midjourney Basic | サブスク | $10 | 200枚/月 |
| Midjourney Standard | サブスク | $30 | 無制限(低速) |
| Midjourney Pro | サブスク | $60 | 無制限(Stealth) |
| Stable Diffusion | 自前GPU | 電気代のみ | 無制限 |
| Stability AI API | 従量課金 | $0.02〜/枚 | 無制限 |
DALL-E 3(ChatGPT)
特徴
- テキスト指示の忠実性が高い(指定した文字・構図をそのまま生成)
- ChatGPTとの統合でプロンプト改善が簡単
- ビジネス利用向け(CC0相当のライセンス)
API利用コード
# dalle3_generator.py
from openai import OpenAI
import base64
from pathlib import Path
client = OpenAI()
def generate_image(prompt: str, output_path: str = "output.png") -> str:
response = client.images.generate(
model="dall-e-3",
prompt=prompt,
size="1024x1024",
quality="hd", # standard or hd
style="natural", # vivid or natural
n=1,
response_format="b64_json"
)
image_data = base64.b64decode(response.data[0].b64_json)
Path(output_path).write_bytes(image_data)
revised_prompt = response.data[0].revised_prompt
print(f"実際に使われたプロンプト: {revised_prompt}")
return output_path
# ビジネス用プロンプト例
generate_image(
prompt="""Clean, professional infographic showing 3-step process:
Step 1: Data Collection (icon: database)
Step 2: AI Analysis (icon: brain/circuit)
Step 3: Insights (icon: chart going up)
Style: Flat design, corporate blue color scheme, white background
No text in image""",
output_path="business_flow.png"
)
効果的なプロンプト例
# ビジネス資料向け(NG→OK)
NG: 「会議室の写真を作って」
OK: 「Modern Japanese office meeting room,
4 people around a table, natural lighting from large windows,
Tokyo cityscape visible, professional atmosphere,
photo-realistic, 4K quality, --ar 16:9」
# プレゼン用アイコン
「Single flat icon, cloud computing concept,
blue gradient, transparent background, minimal design,
professional, suitable for presentation slides」
Midjourney v7
特徴
- 2026年のv7で写真リアル系の品質が大幅向上
--style raw でAIっぽさを抑えた自然な仕上がり
--chaos パラメータでアイデア出しに使える多様な候補生成
実際のプロンプト例
# Midjourney v7 プロンプト
/imagine prompt: Japanese ramen shop interior at night,
steam rising from bowls, warm yellow lighting,
wooden counter seats, chef visible in background,
cinematic photography, 35mm lens, shallow depth of field
--ar 3:2 --style raw --v 7
# 商品写真
/imagine prompt: Premium Japanese whisky bottle on dark marble surface,
soft dramatic lighting, smoke wisps,
bokeh background with warm amber tones,
luxury product photography, studio lighting
--ar 1:1 --style raw --v 7 --q 2
# SNSコンテンツ向け(縦型)
/imagine prompt: Minimalist Japanese breakfast setup,
white ceramic bowls, chopsticks, green tea,
morning light from window, overhead flat lay shot
--ar 9:16 --style raw --v 7
パラメータ早見表
| パラメータ | 値の例 | 効果 |
|---|
--ar | 16:9, 1:1, 9:16 | アスペクト比 |
--style raw | - | AIらしさを減らしリアルに |
--chaos | 0-100 | バリエーションの多様性 |
--v 7 | - | Midjourney v7を使用 |
--q 2 | - | 最高品質(生成時間2倍) |
Stable Diffusion(ComfyUI)
特徴
- オープンソース・無制限生成(自分のGPU使用時)
- アニメ・イラスト特化モデルが豊富(Civitai)
- LoRAでブランドキャラクターや人物の一貫性を確保可能
ローカルセットアップ
# ComfyUIインストール(Mac M1/M2/M3)
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
pip install -r requirements.txt
# Apple Siliconで起動
python main.py --force-fp16
# モデルダウンロード(FLUX.1 Devなど)
# models/checkpoints/ に配置
# Linux(NVIDIA GPU)
python main.py --cuda-device 0
# VRAM 8GB以下の場合(メモリ節約モード)
python main.py --lowvram
APIで自動化
# comfyui_api.py
import requests
import json
import uuid
from pathlib import Path
COMFYUI_URL = "http://localhost:8188"
def generate_image_comfyui(prompt: str, negative_prompt: str = "") -> bytes:
"""ComfyUIのAPIで画像生成"""
# ワークフロー定義(SDXL使用例)
workflow = {
"1": {
"inputs": {
"text": prompt,
"clip": ["3", 1]
},
"class_type": "CLIPTextEncode"
},
# ... (実際のワークフローはより複雑)
}
client_id = str(uuid.uuid4())
response = requests.post(
f"{COMFYUI_URL}/prompt",
json={"prompt": workflow, "client_id": client_id}
)
prompt_id = response.json()["prompt_id"]
# 生成完了を待って画像を取得
# ... (WebSocket or polling)
return b"" # 生成された画像バイナリ
3サービス比較マトリクス
| 用途 | DALL-E 3 | Midjourney | Stable Diffusion |
|---|
| ビジネス資料・アイコン | ◎ | ○ | △ |
| 写真リアル(商品・人物) | ○ | ◎ | ○ |
| アニメ・イラスト | △ | ○ | ◎ |
| API自動化 | ◎ | △ | ◎(ローカル) |
| コスト(大量生成) | 高め | 中程度 | 最安(電気代) |
| セットアップ難易度 | 簡単 | 簡単 | やや難 |
| カスタマイズ性 | 低 | 中 | 最高 |
選び方のまとめ
- ビジネス文書・プレゼン向け: DALL-E 3(API連携が容易)
- 高品質な写真リアル: Midjourney v7(
--style raw)
- 大量生成・コスト重視: Stable Diffusion(自前GPU)
- アニメ・イラスト: Stable Diffusion(特化モデル)
- 初めての人: ChatGPT Plus(DALL-E 3)から試す
あわせて読みたい