属性
系列
集合
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| prompt | Text description of the image to generate. Platform limit is 32,000 UTF-8 bytes, not Unicode characters. | string | 是 | - |
| auto_aspect_ratio | Optional. When true, the model chooses the output aspect ratio from the prompt (and any image inputs). Omit this field to leave the requested width and height unchanged. Do not send it unless the caller explicitly wants model-directed framing. | boolean | 否 | true, false |
| height | Image height in pixels (>=768). Must be provided together with width; width x height must not exceed 1,048,576. |
integer | 否 | - |
| web_grounding | Optional. When true, the model may retrieve current public information (Bing) as extra context for real-world entities, places, or events. Omit this field to generate from the prompt only. Do not send it unless the caller explicitly wants web-grounded generation. | boolean | 否 | true, false |
| width | Image width in pixels (>=768). Must be provided together with height; width x height must not exceed 1,048,576. |
integer | 否 | - |
价格
单位: $/img
| 价格 |
|---|
| $0.0389/img |
相关模型
- microsoft/mai-image-2.5: [Core Function] MAI Image 2.5 is Microsoft’s flagship text-to-image generation model. [Strengths] It excels at producing high-quality, detailed images from a text prompt with precise control over output dimensions. [Best For] Highly recommended for: concept art, marketing visuals, and high-fidelity image generation. [Limitations] Do NOT request dimensions below 768 on any side or a width x height product above 1,048,576 pixels (e.g. beyond 1024x1024); output is always PNG. [Routing] Use this model by default for quality-sensitive generation. For faster, cheaper generation, route to MAI Image 2.5 Flash.
- microsoft/mai-image-2.5-flash: [Core Function] MAI Image 2.5 Flash is Microsoft’s fast, cost-efficient text-to-image generation model. [Strengths] It excels at quickly generating solid images from a text prompt with the same dimension controls as MAI Image 2.5. [Best For] Highly recommended for: rapid prototyping, batch generation, and cost-sensitive workloads. [Limitations] Do NOT request dimensions below 768 on any side or a width x height product above 1,048,576 pixels; output is always PNG, and maximum fidelity is lower than MAI Image 2.5. [Routing] Choose this model when speed or cost matters more than maximum fidelity. For the highest quality, use MAI Image 2.5.
- microsoft/mai-image-2.5-edit: [Core Function] MAI Image 2.5 Edit is Microsoft’s flagship image editing model. [Strengths] It excels at applying high-quality, prompt-guided edits and transformations to a single source image. [Best For] Highly recommended for: restyling, object/scene modification, and detailed prompt-driven edits. [Limitations] Do NOT provide more than one source image or non-JPEG/PNG inputs; it accepts exactly one JPEG or PNG image, and output is always PNG. [Routing] Use this model by default for quality-sensitive edits. For faster, cheaper edits, route to MAI Image 2.5 Flash Edit.
- microsoft/mai-image-2.5-flash-edit: [Core Function] MAI Image 2.5 Flash Edit is Microsoft’s fast, cost-efficient image editing model. [Strengths] It excels at quickly applying prompt-guided edits to a single source image. [Best For] Highly recommended for: rapid edits, batch processing, and cost-sensitive workloads. [Limitations] Do NOT provide more than one source image or non-JPEG/PNG inputs; it accepts exactly one JPEG or PNG image, output is always PNG, and fidelity is lower than MAI Image 2.5 Edit. [Routing] Choose this model when speed or cost matters more than maximum fidelity. For the highest quality, use MAI Image 2.5 Edit.
- microsoft/mai-image-2.5-pro: [Core Function] MAI Image 2.5 Pro is Microsoft’s highest-fidelity text-to-image generation model in the MAI 2.5 family. [Strengths] It excels at producing exceptionally detailed, high-quality images from a text prompt with the same dimension controls as MAI Image 2.5. [Best For] Highly recommended for: premium marketing visuals, hero assets, and maximum-fidelity generation. [Limitations] Do NOT request dimensions below 768 on any side or a width x height product above 1,048,576 pixels; output is always PNG. [Routing] Use this model when maximum quality is required. For faster or lower-cost generation, route to MAI Image 2.5 or MAI Image 2.5 Flash.
- microsoft/mai-image-2.6-flash: [Core Function] MAI Image 2.6 Flash is the faster, lower-cost variant of MAI Image 2.6 text-to-image generation. [Strengths] It targets similar quality to MAI Image 2.6 with lower latency for high-throughput workloads. [Best For] Highly recommended for: production pipelines, batch generation, and latency-sensitive image APIs. [Limitations] Do NOT use this if the requested width or height is below 768, or if width x height exceeds 1,048,576 pixels. Output is always PNG. auto_aspect_ratio and web_grounding are optional booleans; omit them unless the caller sets them. [Routing] Use this model when speed or cost matters more than maximum 2.6 quality. For the highest fidelity, route to MAI Image 2.6.
- microsoft/mai-image-2.5-pro-edit: [Core Function] MAI Image 2.5 Pro Edit is Microsoft’s highest-fidelity image editing model in the MAI 2.5 family. [Strengths] It excels at applying premium, prompt-guided edits and transformations to a single source image. [Best For] Highly recommended for: hero asset retouching, high-fidelity restyling, and detailed prompt-driven edits. [Limitations] Do NOT provide more than one source image or non-JPEG/PNG inputs; it accepts exactly one JPEG or PNG image, and output is always PNG. [Routing] Use this model when maximum edit quality is required. For faster or lower-cost edits, route to MAI Image 2.5 Edit or MAI Image 2.5 Flash Edit.
- microsoft/mai-image-2.6-edit: [Core Function] MAI Image 2.6 Edit is Microsoft’s latest prompt-guided image editing model in the MAI Image family. [Strengths] It applies targeted edits to a single source image with the same quality gains as MAI Image 2.6 generation. [Best For] Highly recommended for: object edits, layout changes, text cleanup, and iterative photorealistic retouching. [Limitations] Do NOT use this if the caller provides more than one source image, a data URI, or a URL that is not publicly reachable over HTTP or HTTPS. It accepts exactly one JPEG or PNG image URL, and output is always PNG. auto_aspect_ratio and web_grounding are optional booleans; omit them unless the caller sets them. [Routing] Use this model when the latest MAI edit quality is required. For faster or lower-cost edits, route to MAI Image 2.6 Flash Edit.
- microsoft/mai-image-2.6-flash-edit: [Core Function] MAI Image 2.6 Flash Edit is the faster, lower-cost variant of MAI Image 2.6 image editing. [Strengths] It applies prompt-guided edits to a single source image with lower latency than MAI Image 2.6 Edit. [Best For] Highly recommended for: high-throughput edit APIs and production retouching pipelines. [Limitations] Do NOT use this if the caller provides more than one source image, a data URI, or a URL that is not publicly reachable over HTTP or HTTPS. It accepts exactly one JPEG or PNG image URL, and output is always PNG. auto_aspect_ratio and web_grounding are optional booleans; omit them unless the caller sets them. [Routing] Use this model when edit speed or cost matters more than maximum 2.6 quality. For the highest fidelity, route to MAI Image 2.6 Edit.
- google/nano-banana-2: [Core Function] Nano Banana 2 (Gemini 3.1 Flash Image) is an extremely fast text-to-image model. [Strengths] It is optimized for high-speed, high-volume visual generation, creative prompting, and rapid stylistic experimentation. [Best For] Highly recommended for: rapid creative iteration, generating large batches of images quickly, and artistic/stylized graphics. [Limitations] Do NOT use this model if you require strict, high-end photorealism; prefer Nano Banana Pro for higher-fidelity creative output. [Routing] Route to this model for ‘fast’, ‘creative’, or ‘stylized’ high-volume requests.
- google/nano-banana-pro: [Core Function] Nano Banana Pro (Gemini 3 Pro Image) is a high-capability creative image model. [Strengths] It balances the creative flexibility and speed of the Nano series with higher fidelity output. [Best For] Highly recommended for: high-quality stylized art and complex creative compositions. [Limitations] Do NOT use this model when you need the absolute highest photorealism or detail; step up within the Nano Banana family (Nano Banana 2 or Nano Banana Pro Edit workflows) as needed. [Routing] Use this model for high-quality, creative, non-photorealistic requests.
- kling/kling-v3-t2i: [Core Function] Kling V3 T2I is the flagship text-to-image model (POST /images/generations, model_name=kling-v3). [Strengths] High aesthetic quality, prompt adherence, 1K/2K. [Best For] Concept art and photorealistic generation without a reference image. [Limitations] No reference image; for I2I use kling-v3-i2i; for multi-image/series use kling-v3-omni-image. [Routing] Default for Kling text-to-image.
- xai/grok-imagine-image-quality: [Core Function] Grok Imagine Image (Quality) is xAI’s high-fidelity text-to-image generation model. [Strengths] It excels at producing richly detailed, high-quality images from a text prompt, with flexible aspect ratios and an optional 2K resolution. [Best For] Highly recommended for: detailed concept art, marketing visuals, and any scenario where image quality is prioritized over generation speed. [Limitations] Do NOT use this model when latency is critical, as generation is slower than the standard model. [Routing] Use this model by default when the user emphasizes quality or detail. For faster, lighter generation use Grok Imagine Image (standard).
- openai/gpt-image-2: [Core Function] GPT Image 2 is a state-of-the-art text-to-image generation model. [Strengths] It excels at generating highly detailed, photorealistic images from text descriptions, with native support for ultra-high resolutions including 2K and 4K (up to 3840x2160). [Best For] Highly recommended for: cinematic landscapes, detailed character portraits, high-end commercial concept art, and any scenario requiring maximum resolution and visual fidelity. [Limitations] Do NOT use this model if you need a transparent background (e.g., for icons or UI assets), as it does not support the
background: transparentparameter. [Routing] Use this model by default for all high-quality image generation requests. If the user explicitly asks for an image with a transparent background, route to GPT Image 1.5 instead. - bytedance/seedream-5.0-pro: [Core Function] Seedream 5.0 Pro is ByteDance’s flagship professional-grade Text-to-Image (T2I) generation model. [Strengths] It delivers top-tier image quality with enhanced precision control over positions and elements, superior prompt adherence, and improved generation consistency for professional scenarios. [Best For] Highly recommended for: professional design assets, high-fidelity photorealistic imagery, precisely controlled compositions, and brand or commercial visuals where quality matters most. [Limitations] Do NOT use this model for batch image generation or streaming output; it generates exactly one image per request and supports up to 2K resolution (no 3K/4K). [Routing] Choose this Pro model when the user emphasizes ultimate quality or precision. Choose Seedream 5.0 Lite when real-time web knowledge, batch generation, or 3K resolution is needed. To edit an existing image use Seedream 5.0 Pro Edit; to blend multiple reference images use Seedream 5.0 Pro Multi-Reference.
- alibaba/qwen-image-3.0-pro: [Core Function] Qwen Image 3.0 Pro is Alibaba’s latest text-to-image model with strong prompt following and photorealism. [Strengths] It supports free-form output size (widthheight), optional negative prompts, intelligent prompt rewrite, batch generation of 1-6 images, and long structured prompts for complex layouts. [Best For] Highly recommended for: photorealistic stills, marketing posters with readable text, detailed scene compositions, multi-panel layouts, product hero shots, and multi-variant creative exploration (n up to 6). [Limitations] Do NOT use this if the user needs native 4K output, thinking-mode reasoning, or image editing with reference images (use Qwen Image 3.0 Pro Edit for edits). Keep total pixels within 512512 to 2048*2048. Very long prompts combined with a long negative_prompt may exceed the model input capacity (about 4.5k tokens total). [Routing] Prefer this over Qwen Image 2.0 Pro for new Qwen Image text-to-image work. If the user provides reference image(s) to edit, route to Qwen Image 3.0 Pro Edit instead.
- bytedance/seedream-5.0-lite: [Core Function] Seedream 5.0 Lite is a smart, reasoning-enhanced image generation model with real-time web search capabilities. [Strengths] It excels at generating time-sensitive imagery, infographics, and content requiring deep world knowledge or online search, boasting superior prompt understanding and reasoning. [Best For] Highly recommended for: current-event posters, text-heavy designs, and concept art requiring complex logical reasoning. [Limitations] As a ‘Lite’ model, its absolute photorealistic aesthetic ceiling might be slightly lower than the specialized 4.5 model. [Routing] Use this model by default when the user needs real-time information, deep reasoning, or complex intent understanding in their image.








