属性
系列
集合
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| prompt | Description of the desired edits, supports up to 32,000 characters | string | 是 | - |
| images | Input image URL(s) to edit. Direct HTTPS URLs as string array. Supports up to 16 images for GPT Image models | string[] | 是 | - |
| mask | Optional mask URL. Must be PNG with alpha channel; dimensions must match the input image exactly. Transparent areas are edited, opaque areas locked, semi-transparent areas blend with the original. | string | 否 | - |
| quality | Output quality level. ‘low’: fast draft (default), ‘medium’: balanced, ‘high’: best quality | string | 否 | low, medium, high |
| size | Output size as width x height, or ‘auto’ for model-selected size. Presets are valid under OpenAI constraints (total pixels 655360-8294400, edges multiples of 16). Mapping: 1:1 1K/2K; 3:2 1K/2K; 2:3 1K/2K; 4:3 1K/2K; 3:4 1K/2K; 16:9 2K/4K; 9:16 2K/4K. No 1K for 16:9/9:16; no 4K for non-widescreen ratios. | string | 否 | auto, 1024x1024, 2048x2048, 1536x1024, 3072x2048, 1024x1536, 2048x3072, 1024x768, 2048x1536, 768x1024, 1536x2048, 2048x1152, 3840x2160, 1152x2048, 2160x3840 |
价格
单位: $/img
| 维度 | 价格 |
|---|---|
| quality: low / size: auto | 0.0149 |
| quality: medium / size: auto | 0.0851 |
| quality: high / size: auto | 0.3220 |
| quality: low / size: 1024x1024 | 0.0135 |
| quality: medium / size: 1024x1024 | 0.0565 |
| quality: high / size: 1024x1024 | 0.2018 |
| quality: low / size: 2048x2048 | 0.0190 |
| quality: medium / size: 2048x2048 | 0.1065 |
| quality: high / size: 2048x2048 | 0.4019 |
| quality: low / size: 1536x1024 | 0.0123 |
| quality: medium / size: 1536x1024 | 0.0459 |
| quality: high / size: 1536x1024 | 0.1595 |
| quality: low / size: 3072x2048 | 0.0181 |
| quality: medium / size: 3072x2048 | 0.0959 |
| quality: high / size: 3072x2048 | 0.3595 |
| quality: low / size: 1024x1536 | 0.0123 |
| quality: medium / size: 1024x1536 | 0.0459 |
| quality: high / size: 1024x1536 | 0.1595 |
| quality: low / size: 2048x3072 | 0.0181 |
| quality: medium / size: 2048x3072 | 0.0959 |
| quality: high / size: 2048x3072 | 0.3595 |
| quality: low / size: 1024x768 | 0.0117 |
| quality: medium / size: 1024x768 | 0.0412 |
| quality: high / size: 1024x768 | 0.1409 |
| quality: low / size: 2048x1536 | 0.0148 |
| quality: medium / size: 2048x1536 | 0.0693 |
| quality: high / size: 2048x1536 | 0.2535 |
| quality: low / size: 768x1024 | 0.0117 |
| quality: medium / size: 768x1024 | 0.0412 |
| quality: high / size: 768x1024 | 0.1409 |
| quality: low / size: 1536x2048 | 0.0148 |
| quality: medium / size: 1536x2048 | 0.0693 |
| quality: high / size: 1536x2048 | 0.2535 |
| quality: low / size: 2048x1152 | 0.0123 |
| quality: medium / size: 2048x1152 | 0.0470 |
| quality: high / size: 2048x1152 | 0.1640 |
| quality: low / size: 3840x2160 | 0.0183 |
| quality: medium / size: 3840x2160 | 0.1000 |
| quality: high / size: 3840x2160 | 0.3763 |
| quality: low / size: 1152x2048 | 0.0123 |
| quality: medium / size: 1152x2048 | 0.0470 |
| quality: high / size: 1152x2048 | 0.1640 |
| quality: low / size: 2160x3840 | 0.0183 |
| quality: medium / size: 2160x3840 | 0.1000 |
| quality: high / size: 2160x3840 | 0.3763 |
相关模型
- openai/gpt-image-1.5: [Core Function] GPT Image 1.5 is a versatile text-to-image generation model. [Strengths] It balances solid visual performance with crucial utility features, notably its native support for generating images with transparent backgrounds. [Best For] Highly recommended for: creating UI icons, standalone logos, game assets, and any graphic design elements that require a transparent background. [Limitations] Do NOT use this model if you need 2K or 4K resolution. Its maximum supported resolution is 1536x1024. [Routing] Choose this model specifically when the user asks for ‘transparent background’, ‘no background’, or ‘PNG icon’. For standard, high-fidelity, or 4K image generation, use GPT Image 2 instead.
- openai/gpt-image-1.5-edit: [Core Function] GPT Image 1.5 Edit is a versatile image-to-image editing and merging model. [Strengths] It excels at complex utility editing tasks, including multi-image merging (up to 16 images), transparent background support, and precise control over how strictly the model adheres to the input image (fidelity control). [Best For] Highly recommended for: merging reference images, editing UI assets, generating variations with strict shape preservation, and creating transparent cutouts. [Limitations] Do NOT use this model if you require 2K or 4K high-resolution outputs, as it is limited to standard resolutions. [Routing] Use this model specifically when the user provides multiple images to combine, requires transparency, or explicitly asks to ‘keep the exact shape’ of the original image (fidelity control). Otherwise, use GPT Image 2 Edit.
- 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. - google/nano-banana-pro-edit: [Core Function] Nano Banana Pro Edit is a high-capability creative image editing model. [Strengths] It provides high-quality creative edits, background replacements, and style transformations. [Best For] Highly recommended for: detailed creative modifications and complex style transfers. [Limitations] Do NOT use for strict photorealistic restoration. [Routing] Use this model for detailed, high-quality creative edits.
- google/nano-banana-2-edit: [Core Function] Nano Banana 2 Edit is a high-speed image editing model. [Strengths] It rapidly modifies existing images or extracts image frames from videos based on text prompts. [Best For] Highly recommended for: rapid style transfer, quick image modifications, and fast creative edits. [Limitations] Do NOT use this model for meticulous photorealistic retouching. [Routing] Use this model by default for fast, creative image editing tasks.
- bytedance/seedream-5.0-lite-edit: [Core Function] Seedream 5.0 Lite Edit is a reasoning-enhanced, smart image editing model. [Strengths] It features superior cross-modal understanding and reasoning, allowing for highly accurate, interactive multi-turn image editing with real-time knowledge enhancement. [Best For] Highly recommended for: complex image editing tasks, structural modifications, and edits requiring deep semantic understanding. [Limitations] As a ‘Lite’ model, raw visual rendering might not match the 4.5 tier. [Routing] Use this model by default for complex, reasoning-based image editing tasks.
- kling/kling-v3-i2i: [Core Function] Kling V3 I2I is the flagship image-to-image editing model (POST /images/generations, model_name=kling-v3 with image). [Strengths] High-quality style transfer and editing up to 2K. [Best For] Single-reference image editing. [Limitations] Do NOT send negative_prompt when image is present (officially unsupported). No image_fidelity / image_reference on V3. For multi-image fusion or series, use kling-v3-omni-image. [Routing] Default for standard image-to-image.
- xai/grok-imagine-image-quality-edit: [Core Function] Grok Imagine Image Edit (Quality) is xAI’s high-fidelity image editing model. [Strengths] It excels at applying detailed, prompt-guided edits and style transformations to one or more source images while preserving fine detail. [Best For] Highly recommended for: high-quality restyling, detailed inpainting-style edits, and combining up to 3 source images. [Limitations] Do NOT use this model when latency is critical, as it is slower than the standard edit variant; a maximum of 3 source images is supported. [Routing] Use this model by default for quality-sensitive edits. For faster edits, route to Grok Imagine Image Edit (standard).
- kling/kling-v3-omni-image: [Core Function] Kling V3 Omni Image is a unified multimodal image generation endpoint (POST /images/omni-image). [Strengths] Multi-image reference, up to 4K, and optional series generation via result_type/series_amount. Use <<<image_N>>> placeholders in prompt. [Best For] Character consistency, fusing multiple reference images, and comic/storyboard series. [Limitations] Element library IDs are not exposed. Default aspect_ratio is 1:1 when omitted. [Routing] Prefer for multi-image fusion or series; use kling-v3-t2i/i2i for standard single-shot generation.
- alibaba/wan2.7-image-pro-edit: [Core Function] Wan 2.7 Image Pro Edit is Alibaba’s flagship reasoning-enhanced image editing model. [Strengths] It supports interactive editing, character-consistent multi-image generation, and complex multi-reference modifications with deep reasoning. [Best For] Highly recommended for: professional image retouching, consistent character sheets, and complex structural edits. [Limitations] Do NOT use this model if you specifically need to use negative prompts to exclude elements during editing (use Qwen Image 2.0 Pro Edit instead). [Routing] Use this by default for high-end image editing and multi-reference consistent character generation.
- 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.







