curl --request POST \
--url https://api.evolink.ai/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "mj-v7-pan",
"model_params": {
"task_id": "task-unified-xxx",
"image_number": 0,
"direction": "right",
"scale": 2
}
}
'{
"created": 1757165031,
"id": "task-unified-1757165031-mjv7",
"model": "<string>",
"object": "image.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 45
},
"type": "image",
"usage": {
"billing_rule": "per_call",
"credits_reserved": 1.8,
"user_group": "default"
},
"effective_speed": "fast"
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}Midjourney V7 パン
- 指定した方向に画像キャンバスを拡張し、元の画像とシームレスに繋がる新しいコンテンツを生成します
- 上下左右の4方向をサポート
- outpaintとの違い:panは一方向に拡張、outpaintは四方向に同時に拡張
- 非同期処理モード、返されたタスクIDで照会を実行
curl --request POST \
--url https://api.evolink.ai/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "mj-v7-pan",
"model_params": {
"task_id": "task-unified-xxx",
"image_number": 0,
"direction": "right",
"scale": 2
}
}
'{
"created": 1757165031,
"id": "task-unified-1757165031-mjv7",
"model": "<string>",
"object": "image.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 45
},
"type": "image",
"usage": {
"billing_rule": "per_call",
"credits_reserved": 1.8,
"user_group": "default"
},
"effective_speed": "fast"
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>"
}
}承認
##全てのインターフェースはBearer Token認証が必要です##
API Keyの取得:
API Key管理ページにアクセスしてAPI Keyを取得してください
リクエストヘッダーに追加:
Authorization: Bearer YOUR_API_KEY
ボディ
モデル名
mj-v7-pan モデルパラメータ
Show child attributes
Show child attributes
拡張領域の内容をガイド
prompt は任意です。省略、空文字、空白のみ、または制御対象の速度・バージョン指定を除去すると空になる場合は、speed=turbo でも Fast で実行し Fast 料金を適用します。有効な本文がある場合、速度の省略または fast は Fast、turbo は Turbo で実行し Fast の2倍の料金です。Playground は Fast のみです。ソースは現在のユーザーが所有する完了済みタスクが必要です。prompt なしでは画像生成、および対応する variation・pan・outpaint の結果を使用できます。
"星空に拡張する"
タスク完了後のコールバックURL
レスポンス
タスク作成成功
タスク作成タイムスタンプ
1757165031
タスクID
"task-unified-1757165031-mjv7"
実際に使用されたモデル名
タスクタイプ
image.generation.task タスク進捗率 (0-100)
0 <= x <= 1000
タスクステータス
pending, processing, completed, failed "pending"
Show child attributes
Show child attributes
text, image, audio, video "image"
Show child attributes
Show child attributes
prompt は任意です。省略、空文字、空白のみ、または制御対象の速度・バージョン指定を除去すると空になる場合は、speed=turbo でも Fast で実行し Fast 料金を適用します。有効な本文がある場合、速度の省略または fast は Fast、turbo は Turbo で実行し Fast の2倍の料金です。Playground は Fast のみです。ソースは現在のユーザーが所有する完了済みタスクが必要です。prompt なしでは画像生成、および対応する variation・pan・outpaint の結果を使用できます。
fast, turbo