現已上線
Flux
flux-2-pro
Image model for prompt-driven generation, editing, and visual design workflows
ImageVision67.3K
每次請求$0.02
類型Image
端點image-generation
效能
正在載入效能資料...
§ 01
價格
| 每次請求價格 | $0.02/次請求 |
| 上下文視窗 | 67.3K tokens |
| 相容端點 | image-generation |
| 供應商 | Flux |
§ 02
從您的程式碼呼叫 flux-2-pro
將任何 OpenAI 相容 SDK 指向 UnoRouter,並以名稱請求模型。請將 YOUR_API_KEY 換成您儀表板上的真實金鑰。
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-2-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
常見問題
flux-2-pro 每次請求的費用是多少?
flux-2-pro 採每次請求固定收費 $0.02。
我要如何透過 API 使用 flux-2-pro?
將請求送至 UnoRouter 的 /v1/chat/completions 端點,並將 model 設為 flux-2-pro。任何 OpenAI 相容的用戶端程式庫都可使用。驗證採用標準 Bearer token。
flux-2-pro 的上下文視窗是多少?
flux-2-pro 支援 67.3K tokens 的上下文視窗,由您的提示詞與模型回應共用。
§ 04