まだ出力はありません。フォームを送信してコンテンツを生成してください。
さまざまなユースケースとパラメータ設定を確認できます
透明な価格設定、隠れた手数料なし。使用量に応じてお支払い。
| ルールとモダリティ | Channel | クレジット | 価格(USD) | 公式/参考価格 | 1日の節約額 |
|---|---|---|---|---|---|
create-bookmark otherTwitter | Starter | 0.01per post | $0.00005 | - | - |
twitter-api-graphql の完全ガイド
Integrate the Nano Banana 2 API on ApiPass and build with Google's Gemini 3.1 Flash Image technology. Generate production-ready 4K images at lightning speed, with strong character consistency, accurate text rendering, multi-image fusion, and search-grounded generation. Built for developers who need Flash-level speed with Pro-level visual quality.

Nano Banana 2 is Google's Gemini 3.1 Flash Image model, designed for fast, high-quality image generation and editing. It improves on the original Nano Banana with significantly better visual fidelity, sharper textures, and stronger reasoning capabilities. Built on the Gemini 3.1 Flash architecture, it delivers Pro-level output quality at Flash-level generation speeds. Nano Banana 2 supports text-to-image generation, image editing via text prompts, multi-image composition using up to 14 reference images, and search-grounded generation powered by Google Web Search and Google Image Search. It outputs images up to 4K resolution and supports new ultra-wide aspect ratios such as 4:1, 1:4, 8:1, and 1:8, making it suitable for banners, cinematic layouts, and social media content.
The Nano Banana 2 text-to-image API generates high-quality images from natural language prompts. Powered by Gemini 3.1 Flash Image, it understands complex prompts with strong spatial reasoning and world knowledge, delivering photorealistic and illustrated outputs with consistent detail and composition at 1K, 2K, or 4K resolution.
The Nano Banana 2 image-to-image API enables precise image editing through text prompts. Provide one or more reference images and describe the desired changes — style transfer, background replacement, color adjustment, subject transformation — while preserving identity, composition, and visual coherence across the output.
Nano Banana 2 supports up to 14 reference images as input for complex composition and fusion tasks. Developers can merge photos, blend styles from multiple sources, or build character-consistent visual sequences without losing identity or design coherence across different inputs.
Nano Banana 2 delivers Pro-level visual quality while maintaining Flash-speed generation. Developers get high-detail, production-ready images faster, improving workflow efficiency without sacrificing consistency, realism, or creative control.
Nano Banana 2 supports production-ready 4K output and newly added ultra-wide ratios including 4:1, 1:4, 8:1, and 1:8. This makes it ideal for generating banners, panoramic ads, cinematic layouts, and platform-specific social media content at scale.
Nano Banana 2 supports Google Web Search and Google Image Search grounding, enabling real-time reference awareness during generation. This reduces hallucination and improves accuracy when creating images of specific subjects, current events, trending topics, or real-world references.
Use Nano Banana 2 to create impossible selfies by transforming scenes, adding fantastical elements, or changing environments while keeping the subject's identity consistent. Build engaging, shareable portrait experiences for social and consumer apps at scale.
Combine multiple photos into a single coherent image using the multi-image input capability. Merge group photos, blend visual elements from different sources, and generate natural-looking compositions for creative, social, or commercial content workflows.
Transform real photos into stylized figurine, toy, or avatar visuals while preserving subject identity. Nano Banana 2 enables consistent character styling ideal for collectibles, avatar creators, gaming assets, and branded merchandise platforms.
Compare Nano Banana 2 with other models in the Nano Banana family to choose the best fit for your workflow.
Nano Banana 2 upgrades the original Nano Banana with significantly higher visual fidelity, faster generation, improved text rendering, and support for 4K output powered by Gemini 3.1 Flash Image. The original Nano Banana focuses on lightweight image creation, while Nano Banana 2 delivers sharper details, stronger world knowledge, and production-ready quality suited for modern developer workflows.
Nano Banana 2 is optimized for Flash-speed generation with strong visual quality, making it ideal for high-volume, rapid workflows where speed and cost efficiency matter. Nano Banana Pro targets maximum fidelity and advanced control for projects requiring higher precision or deeper reasoning. On ApiPass, developers can choose based on their speed, quality, and budget requirements — with Nano Banana 2 offering the best balance for most use cases.
Credit consumption is based on output resolution. 1K resolution costs 10 credits per image, 2K costs 15 credits, and 4K costs 22 credits. Default resolution is 1K — ideal for most production use cases.
ApiPass prices Nano Banana 2 at approximately 2/3 of standard Replicate pricing. This makes ApiPass one of the most cost-effective access points for Nano Banana 2 at scale, with no compromises on API reliability or output quality.
New users receive free credits to test Nano Banana 2 before committing to production usage. Try text-to-image, image editing, multi-image fusion, and search grounding — all free, with no time limit on testing.
Use the ApiPass Playground to try Nano Banana 2 at no cost. New users receive free credits to explore text-to-image generation, image editing, and multi-image fusion. Test different resolutions, aspect ratios, and search grounding features before writing a single line of code.
Create your ApiPass API key from the dashboard and review the Nano Banana 2 API documentation. Clear endpoint guides, parameter references, and code examples help you understand request structure, credit billing, and best practices before moving to production.
Send your first Nano Banana 2 request using the text-to-image or image editing workflow. ApiPass provides stable, low-latency endpoints so you can quickly generate results and integrate Nano Banana 2 into your application, pipeline, or content platform.
すべてのAPIはBearer Tokenによる認証が必要です。
Authorization: Bearer
ユーザーのツイートを取得するタスクを作成します
このAPIは、次の構造のJSONペイロードを受け付けます:
1{
2 "model": "string",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 // Input parameters
7 }
8}model必要string生成に使用するモデル名
"twitter/simple/user-tweets"
callBackUrlオプションstringタスク完了通知用のコールバックURL。省略した場合、コールバックは送信されません。
"https://your-domain.com/api/callback"
channelオプションstringchannel パラメータを使用して、APIPASS 内の対応するプロバイダーを指定できます。これらのプロバイダーは、実際の画像および動画生成タスクを処理します。APIPASS は現在、次の3つのプロバイダーオプションを提供しています:
channel パラメータのデフォルト値は auto です。有効にすると、APIPASS はリアルタイムの価格と安定性指標に基づいて、利用可能なプロバイダー間でタスクを自動的に割り当て、最小コストと信頼性の高いパフォーマンスのバランスを取ります。カスタムルーティング要件がない限り、デフォルトの auto 値を維持してください。
利用可能なオプション:
auto
input オブジェクトには次のパラメータが含まれます:
input.user_id必要stringユーザーID
最良の結果を得るには、被写体、スタイル、ライティング、構図を記述してください
44196397
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -d '{
5 "model": "twitter/simple/user-tweets",
6 "callBackUrl": "https://your-domain.com/api/callback",
7 "input": {
8 "user_id": "44196397"
9 }
10 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_12345678"
6 }
7}codeステータスコード。200 は成功、その他は失敗を示します
messageレスポンスメッセージ。失敗時はエラー内容を示します
data.taskIdタスクのステータスと結果を照会するためのタスクID