Aucune sortie pour le moment. Envoyez le formulaire pour générer du contenu.
Tarifs transparents sans frais cachés. Payez à l'utilisation.
| Règle & Modalité | Channel | Crédits | Prix (USD) | Prix officiel / référence | Économie quotidienne |
|---|---|---|---|---|---|
user-tweets otherTwitter | Starter | 0.01per post | $0.00005 | - | - |
Le prix concurrent coûte $45.440 de plus
ApiPass est 90.90% moins cher, estimé sur plusieurs appels retournant 10,000 posts retournés au total
user-tweets
Prix ApiPass
$0.0005
0,1 crédits per post
Prix concurrents
Guide complet d'utilisation de twitter-api-simple
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.
Toutes les API nécessitent une authentification via un token Bearer.
Authorization: Bearer
Créer une tâche pour obtenir les tweets d'un utilisateur
L'API accepte une charge utile JSON avec la structure suivante :
1{
2 "model": "string",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 // Input parameters
7 }
8}modelRequisstringNom du modèle à utiliser pour la génération
"twitter/simple/user-tweets"
callBackUrlOptionnelstringURL de callback pour les notifications de fin de tâche. Si elle est omise, aucun callback ne sera envoyé.
"https://your-domain.com/api/callback"
channelOptionnelstringVous pouvez spécifier le fournisseur correspondant au sein d'APIPASS via le paramètre channel ; ces fournisseurs gèrent les tâches réelles de génération d'images et de vidéos. APIPASS propose actuellement trois options de fournisseur :
La valeur par défaut du paramètre channel est auto. Lorsqu'il est activé, APIPASS répartit automatiquement les tâches entre les fournisseurs disponibles en fonction des tarifs en temps réel et des indicateurs de stabilité afin d'équilibrer coût minimal et performances fiables. Conservez la valeur par défaut auto, sauf si vous avez des exigences de routage personnalisées.
Options disponibles :
auto
L'objet input contient les paramètres suivants :
input.user_idRequisstringID utilisateur
Décrivez le sujet, le style, l'éclairage et la composition pour obtenir les meilleurs résultats
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}codeCode d'état, 200 en cas de réussite, autres valeurs en cas d'échec
messageMessage de réponse, description de l'erreur en cas d'échec
data.taskIdID de tâche pour interroger l'état et les résultats de la tâche