WaveSpeed.ai
首頁/探索/Google Models/google/gemini-2.5-flash-image-preview/text-to-image
text-to-image

text-to-image

Google Gemini 2.5 Flash

google/gemini-2.5-flash-image-preview/text-to-image

Google Gemini 2.5 Flash Text-to-Image delivers state-of-the-art text-to-image generation and image editing with previews. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Input
If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

您的請求將花費 $0.038 每次運行。

使用 $1 您可以運行此模型大約 26 次。

還有一件事::

README

Google Gemini 2.5 Flash Image Preview — Text-to-Image

Gemini 2.5 Flash Image Preview is Google's fast and efficient text-to-image generation model built on the Gemini architecture. Generate high-quality images from text descriptions with flexible aspect ratios and multiple output formats — all at an affordable price.

Why It Stands Out

  • Fast generation: Optimized for speed while maintaining high visual quality.
  • Prompt Enhancer: Built-in AI-powered prompt optimization for better image results.
  • Flexible aspect ratios: Choose from multiple aspect ratio presets to fit your content needs.
  • Multiple output formats: Export as PNG or other formats based on your requirements.
  • Powered by Gemini: Leverages Google's advanced multimodal AI for strong prompt understanding.

Parameters

ParameterRequiredDescription
promptYesText description of the image you want to generate.
aspect_ratioNoOutput aspect ratio (square, portrait, landscape, etc.).
output_formatNoOutput format: png, jpeg, etc. (default: png).
enable_sync_modeNoWait for result before returning response (API only).
enable_base64_outputNoReturn base64 string instead of URL (API only).

How to Use

  1. Write a prompt describing the image you want. Use the Prompt Enhancer for AI-assisted optimization.
  2. Select aspect ratio — choose the format that fits your use case.
  3. Choose output format — select PNG or other available formats.
  4. Click Run and download your image.

Best Use Cases

  • Quick Prototyping — Rapidly generate visual concepts and ideas.
  • Social Media Content — Create images sized for different platforms.
  • Marketing & Advertising — Produce eye-catching visuals for campaigns.
  • Creative Exploration — Experiment with different styles and concepts affordably.
  • Design Mockups — Generate placeholder images and visual references.

Pricing

OutputPrice
Per image$0.038

Pro Tips for Best Quality

  • Be descriptive in your prompt — include style, mood, lighting, composition, and specific details.
  • Use style keywords like "photorealistic," "illustration," "digital art," or "cinematic" to guide the aesthetic.
  • Choose the appropriate aspect ratio for your intended use (square for social media, wide for banners, etc.).
  • Use PNG format when you need higher quality or transparency support.

Notes

  • Processing time varies based on current queue load.
  • Please ensure your prompts comply with Google's Safety Guidelines.