現在利用可能
Flux
flux-2-pro
Image model for prompt-driven generation, editing, and visual design workflows
ImageVision67.3K
リクエスト単位$0.02
タイプImage
エンドポイントimage-generation
パフォーマンス
パフォーマンスデータを読み込み中...
§ 01
料金
| 1リクエストあたりの料金 | $0.02 · リクエスト |
| コンテキストウィンドウ | 67.3K トークン |
| 対応エンドポイント | 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 の1リクエストあたりの料金はいくらですか?
flux-2-pro は1リクエストあたり $0.02 の固定料金で課金されます。
API で flux-2-pro を使うにはどうすればよいですか?
UnoRouter の /v1/chat/completions エンドポイントへ model=flux-2-pro を指定してリクエストを送信してください。OpenAI 互換のクライアントライブラリであれば動作します。認証は標準の Bearer トークンを使用します。
flux-2-pro のコンテキストウィンドウはどれくらいですか?
flux-2-pro は 67.3K トークンのコンテキストウィンドウに対応しており、プロンプトとモデルの応答で共有されます。
§ 04