Muse 文字生圖
generate_imageGenerate images from text prompts and save them locally, returning absolute file paths instead of image content. Control count, aspect ratio, and format; each image costs US$0.01.
Instructions
以 Meta Muse 模型從文字描述生成圖片。圖片會存到本機並回傳絕對路徑(不回傳圖片內容本身,需要看圖請用檔案讀取工具開啟該路徑)。size 參數是長寬比而非精確像素解析度。每張圖片成本 US$0.01。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | 生成張數,1 到 10,預設 1 | |
| size | No | 長寬比字串,例如 "1792x1024"、"1024x1536"。注意:這是長寬比而非精確像素解析度 | |
| model | No | 模型 ID,省略則使用伺服器設定的預設模型 | |
| prompt | Yes | 圖片描述,英文通常效果較佳 | |
| extra_params | No | 傳給 API 的額外參數(物件),用於新模型的特殊參數。會與伺服器全域設定合併,單次設定優先。與請求核心欄位(model、prompt、response_format 等)衝突的 key 會被忽略並在回應中提示。 | |
| output_format | No | 輸出格式,預設 png | |
| filename_prefix | No | 輸出檔名前綴,預設 muse | |
| reasoning_strength | No | 推理強度,預設 high(品質較佳但較慢) |