ToAPIs
    homeToAPIs
    モデルモデル料金API ドキュメント
    ログイン無料で始める

    Quick Answer

    • flux-2-pro supports Text-to-Video, Image-to-Video, R2V, and Video Edit in one workflow.
    • Use this model guide page to validate parameters with minimal request/response examples.
    • Stabilize prompts here first, then move to production API integration.

    Key Parameters

    • model | string | required | flux-2-pro | - | Model identifier. Use the fixed value `flux-2-pro`.
    • prompt | string | required | - | - | Main instruction describing the subject, action, scene, and style.
    • aspect_ratio | string | optional | 16:9 | 16:9 | 9:16 | 1:1 | Video aspect ratio. Defaults to `16:9`; supports `16:9 | 9:16 | 1:1`.
    • duration | integer | optional | 6 | 5 | 10 | 15 | 20 | Output duration in seconds. Defaults to `6`; supports `5 | 10 | 15 | 20`.
    • resolution | string | optional | 720P | 720P | Output resolution. Defaults to `720P`; supports `720P`.

    Common Errors

    • 400 invalid_request_error: trigger=Request payload misses required fields or has invalid field types.; fix=Validate model, mode, and input schema before request.; retry=Retry only after fixing payload; avoid blind retries.
    • 401 authentication_error: trigger=Missing Authorization header or invalid API key.; fix=Verify Bearer token format and API key scope.; retry=Retry after auth fix; rotate key if repeated failures continue.
    • 429 rate_limit_exceeded: trigger=Request rate, concurrency, or current quota hits upstream rate limiting.; fix=Apply exponential backoff first, then review request rate, concurrency, and quota usage.; retry=Use exponential backoff (e.g., 1s/2s/4s) with jitter; if it persists, reduce submission pressure.
    • 500 internal_error: trigger=Transient upstream error or internal processing failure.; fix=Capture request id and trigger retry workflow.; retry=Retry 2-3 times with short delays; escalate if persistent.

    flux-2-pro

    flux-2-pro is provided by Black Forest Labs (FLUX) with Image / Video capabilities. Current pricing reference: 5 クレジット /request. This page helps you understand positioning, parameters, and production-ready use cases before integration.

    モデルタイプ:
    料金: 5 クレジット /request
    プレイグラウンド生成例関連機能READMEAPI
    1

    画像を説明

    参照画像

    生成したい画像を説明してください。133 / 1200

    詳細オプション

    サンプルパラメータ
    2

    生成結果

    画像結果がここに表示されます

    ログインすると生成タスクを送信できます。

    API ドキュメントを見るAPI キーを取得

    生成には時間がかかります。しばらくお待ちください。このページを離れても、[ タスクログ ] で生成した内容を直接確認できます。

    リクエストをプレビュー

    {
      "model": "flux-2-pro",
      "prompt": "Create a premium product advertising image with flux-2-pro: clear subject, natural lighting, polished social-media-ready composition.",
      "size": "1:1",
      "n": 1,
      "metadata": {
        "resolution": "1K",
        "orientation": "square"
      }
    }

    生成例

    flux-2-pro の生成結果を見る

    このモデルで生成
    flux-2-pro guide example 1

    flux-2-pro #1

    flux-2-pro guide example 2

    flux-2-pro #2

    flux-2-pro guide example 3

    flux-2-pro #3

    透明な料金体系

    flux-2-pro pricing

    Image usage is billed according to the current request and resolution rules. Final billing follows the current account quote.

    クレジットを追加
    5 クレジット /request

    ToAPIs を選ぶ理由

    Why call flux-2-pro through ToAPIs?

    Keep image generation, API keys, billing, and usage management in one workflow.

    Unified multi-mode testing

    Switch across Text-to-Video, Image-to-Video, R2V, and Video Edit in one place.

    Parameter-first validation

    Iterate quickly on prompts, durations, and references before production rollout.

    Production-ready handoff

    Minimal request/response structure helps you move stable configs into API workflows.

    Connect in three steps

    Create a key, send an image request, and review the generated result.

    1. 1

      Step 1

      Fill prompt and key parameters.

    2. 2

      Step 2

      Run, inspect output structure, then iterate.

    3. 3

      Step 3

      Move stable settings into production API.

    When to use flux-2-pro

    Use case 1

    When you need fast iteration across multiple generation modes.

    Use case 2

    When you need to validate parameters and error handling before integration.

    よくある質問

    flux-2-pro FAQ

    When should I use flux-2-pro?

    Use it to validate video concepts quickly, compare mode behavior, and converge prompts before API rollout.

    How do I choose Text-to-Video vs Image-to-Video?

    Use Text-to-Video when you only have instructions; use Image-to-Video when you already have key frames or composition.

    What is the difference between R2V and Video Edit?

    R2V focuses on reference-guided generation, while Video Edit focuses on modifying existing video assets.

    Image or video model error: invalid apitype: -1

    This usually means the request was sent to the wrong endpoint. Image and video models typically do not use the chat endpoint. Instead, submit the documented HTTP task request and poll the task status endpoint for results. Check the actual request code, URL, and payload first.

    An image or video task failed, but the user was still charged

    Ask the user for the task log or screenshot first and check whether input or output token usage appears. If token accounting shows up, the request was likely sent through a chat endpoint instead of the proper media workflow. Image and video models usually run as async HTTP task APIs: submit the task first, then poll by task id according to the relevant docs.

    flux-2-pro API

    Start building with flux-2-pro

    Test an image request here, then continue in the dashboard or API documentation.

    Start for freeView API Docs

    Try flux-2-pro with one ToAPIs key.

    Use one account and API surface for image generation workflows.

    Sign up to get free credits
    ToAPIs
    homeToAPIs

    エンタープライズ向け AI API ゲートウェイ。テキスト・画像・動画・音声モデルを 1 つのインターフェースに統合します。

    运营主体:
    鯨樞智能科技有限公司
    JINGSHU INTELLIGENT LIMITED
    注册地址:
    ROOM 5042, 5/F, YAU LEE CENTRE, NO.45, HOI YUEN ROAD, KWUN TONG, KOWLOON, HONG KONG
    联系方式:
    support@toapis.com

    モデル

    • Sora 2 API
    • Veo 3.1 API
    • GPT Image 2 API
    • すべてのモデル

    代替サービス

    • Fal.ai 代替
    • Wavespeed AI 代替
    • PiAPI 代替
    • CometAPI 代替
    • Replicate 代替
    • AIMLAPI 代替

    リソース

    • ドキュメント
    • サービス状態
    • 料金
    • プライバシー
    • 利用規約
    • 利用ポリシー
    • データ削除ポリシー
    • データ保持ポリシー
    • 委託先とデータリージョン
    • 請求と返金
    • Cookie ポリシー
    • サイトマップ
    • 概要

    © 2026 ToAPIs. All rights reserved.