Gemini 3 Flash Preview (Text Generation)
Send a message to test this OpenAI-compatible chat completions model.
Google Gemini 3 Flash Preview の完全ガイド
速度と効率に最適化された、Google の最速マルチモーダル AI モデル。低レイテンシーかつコスト効率の高いパフォーマンスで、テキスト、画像、動画、音声を処理できます。

Gemini 3 Flash Preview は、高速推論とコスト効率を目的に設計された Google の最新軽量マルチモーダル AI モデルです。Gemini アーキテクチャを基盤とし、Flash Preview はテキスト生成、画像理解、動画分析、音声処理にわたって高い性能を維持しながら、素早い応答が求められるタスクに優れています。このモデルは最大 1 million tokens の大きなコンテキストウィンドウをサポートしており、長文ドキュメント、長時間の会話、複雑なマルチモーダル入力の処理に最適です。Gemini 3 Flash Preview API は、この強力なモデルへ OpenAI 互換でアクセスできる手段を開発者に提供し、既存のアプリケーションやワークフローへシームレスに統合できます。
Gemini 3 Flash Preview は、テキスト生成、要約、翻訳、マルチターン会話などの自然言語タスクに優れています。大きなコンテキストウィンドウにより、長時間のやり取りでも一貫した会話を維持し、長文ドキュメントを効率的に処理できます。
このモデルは、画像、動画、音声ファイルなど複数の入力モダリティをネイティブにサポートします。視覚コンテンツの分析、音声の文字起こし、動画の説明、単一の会話内での異なるメディアタイプをまたいだ推論が可能で、多様なアプリケーションに対応できます。
Gemini 3 Flash Preview は速度に最適化されており、最小限のレイテンシーで応答を提供します。これにより、リアルタイムアプリケーション、チャットボット、素早い応答時間がユーザー体験に重要なインタラクティブ体験に最適です。
軽量モデルのバリアントである Gemini 3 Flash Preview は、大規模モデルと比較してトークンあたりのコストを大幅に抑えられます。これにより、開発者は過度なインフラコストをかけずに、AI 搭載アプリケーションを大規模に構築できます。
巨大なコンテキストウィンドウにより、コードベース全体、長文ドキュメント、または長い会話履歴を処理できます。モデルは膨大な入力データ全体にわたって一貫性と関連性を維持します。
前処理なしで、テキストプロンプトとあわせて画像、動画、音声を送信できます。モデルは複数のモダリティをネイティブに理解し推論できるため、リッチなマルチモーダルアプリケーションを実現できます。
この API は OpenAI の chat completions 形式に準拠しているため、移行が容易です。既存の SDK やコードを最小限の変更で利用し、apipass.dev を通じて Gemini の機能にアクセスできます。
Gemini 3 Flash Preview API は、いくつかの簡単なステップですぐに使い始められます...
apipass.dev でアカウントを作成し、API キーを取得します。このキーは Gemini 3 Flash Preview API へのすべてのリクエストを認証し、課金とモニタリングのために利用状況をアカウントに紐づけます。
インタラクティブな Playground を使用して、さまざまなプロンプト、システム指示、マルチモーダル入力で Gemini 3 Flash Preview をテストします。統合前に temperature やその他のパラメータを試し、モデルの挙動を理解できます。
apipass.dev を base URL として、OpenAI Python または JavaScript SDK を使用します。この API は OpenAI の chat completions 形式と完全に互換性があり、他のプロバイダーからの移行に必要なコード変更は最小限です。
安心して統合をデプロイできます。この API はストリーミング応答と非ストリーミング応答の両方をサポートし、マルチモーダル入力を処理でき、モニタリングと最適化のための詳細な利用統計を提供します。
利用量が増加したら、Gemini 3 Flash Preview のコスト効率の高い料金と高スループットを活用できます。ダッシュボードで利用状況を監視し、効率化のためにプロンプトを最適化しましょう。
以下のガイドラインに従うことで、Gemini 3 Flash Preview API から最良の結果を得られ、品質とコスト効率の両面で利用を最適化できます。
明確なシステムプロンプトを定義して、モデルのペルソナ、専門性、応答形式を設定します。これにより、会話全体の一貫性を保ち、特定のユースケースにおける出力品質を向上できます。
コードやデータ抽出のような事実ベースで決定的な出力には、低めの temperature (0.1-0.5) を使用します。文章作成やブレインストーミングのような創造的なタスクには、高めの temperature (0.7-1.0) を使用します。デフォルトの 1.0 はバランスの取れた結果を提供します。
ユーザー向けアプリケーションでは、応答が生成されるにつれて表示できるようにストリーミングを有効にします。特に長い出力の場合、体感的な応答性とユーザー体験が大きく向上します。
Gemini 3 Flash Preview の低レイテンシーと強力な言語理解により、応答性の高い会話型 AI を構築できます。このモデルはマルチターン会話を自然に処理し、特定のペルソナやドメイン向けにシステムプロンプトでカスタマイズできます。
1M token のコンテキストウィンドウにより、大規模なドキュメント、記事、文字起こしを効率的に処理できます。分割や複雑な前処理なしで、重要な洞察の抽出、要約の生成、長いコンテンツに関する質問への回答が可能です。
説明生成、物体検出、テキスト抽出 (OCR)、コンテンツモデレーションのために視覚コンテンツを分析できます。マルチモーダル機能により、E コマース、メディア処理、アクセシビリティツールでのアプリケーションを実現します。
コード生成、デバッグ、説明、リファクタリングなどのコーディングタスクを支援します。このモデルは複数のプログラミング言語を理解し、コンテキストウィンドウ内でコードベース全体を処理できます。
apipass.dev を通じて、競争力のあるトークン単価で Gemini 3 Flash Preview にアクセスできます。クレジットベースのシステムにより、隠れたコストのない透明性の高い課金を実現し、AI アプリケーションの予算管理とスケールを容易にします。
複数の言語やフレームワーク向けのコード例を含む包括的なドキュメントを提供します。OpenAI 互換インターフェースにより、chat completions API 向けの既存のチュートリアルやリソースを apipass.dev にそのまま適用できます。
エンタープライズグレードのインフラにより、高可用性と安定したパフォーマンスを確保します。サポートチームが 24 時間体制で、統合、トラブルシューティング、最適化を支援します。
すべてのAPIはBearer Tokenによる認証が必要です。
Authorization: Bearer
Generate a chat completion response using Gemini 3 Flash Preview
The API accepts a JSON payload following the OpenAI chat completions format:
1{
2 "model": "gemini-3-flash-preview",
3 "messages": [
4 {
5 "role": "system",
6 "content": "You are a helpful assistant."
7 },
8 {
9 "role": "user",
10 "content": "Hello!"
11 }
12 ],
13 "stream": false,
14 "temperature": 1,
15 "max_tokens": 4096,
16 "channel": "auto"
17}model必要stringThe model ID to use for completion
"gemini-3-flash-preview"
messages必要arrayArray of message objects representing the conversation history
[{"role": "user", "content": "Hello"}]streamオプションbooleanWhether to stream the response. Defaults to false.
false
temperatureオプションnumberSampling temperature between 0 and 2. Higher values increase randomness.
1.0
max_tokensオプションintegerMaximum number of tokens to generate in the response.
4096
top_pオプションnumberNucleus sampling parameter between 0 and 1.
1.0
frequency_penaltyオプションnumberFrequency penalty between -2 and 2.
0
presence_penaltyオプションnumberPresence penalty between -2 and 2.
0
channelオプションstringYou may specify the corresponding provider within APIPASS via the channel parameter; these providers handle the actual image and video generation tasks. APIPASS currently offers three provider options:
The default value for the channel parameter is auto. When enabled, APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics to balance minimal cost and reliable performance. Retain the default auto value unless you have custom routing requirements.
利用可能なオプション:
auto
Each message in the messages array has the following structure:
role必要stringThe role of the message author: 'system', 'user', or 'assistant'
利用可能なオプション:
"user"
content必要string | arrayThe content of the message. Can be a string for text-only, or an array for multimodal content.
"What is the capital of France?"
content[].type必要stringFor multimodal content: 'text' or 'image_url'
Use 'image_url' for images, videos, and audio URLs
"image_url"
content[].textオプションstringThe text content when type is 'text'
"Describe this image"
content[].image_url.urlオプションstringThe URL or base64 data URI of the media (image/video/audio)
Supports HTTP URLs or data:mime/type;base64,... format
"https://example.com/image.jpg"
1# Text-only request
2curl -X POST "https://api.apipass.dev/v1/chat/completions" \
3 -H "Content-Type: application/json" \
4 -H "Authorization: Bearer YOUR_API_KEY" \
5 -d '{
6 "model": "gemini-3-flash-preview",
7 "messages": [
8 {"role": "system", "content": "You are a helpful assistant."},
9 {"role": "user", "content": "What are the benefits of exercise?"}
10 ],
11 "temperature": 0.7,
12 "max_tokens": 2048
13 }'
14
15# Multimodal request with image
16curl -X POST "https://api.apipass.dev/v1/chat/completions" \
17 -H "Content-Type: application/json" \
18 -H "Authorization: Bearer YOUR_API_KEY" \
19 -d '{
20 "model": "gemini-3-flash-preview",
21 "messages": [{
22 "role": "user",
23 "content": [
24 {"type": "text", "text": "Describe this image"},
25 {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
26 ]
27 }]
28 }'
29
30# Streaming request
31curl -X POST "https://api.apipass.dev/v1/chat/completions" \
32 -H "Content-Type: application/json" \
33 -H "Authorization: Bearer YOUR_API_KEY" \
34 -d '{
35 "model": "gemini-3-flash-preview",
36 "messages": [{"role": "user", "content": "Write a short story"}],
37 "stream": true
38 }'1{
2 "id": "chatcmpl-1737936000",
3 "object": "chat.completion",
4 "created": 1737936000,
5 "model": "gemini-3-flash-preview",
6 "choices": [
7 {
8 "index": 0,
9 "message": {
10 "role": "assistant",
11 "content": "Exercise offers numerous benefits for both physical and mental health...\n\n1. **Physical Health**: Improves cardiovascular health, strengthens muscles...\n2. **Mental Health**: Reduces stress, anxiety, and depression...\n3. **Weight Management**: Helps maintain healthy body weight...\n4. **Energy Levels**: Increases overall energy and reduces fatigue..."
12 },
13 "finish_reason": "stop"
14 }
15 ],
16 "usage": {
17 "prompt_tokens": 28,
18 "completion_tokens": 156,
19 "total_tokens": 184
20 }
21}idUnique identifier for the completion
objectObject type, always 'chat.completion'
createdUnix timestamp of when the completion was created
modelThe model used for the completion
choicesArray of completion choices (typically one)
choices[].messageThe generated message with role and content
choices[].finish_reasonReason generation stopped: 'stop', 'length', etc.
usageToken usage statistics for billing

xAI
xAI
開始価格
0 クレジット
OpenAI
OpenAI
GPT-5.6 models shared by Codex-compatible clients and direct API callers.
開始価格
0 クレジット
Anthropic
Anthropic
Upgrade to Fable 5.1 for sharper, more natural responses with improved context awareness and refined writing quality.
開始価格
0 クレジット
OpenAI
OpenAI
GPT‑6 Astra brings together years of research and big bets across pre-training, reinforcement learning, and alignment
開始価格
0 クレジット
Anthropic
Anthropic
Harness Fable 5 to turn raw ideas into vivid, natural-sounding text across any creative or conversational task.
開始価格
0 クレジット
Anthropic
Anthropic
Deploy Opus 4.8's advanced cognitive architecture to tackle your most complex reasoning and multi-step problem-solving challenges.
開始価格
0 クレジット
Anthropic
Anthropic
Trust Opus 5 for deep, nuanced reasoning on your hardest analytical, coding, and research problems.
開始価格
0 クレジット
Anthropic
Anthropic
Choose Sonnet 5 for stronger reasoning, nuanced conversation, and reliable, safety-optimized performance across everyday tasks.
開始価格
0 クレジット
OpenAI
OpenAI
Orchestrate autonomous AI agents with GPT-5.5 API.
開始価格
0 クレジット
Gemini 3 Pro Preview - Try out the latest features
開始価格
0 クレジット