ToAPIs
    ホームToAPIs
    画像生成GPT Image 2.6、Gemini、FLUX…動画生成Seedance、Veo、Kling、Sora…チャット・文章作成GPT-5.6、Claude、DeepSeek…音声・音楽ナレーション、音声合成、音楽
    新着Seedance 2.5
    料金API ドキュメントMCP
    ブログ代替製品
    ログイン無料で試す
    すべてのモデル料金API ドキュメントMCPブログ代替製品
    ログイン無料で試す

    言語

    Esc
    • Seedance 2.5動画生成
    • GPT Image 2画像生成
    • GPT Image 2.6画像生成
    • GPT Image 2.5画像生成
    • Veo 3.1 Fast動画生成
    • Kling 3.0 Turbo動画生成
    • Kling V4 Flash動画生成
    • Grok Video 1.5動画生成
    • Nano Banana 2画像生成
    • Seedream 5.5画像生成
    • FLUX画像生成
    • Sora 2動画生成
    • すべての画像モデルカテゴリ
    • すべての動画モデルカテゴリ
    • GPT-5.6 Solチャット・コーディング
    • Claude Opus 4.8チャット・コーディング
    • Claude Opus 4.7チャット・コーディング
    • DeepSeek V4 ProDeepSeek · テキスト
    • Gemini Omni 1.1 FlashGoogle · マルチモーダル

    概要

    • Supports prompt-based image generation with multiple aspect ratios.
    • Supports reference_images for stronger style consistency.
    • Official variants expose richer generation controls for production tuning.

    主要パラメータ

    • model | string | 必須 | gemini-3.1-flash-lite-image-official | - | Exact image model identifier from ToAPIs.
    • prompt | string | 必須 | - | - | Primary image instruction prompt.
    • size | string | 任意 | 1:1 | 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 21:9 | Output aspect ratio.
    • resolution | string | 任意 | 1K | 1K | 2K | 4K(按模型能力) | Output resolution, varies by model variant.
    • reference_images | file[] | 任意 | - | max 14 | Reference image array for style/composition control.
    • temperature | number | 任意 | 0.8 | 0-2 | Sampling temperature for diversity control.
    • topP | number | 任意 | 0.95 | 0-1 | Nucleus sampling threshold.

    よくあるエラー

    • 400 invalid_request_error: 発生条件=Missing or invalid request payload fields.; 対処=Validate model/prompt/size/resolution fields.; 再試行=Retry only after fixing payload.
    • 401 authentication_error: 発生条件=Missing or invalid API key.; 対処=Verify Authorization header and API key scope.; 再試行=Retry after auth fix.
    • 429 rate_limit_exceeded: 発生条件=Request rate, concurrency, or current quota hits upstream rate limiting.; 対処=Apply exponential backoff first, then review request rate, concurrency, and quota usage.; 再試行=Use 1s/2s/4s backoff with jitter; if it persists, reduce submission pressure.

    gemini-3.1-flash-lite-image-official

    gemini-3.1-flash-lite-image-official is a Google Gemini image generation model supporting text-to-image and reference-guided image creation, aligned to ToAPIs docs.

    モデルタイプ:
    テキストから画像画像から画像
    料金: Input 40 クレジット/1M, Output 240 クレジット/1M
    本番ルート
    正常
    プレイグラウンド関連機能READMEAPI
    1

    画像を説明

    参照画像

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

    詳細オプション

    サンプルパラメータ
    2

    生成結果

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

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

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

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

    リクエストをプレビュー

    {
      "model": "gemini-3.1-flash-lite-image-official",
      "prompt": "gemini-3.1-flash-lite-image-official で高品質な製品広告画像を生成してください。被写体は明快、光は自然、SNS 投稿にそのまま使える構図。",
      "size": "1:1",
      "metadata": {
        "temperature": 1,
        "topP": 0.95,
        "resolution": "1K"
      }
    }

    透明な料金体系

    gemini-3.1-flash-lite-image-official pricing

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

    クレジットを追加
    Input 40 クレジット/1M, Output 240 クレジット/1M

    ToAPIs を選ぶ理由

    Why call gemini-3.1-flash-lite-image-official through ToAPIs?

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

    High-quality image generation

    Generate high-fidelity images via a unified API.

    Reference-guided consistency

    Use reference_images to stabilize style and composition.

    Production tuning controls

    Tune resolution, aspect ratio, and sampling for quality/cost balance.

    Connect in three steps

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

    1. 1

      Step 1

      Set Authorization: Bearer <YOUR_API_KEY>.

    2. 2

      Step 2

      Call image generation endpoint with model, prompt, and size.

    3. 3

      Step 3

      Optionally pass reference_images for stronger consistency.

    When to use gemini-3.1-flash-lite-image-official

    Use case 1

    When generating marketing/e-commerce/creative image assets at scale.

    Use case 2

    When using references to stabilize style and iterate prompts quickly.

    よくある質問

    gemini-3.1-flash-lite-image-official FAQ

    How should I choose Gemini image variants?

    Choose by resolution needs, official vs preview variant, and control parameters; prefer official for production.

    Why are reference images not taking effect?

    Check reference count/format/size limits and ensure prompt explicitly uses references.

    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.

    gemini-3.1-flash-lite-image-official API

    Start building with gemini-3.1-flash-lite-image-official

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

    Start for freeView API Docs

    Try gemini-3.1-flash-lite-image-official with one ToAPIs key.

    Use one account and API surface for image generation workflows.

    Sign up to get free credits
    ToAPIs
    ホームToAPIs
    エンタープライズ向け AI API ゲートウェイ。GPT-5、Claude、Gemini など 200 以上のモデルに 1 つの API でアクセスできます。

    人気モデル

    • Seedance 2.5 API
    • Seedance 2.0 API
    • Veo 3.1 Fast API
    • Kling 3.0 Turbo API
    もっと見る折りたたむ
    • GPT Image 2 API
    • Claude Opus 4.8 API
    • Nano Banana 2 API
    • Seedance 2 Mini API
    • すべてのモデル

    API カテゴリ

    • AI 画像生成 API
    • AI 動画生成 API
    • テキストから動画 API
    • 画像から動画 API
    もっと見る折りたたむ
    • AI 画像編集 API
    • 言語・推論モデル API
    • すべての API ツール →

    代替サービス

    代替サービス
    • Kie.ai の代替
    • Fal.ai 代替
    • OpenRouter の代替
    • Replicate 代替
    • Wavespeed AI 代替
    • すべてのサービス比較 →

    おすすめガイド

    おすすめガイド
    • Seedance 2.0 と 2.5 の料金比較
    • 低コスト Seedance API ガイド
    • MiniMax H3 連携ガイド
    • Seedance 2 無料テストキー
    • Seedance 2 API クイックスタート
    • すべての技術記事 →

    開発者・プラットフォーム

    開発者・プラットフォーム
    • API ドキュメント
    • MCP
    • 料金
    • モデルプレイグラウンド
    • LLMs.txt
    • サポートへ連絡
    • モデルガイド一覧
    運営主体:
    鯨樞智能科技有限公司
    JINGSHU INTELLIGENT LIMITED
    登記住所:
    ROOM 5042, 5/F, YAU LEE CENTRE, NO.45, HOI YUEN ROAD, KWUN TONG, KOWLOON, HONG KONG
    プライバシー利用規約利用ポリシーデータ削除ポリシーデータ保持ポリシー委託先とデータリージョン請求と返金Cookie ポリシーサイトマップ概要

    © 2026 ToAPIs. All rights reserved.