模型參數
Kusa-Easy
手繪感強,多個畫風按比例混合,支援自然語言描述。
POST
/api/go/b2b/tasks/createtask_type: TEXT_TO_IMAGE_EASY
參數說明
| 欄位 | 類型 | 必填 | 說明 |
|---|---|---|---|
prompt | string | 必填 是 | 正向提示詞。 |
negative_prompt | string | 必填 否 | 負向提示詞。 |
watermark | boolean | 必填 否 | 是否加水印;省略時預設 false(不加水印)。 |
amount | integer | 必填 否 | 圖片數量。首次測試請顯式設定 amount: 1。 |
styles | array | 必填 是 | 非空陣列,每項為 {style_id, priority, weight};使用真實 ID,weight > 0。 |
width | integer | 必填 否 | 輸出尺寸。 |
height | integer | 必填 否 | 輸出尺寸。 |
使用說明
- 用 {} 呼叫 POST /api/go/b2b/styles/list,返回按分類分組的畫風:data.categories[].styles[].id。同一個 ID 可能出現在多個分類裡,是同一個畫風。
- 非空陣列,每項為 {style_id, priority, weight};使用真實 ID,weight > 0。
請求示例
params · JSON
{
"amount": 1,
"height": 1024,
"prompt": "anime girl carrying a lantern through a field of sunflowers, hand-painted illustration",
"styles": [
{
"priority": 1,
"style_id": "157",
"weight": 1
}
],
"watermark": false,
"width": 1024
}