模型參數
Niji Journey v7
高審美插畫,一次 4 張,支援風格參考。
POST
/api/go/b2b/tasks/createtask_type: TEXT_TO_IMAGE_NIJI
參數說明
| 欄位 | 類型 | 必填 | 說明 |
|---|---|---|---|
prompt | string | 必填 是 | 提示詞。 |
watermark | boolean | 必填 否 | 是否加水印;省略時預設 false(不加水印)。 |
prompt_template_id | integer | 必填 否 | Prompt 範本 ID,可與 prompt 組合。 |
is_public | boolean | 必填 否 | 結果是否在 KusArt 公開;省略時預設 true(公開),設為 false 則不公開。 |
aspect_ratio | string | 必填 否 | 1:1 / 16:9 / 9:16 / 4:3 / 3:4 |
count | integer | 必填 否 | 4 |
element_image_urls | array | 必填 否 | 可訪問的輸入圖片 URL。 |
style_reference_image_urls | array | 必填 否 | 可訪問的輸入圖片 URL。 ≤3 |
style_ids | array | 必填 否 | 模型專屬參數。 |
使用說明
- 固定 count=4。風格參考不等於角色一致性參考。
請求示例
params · JSON
{
"aspect_ratio": "1:1",
"count": 4,
"prompt": "anime illustration, a traveler beneath blooming cherry trees",
"style_ids": [],
"style_reference_image_urls": [],
"watermark": false
}