Midjourney /imagine コマンド
当社の /diffusion API を使用して、AI 画像生成をマスターし、アプリケーションに統合します。
/imagine とは?
/imagine コマンドは、テキストプロンプトから AI 画像を生成する Midjourney のコア機能です。
テキストから画像への生成
高度なパラメータ制御
複数のバリエーション
基本的な使用方法
/imagine prompt: A beautiful sunset over mountains --v 6 --ar 16:9--v 6: Midjourney バージョン 6
--ar 16:9: 16:9 アスペクト比
/diffusion API を使用
Midjourney の /imagine 機能をアプリケーションに直接統合します。
API 例
curl --location 'https://api.legnext.ai/api/v1/diffusion' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"text": "A beautiful sunset over the snow mountains --v 7",
"callback": "https://webhook.site/c98cb890-fb92-439f-8d60-42c8a51eb52d"
}'パラメータ
- text: プロンプト
- callback: Webhook URL
レスポンス
進行状況を追跡するためのジョブ ID を返します
人気の使用例
異なるコンテンツタイプに /imagine コマンドを使用する一般的な方法。
/imagine prompt: Futuristic city skyline, cyberpunk style --v 6 --ar 16:9デジタルアート
コンセプトアートとデジタルイラスト
/imagine prompt: Professional headshot, corporate style --v 6 --ar 1:1プロフェッショナル写真
マーケティングとプレゼンテーション画像
/imagine prompt: Product mockup, modern smartphone --v 6 --ar 4:3製品の可視化
Eコマースとマーケティングモックアップ
/imagine prompt: Fantasy landscape, dragons and castles --v 6 --ar 21:9ゲームアセット
ゲームとエンターテインメントコンテンツ